Package com.google.protobuf
Class SmallSortedMap.EntrySet
- All Implemented Interfaces:
Iterable<Map.Entry<K,
,V>> Collection<Map.Entry<K,
,V>> Set<Map.Entry<K,
V>>
- Direct Known Subclasses:
SmallSortedMap.DescendingEntrySet
- Enclosing class:
SmallSortedMap<K extends Comparable<K>,
V>
Stateless view of the entries in the field map.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
void
clear()
boolean
Throws aClassCastException
if o is not of the expected type.iterator()
boolean
Throws aClassCastException
if o is not of the expected type.int
size()
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAll
Methods inherited from class java.util.AbstractCollection
addAll, containsAll, isEmpty, 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.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface java.util.Set
addAll, containsAll, isEmpty, retainAll, spliterator, toArray, toArray
-
Constructor Details
-
EntrySet
private EntrySet()
-
-
Method Details
-
iterator
- Specified by:
iterator
in interfaceCollection<Map.Entry<K extends Comparable<K>,
V>> - Specified by:
iterator
in interfaceIterable<Map.Entry<K extends Comparable<K>,
V>> - Specified by:
iterator
in interfaceSet<Map.Entry<K extends Comparable<K>,
V>> - Specified by:
iterator
in classAbstractCollection<Map.Entry<K extends Comparable<K>,
V>>
-
size
public int size()- Specified by:
size
in interfaceCollection<Map.Entry<K extends Comparable<K>,
V>> - Specified by:
size
in interfaceSet<Map.Entry<K extends Comparable<K>,
V>> - Specified by:
size
in classAbstractCollection<Map.Entry<K extends Comparable<K>,
V>>
-
contains
Throws aClassCastException
if o is not of the expected type.- Specified by:
contains
in interfaceCollection<Map.Entry<K extends Comparable<K>,
V>> - Specified by:
contains
in interfaceSet<Map.Entry<K extends Comparable<K>,
V>> - Overrides:
contains
in classAbstractCollection<Map.Entry<K extends Comparable<K>,
V>>
-
add
- Specified by:
add
in interfaceCollection<Map.Entry<K extends Comparable<K>,
V>> - Specified by:
add
in interfaceSet<Map.Entry<K extends Comparable<K>,
V>> - Overrides:
add
in classAbstractCollection<Map.Entry<K extends Comparable<K>,
V>>
-
remove
Throws aClassCastException
if o is not of the expected type.- Specified by:
remove
in interfaceCollection<Map.Entry<K extends Comparable<K>,
V>> - Specified by:
remove
in interfaceSet<Map.Entry<K extends Comparable<K>,
V>> - Overrides:
remove
in classAbstractCollection<Map.Entry<K extends Comparable<K>,
V>>
-
clear
public void clear()- Specified by:
clear
in interfaceCollection<Map.Entry<K extends Comparable<K>,
V>> - Specified by:
clear
in interfaceSet<Map.Entry<K extends Comparable<K>,
V>> - Overrides:
clear
in classAbstractCollection<Map.Entry<K extends Comparable<K>,
V>>
-