abstract class IncidentEdgeSet<N> extends java.util.AbstractSet<EndpointPair<N>>
AbstractCollection.iterator()
.Modifier and Type | Field and Description |
---|---|
(package private) BaseGraph<N> |
graph |
(package private) N |
node |
Constructor and Description |
---|
IncidentEdgeSet(BaseGraph<N> graph,
N node) |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(java.lang.Object obj) |
boolean |
remove(java.lang.Object o) |
int |
size() |
add, addAll, clear, containsAll, isEmpty, iterator, retainAll, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public boolean remove(@CheckForNull java.lang.Object o)
remove
in interface java.util.Collection<EndpointPair<N>>
remove
in interface java.util.Set<EndpointPair<N>>
remove
in class java.util.AbstractCollection<EndpointPair<N>>
public int size()
size
in interface java.util.Collection<EndpointPair<N>>
size
in interface java.util.Set<EndpointPair<N>>
size
in class java.util.AbstractCollection<EndpointPair<N>>
public boolean contains(@CheckForNull java.lang.Object obj)
contains
in interface java.util.Collection<EndpointPair<N>>
contains
in interface java.util.Set<EndpointPair<N>>
contains
in class java.util.AbstractCollection<EndpointPair<N>>