|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<N>
prefuse.data.util.NeighborList<N,E>
public class NeighborList<N extends Node<N,E>,E extends Edge<N,E>>
Iterator over neighbors of a given Node. Resolves Edge instances to provide direct iteration over the Node instances.
| Field Summary |
|---|
| Fields inherited from class java.util.AbstractList |
|---|
modCount |
| Constructor Summary | |
|---|---|
NeighborList(N n,
java.util.List<E> edges)
Create a new NeighborIterator. |
|
| Method Summary | |
|---|---|
N |
get(int index)
|
int |
size()
|
| Methods inherited from class java.util.AbstractList |
|---|
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList |
| Methods inherited from class java.util.AbstractCollection |
|---|
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.List |
|---|
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray |
| Constructor Detail |
|---|
public NeighborList(N n,
java.util.List<E> edges)
n - the source nodeedges - the node edges to iterate over| Method Detail |
|---|
public N get(int index)
get in interface java.util.List<N extends Node<N,E>>get in class java.util.AbstractList<N extends Node<N,E>>public int size()
size in interface java.util.Collection<N extends Node<N,E>>size in interface java.util.List<N extends Node<N,E>>size in class java.util.AbstractCollection<N extends Node<N,E>>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||