Package org.jgrapht.traverse
Interface CrossComponentIterator.SimpleContainer<T>
-
- Enclosing class:
- CrossComponentIterator<V,E,D>
static interface CrossComponentIterator.SimpleContainer<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidadd(T o)Adds the specified object to this container.booleanisEmpty()Tests if this container is empty.Tremove()Remove an object from this container and return it.
-
-
-
Method Detail
-
isEmpty
boolean isEmpty()
Tests if this container is empty.- Returns:
trueif empty, otherwisefalse.
-
add
void add(T o)
Adds the specified object to this container.- Parameters:
o- the object to be added.
-
remove
T remove()
Remove an object from this container and return it.- Returns:
- the object removed from this container.
-
-