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 void
add(T o)
Adds the specified object to this container.boolean
isEmpty()
Tests if this container is empty.T
remove()
Remove an object from this container and return it.
-
-
-
Method Detail
-
isEmpty
boolean isEmpty()
Tests if this container is empty.- Returns:
true
if 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.
-
-