public class PartiallyOrderedSet<E> extends AbstractSet<E>
setOrder(Object, Object)
Constructor and Description |
---|
PartiallyOrderedSet() |
PartiallyOrderedSet(boolean throwOnCycle) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(E e) |
boolean |
clearOrder(E source,
E target) |
Iterator<E> |
iterator() |
boolean |
remove(Object o) |
boolean |
setOrder(E source,
E target) |
int |
size() |
equals, hashCode, removeAll
addAll, clear, contains, containsAll, isEmpty, retainAll, toArray, toArray, toString
addAll, clear, contains, containsAll, isEmpty, retainAll, spliterator, toArray, toArray
parallelStream, removeIf, stream
public PartiallyOrderedSet(boolean throwOnCycle)
public PartiallyOrderedSet()
public boolean add(E e)
add
in interface Collection<E>
add
in interface Set<E>
add
in class AbstractCollection<E>
public boolean remove(Object o)
remove
in interface Collection<E>
remove
in interface Set<E>
remove
in class AbstractCollection<E>
public int size()
size
in interface Collection<E>
size
in interface Set<E>
size
in class AbstractCollection<E>
Copyright © 1996–2019 Geotools. All rights reserved.