public static class RecordingResponse.AnchorMap extends Object
This class is consistent with Guava's LinkedListMultimap,
although it does not extend that class, or implement the
ListMultimap interface or all of its methods.
| Modifier and Type | Method and Description |
|---|---|
List<Map.Entry<String,URI>> |
entries()
Gets an unmodifiable list of the anchors.
|
List<URI> |
get(String text)
Gets an unmodifiable list of the accumulated anchor URIs
that match the given text.
|
boolean |
isEmpty() |
List<String> |
keyList()
Gets an unmodifiable list of the anchor texts.
|
Set<String> |
keySet()
Gets an unmodifiable set of the unique anchor texts.
|
int |
size() |
String |
toString() |
public boolean isEmpty()
public int size()
public List<Map.Entry<String,URI>> entries()
null. The keys (anchor texts) may be null.
The values (anchor URIs) will not be null.public List<String> keyList()
public Set<String> keySet()
null.public List<URI> get(String text)
null. The
list is in insertion order, and may be empty, but will
never be null. The URIs will not be null.text - the anchor text to get the URIs for