Package org.geotools.util
Class PartiallyOrderedSet<E>
- Object
-
- AbstractCollection<E>
-
- AbstractSet<E>
-
- PartiallyOrderedSet<E>
-
- All Implemented Interfaces:
Iterable<E>
,Collection<E>
,Set<E>
public class PartiallyOrderedSet<E> extends AbstractSet<E>
Set of elements having a partial order, established by setting before/after relationship callingsetOrder(Object, Object)
- Author:
- Andrea Aime
-
-
Constructor Summary
Constructors Constructor Description PartiallyOrderedSet()
PartiallyOrderedSet(boolean throwOnCycle)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-