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 TypeMethodDescriptionbooleanvoidclear()booleanThrows aClassCastExceptionif o is not of the expected type.iterator()booleanThrows aClassCastExceptionif o is not of the expected type.intsize()Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAllMethods inherited from class java.util.AbstractCollection
addAll, containsAll, isEmpty, retainAll, toArray, toArray, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.Set
addAll, containsAll, isEmpty, retainAll, spliterator, toArray, toArray
-
Constructor Details
-
EntrySet
private EntrySet()
-
-
Method Details
-
iterator
- Specified by:
iteratorin interfaceCollection<Map.Entry<K extends Comparable<K>,V>> - Specified by:
iteratorin interfaceIterable<Map.Entry<K extends Comparable<K>,V>> - Specified by:
iteratorin interfaceSet<Map.Entry<K extends Comparable<K>,V>> - Specified by:
iteratorin classAbstractCollection<Map.Entry<K extends Comparable<K>,V>>
-
size
public int size()- Specified by:
sizein interfaceCollection<Map.Entry<K extends Comparable<K>,V>> - Specified by:
sizein interfaceSet<Map.Entry<K extends Comparable<K>,V>> - Specified by:
sizein classAbstractCollection<Map.Entry<K extends Comparable<K>,V>>
-
contains
Throws aClassCastExceptionif o is not of the expected type.- Specified by:
containsin interfaceCollection<Map.Entry<K extends Comparable<K>,V>> - Specified by:
containsin interfaceSet<Map.Entry<K extends Comparable<K>,V>> - Overrides:
containsin classAbstractCollection<Map.Entry<K extends Comparable<K>,V>>
-
add
- Specified by:
addin interfaceCollection<Map.Entry<K extends Comparable<K>,V>> - Specified by:
addin interfaceSet<Map.Entry<K extends Comparable<K>,V>> - Overrides:
addin classAbstractCollection<Map.Entry<K extends Comparable<K>,V>>
-
remove
Throws aClassCastExceptionif o is not of the expected type.- Specified by:
removein interfaceCollection<Map.Entry<K extends Comparable<K>,V>> - Specified by:
removein interfaceSet<Map.Entry<K extends Comparable<K>,V>> - Overrides:
removein classAbstractCollection<Map.Entry<K extends Comparable<K>,V>>
-
clear
public void clear()- Specified by:
clearin interfaceCollection<Map.Entry<K extends Comparable<K>,V>> - Specified by:
clearin interfaceSet<Map.Entry<K extends Comparable<K>,V>> - Overrides:
clearin classAbstractCollection<Map.Entry<K extends Comparable<K>,V>>
-