Package squidpony.squidmath
Class IntIntOrderedMap.MapEntrySet
java.lang.Object
squidpony.squidmath.IntIntOrderedMap.MapEntrySet
- All Implemented Interfaces:
Serializable
,Cloneable
,Iterable<IntIntOrderedMap.MapEntry>
,Collection<IntIntOrderedMap.MapEntry>
,Set<IntIntOrderedMap.MapEntry>
,SortedSet<IntIntOrderedMap.MapEntry>
- Enclosing class:
- IntIntOrderedMap
public final class IntIntOrderedMap.MapEntrySet extends Object implements Cloneable, SortedSet<IntIntOrderedMap.MapEntry>, Set<IntIntOrderedMap.MapEntry>, Serializable
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description MapEntrySet()
-
Method Summary
-
Constructor Details
-
MapEntrySet
public MapEntrySet()
-
-
Method Details
-
iterator
- Specified by:
iterator
in interfaceCollection<IntIntOrderedMap.MapEntry>
- Specified by:
iterator
in interfaceIterable<IntIntOrderedMap.MapEntry>
- Specified by:
iterator
in interfaceSet<IntIntOrderedMap.MapEntry>
-
comparator
- Specified by:
comparator
in interfaceSortedSet<IntIntOrderedMap.MapEntry>
-
subSet
public SortedSet<IntIntOrderedMap.MapEntry> subSet(IntIntOrderedMap.MapEntry fromElement, IntIntOrderedMap.MapEntry toElement)- Specified by:
subSet
in interfaceSortedSet<IntIntOrderedMap.MapEntry>
-
headSet
- Specified by:
headSet
in interfaceSortedSet<IntIntOrderedMap.MapEntry>
-
tailSet
- Specified by:
tailSet
in interfaceSortedSet<IntIntOrderedMap.MapEntry>
-
first
- Specified by:
first
in interfaceSortedSet<IntIntOrderedMap.MapEntry>
-
last
- Specified by:
last
in interfaceSortedSet<IntIntOrderedMap.MapEntry>
-
contains
- Specified by:
contains
in interfaceCollection<IntIntOrderedMap.MapEntry>
- Specified by:
contains
in interfaceSet<IntIntOrderedMap.MapEntry>
-
remove
- Specified by:
remove
in interfaceCollection<IntIntOrderedMap.MapEntry>
- Specified by:
remove
in interfaceSet<IntIntOrderedMap.MapEntry>
-
size
- Specified by:
size
in interfaceCollection<IntIntOrderedMap.MapEntry>
- Specified by:
size
in interfaceSet<IntIntOrderedMap.MapEntry>
-
clear
- Specified by:
clear
in interfaceCollection<IntIntOrderedMap.MapEntry>
- Specified by:
clear
in interfaceSet<IntIntOrderedMap.MapEntry>
-
fastIterator
-
equals
- Specified by:
equals
in interfaceCollection<IntIntOrderedMap.MapEntry>
- Specified by:
equals
in interfaceSet<IntIntOrderedMap.MapEntry>
- Overrides:
equals
in classObject
-
toArray
- Specified by:
toArray
in interfaceCollection<IntIntOrderedMap.MapEntry>
- Specified by:
toArray
in interfaceSet<IntIntOrderedMap.MapEntry>
-
toArray
- Specified by:
toArray
in interfaceCollection<IntIntOrderedMap.MapEntry>
- Specified by:
toArray
in interfaceSet<IntIntOrderedMap.MapEntry>
-
addAll
Unsupported.- Specified by:
addAll
in interfaceCollection<IntIntOrderedMap.MapEntry>
- Specified by:
addAll
in interfaceSet<IntIntOrderedMap.MapEntry>
- Parameters:
c
- ignored- Returns:
- nothing, throws UnsupportedOperationException
- Throws:
UnsupportedOperationException
- always
-
add
Unsupported.- Specified by:
add
in interfaceCollection<IntIntOrderedMap.MapEntry>
- Specified by:
add
in interfaceSet<IntIntOrderedMap.MapEntry>
- Parameters:
k
- ignored- Returns:
- nothing, throws UnsupportedOperationException
- Throws:
UnsupportedOperationException
- always
-
containsAll
Checks whether this collection contains all elements from the given collection.- Specified by:
containsAll
in interfaceCollection<IntIntOrderedMap.MapEntry>
- Specified by:
containsAll
in interfaceSet<IntIntOrderedMap.MapEntry>
- Parameters:
c
- a collection.- Returns:
true
if this collection contains all elements of the argument.
-
retainAll
Retains in this collection only elements from the given collection.- Specified by:
retainAll
in interfaceCollection<IntIntOrderedMap.MapEntry>
- Specified by:
retainAll
in interfaceSet<IntIntOrderedMap.MapEntry>
- Parameters:
c
- a collection.- Returns:
true
if this collection changed as a result of the call.
-
removeAll
Remove from this collection all elements in the given collection. If the collection is an instance of this class, it uses faster iterators.- Specified by:
removeAll
in interfaceCollection<IntIntOrderedMap.MapEntry>
- Specified by:
removeAll
in interfaceSet<IntIntOrderedMap.MapEntry>
- Parameters:
c
- a collection.- Returns:
true
if this collection changed as a result of the call.
-
isEmpty
- Specified by:
isEmpty
in interfaceCollection<IntIntOrderedMap.MapEntry>
- Specified by:
isEmpty
in interfaceSet<IntIntOrderedMap.MapEntry>
-
toString
-