public class LinkSet
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
protected static class |
LinkSet.EndIterator
A wrapper around the iterator of the keyset of a Map
|
Constructor and Description |
---|
LinkSet(Link[] links)
Create a LinkSet from a set of
Link s. |
Modifier and Type | Method and Description |
---|---|
protected static void |
add(java.util.Map map,
Link.End key,
Link.End other)
Add a link to another in the map
|
java.util.Iterator |
FirstEndIterator()
Return an iterator for the first end
|
java.util.Iterator |
SecondEndIterator()
Return an iterator for the first end
|
protected static void add(java.util.Map map, Link.End key, Link.End other)
map
- map for linkskey
- link keyother
- other linkpublic java.util.Iterator FirstEndIterator()
public java.util.Iterator SecondEndIterator()