Class TreeBidiMap.View<E>
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractSet<E>
-
- org.apache.commons.collections4.bidimap.TreeBidiMap.View<E>
-
- All Implemented Interfaces:
java.lang.Iterable<E>
,java.util.Collection<E>
,java.util.Set<E>
- Direct Known Subclasses:
TreeBidiMap.EntryView
,TreeBidiMap.InverseEntryView
,TreeBidiMap.KeyView
,TreeBidiMap.ValueView
- Enclosing class:
- TreeBidiMap<K extends java.lang.Comparable<K>,V extends java.lang.Comparable<V>>
abstract class TreeBidiMap.View<E> extends java.util.AbstractSet<E>
A view of this map.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) TreeBidiMap.DataElement
orderType
Whether to return KEY or VALUE order.
-
Constructor Summary
Constructors Constructor Description View(TreeBidiMap.DataElement orderType)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
int
size()
-
Methods inherited from class java.util.AbstractCollection
add, addAll, contains, containsAll, isEmpty, iterator, remove, retainAll, toArray, toArray, toString
-
-
-
-
Field Detail
-
orderType
final TreeBidiMap.DataElement orderType
Whether to return KEY or VALUE order.
-
-
Constructor Detail
-
View
View(TreeBidiMap.DataElement orderType)
Constructor.- Parameters:
orderType
- the KEY or VALUE int for the order
-
-