static class TreeBidiMap.View
extends java.util.AbstractSet
Modifier and Type | Field and Description |
---|---|
protected int |
dataType
Whether to return KEY, VALUE, MAPENTRY or INVERSEMAPENTRY data.
|
protected TreeBidiMap |
main
The parent map.
|
protected int |
orderType
Whether to return KEY or VALUE order.
|
Constructor and Description |
---|
View(TreeBidiMap main,
int orderType,
int dataType)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
contains(java.lang.Object obj) |
java.util.Iterator |
iterator() |
boolean |
remove(java.lang.Object obj) |
int |
size() |
add, addAll, containsAll, isEmpty, retainAll, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
protected final TreeBidiMap main
protected final int orderType
protected final int dataType
View(TreeBidiMap main, int orderType, int dataType)
main
- the main maporderType
- the KEY or VALUE int for the orderdataType
- the KEY, VALUE, MAPENTRY or INVERSEMAPENTRY intpublic java.util.Iterator iterator()
iterator
in interface java.lang.Iterable
iterator
in interface java.util.Collection
iterator
in interface java.util.Set
iterator
in class java.util.AbstractCollection
public int size()
size
in interface java.util.Collection
size
in interface java.util.Set
size
in class java.util.AbstractCollection
public boolean contains(java.lang.Object obj)
contains
in interface java.util.Collection
contains
in interface java.util.Set
contains
in class java.util.AbstractCollection
public boolean remove(java.lang.Object obj)
remove
in interface java.util.Collection
remove
in interface java.util.Set
remove
in class java.util.AbstractCollection
public void clear()
clear
in interface java.util.Collection
clear
in interface java.util.Set
clear
in class java.util.AbstractCollection