Package squidpony.squidmath
Class IntDoubleOrderedMap.MapEntrySet
java.lang.Object
squidpony.squidmath.IntDoubleOrderedMap.MapEntrySet
- All Implemented Interfaces:
Serializable
,Cloneable
,Iterable<IntDoubleOrderedMap.MapEntry>
,Collection<IntDoubleOrderedMap.MapEntry>
,Set<IntDoubleOrderedMap.MapEntry>
,SortedSet<IntDoubleOrderedMap.MapEntry>
- Enclosing class:
- IntDoubleOrderedMap
public final class IntDoubleOrderedMap.MapEntrySet extends Object implements Cloneable, SortedSet<IntDoubleOrderedMap.MapEntry>, Set<IntDoubleOrderedMap.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<IntDoubleOrderedMap.MapEntry>
- Specified by:
iterator
in interfaceIterable<IntDoubleOrderedMap.MapEntry>
- Specified by:
iterator
in interfaceSet<IntDoubleOrderedMap.MapEntry>
-
comparator
- Specified by:
comparator
in interfaceSortedSet<IntDoubleOrderedMap.MapEntry>
-
subSet
public SortedSet<IntDoubleOrderedMap.MapEntry> subSet(IntDoubleOrderedMap.MapEntry fromElement, IntDoubleOrderedMap.MapEntry toElement)- Specified by:
subSet
in interfaceSortedSet<IntDoubleOrderedMap.MapEntry>
-
headSet
- Specified by:
headSet
in interfaceSortedSet<IntDoubleOrderedMap.MapEntry>
-
tailSet
- Specified by:
tailSet
in interfaceSortedSet<IntDoubleOrderedMap.MapEntry>
-
first
- Specified by:
first
in interfaceSortedSet<IntDoubleOrderedMap.MapEntry>
-
last
- Specified by:
last
in interfaceSortedSet<IntDoubleOrderedMap.MapEntry>
-
contains
- Specified by:
contains
in interfaceCollection<IntDoubleOrderedMap.MapEntry>
- Specified by:
contains
in interfaceSet<IntDoubleOrderedMap.MapEntry>
-
remove
- Specified by:
remove
in interfaceCollection<IntDoubleOrderedMap.MapEntry>
- Specified by:
remove
in interfaceSet<IntDoubleOrderedMap.MapEntry>
-
size
- Specified by:
size
in interfaceCollection<IntDoubleOrderedMap.MapEntry>
- Specified by:
size
in interfaceSet<IntDoubleOrderedMap.MapEntry>
-
clear
- Specified by:
clear
in interfaceCollection<IntDoubleOrderedMap.MapEntry>
- Specified by:
clear
in interfaceSet<IntDoubleOrderedMap.MapEntry>
-
fastIterator
-
equals
- Specified by:
equals
in interfaceCollection<IntDoubleOrderedMap.MapEntry>
- Specified by:
equals
in interfaceSet<IntDoubleOrderedMap.MapEntry>
- Overrides:
equals
in classObject
-
toArray
- Specified by:
toArray
in interfaceCollection<IntDoubleOrderedMap.MapEntry>
- Specified by:
toArray
in interfaceSet<IntDoubleOrderedMap.MapEntry>
-
toArray
- Specified by:
toArray
in interfaceCollection<IntDoubleOrderedMap.MapEntry>
- Specified by:
toArray
in interfaceSet<IntDoubleOrderedMap.MapEntry>
-
addAll
Unsupported.- Specified by:
addAll
in interfaceCollection<IntDoubleOrderedMap.MapEntry>
- Specified by:
addAll
in interfaceSet<IntDoubleOrderedMap.MapEntry>
- Parameters:
c
- ignored- Returns:
- nothing, throws UnsupportedOperationException
- Throws:
UnsupportedOperationException
- always
-
add
Unsupported.- Specified by:
add
in interfaceCollection<IntDoubleOrderedMap.MapEntry>
- Specified by:
add
in interfaceSet<IntDoubleOrderedMap.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<IntDoubleOrderedMap.MapEntry>
- Specified by:
containsAll
in interfaceSet<IntDoubleOrderedMap.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<IntDoubleOrderedMap.MapEntry>
- Specified by:
retainAll
in interfaceSet<IntDoubleOrderedMap.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<IntDoubleOrderedMap.MapEntry>
- Specified by:
removeAll
in interfaceSet<IntDoubleOrderedMap.MapEntry>
- Parameters:
c
- a collection.- Returns:
true
if this collection changed as a result of the call.
-
isEmpty
- Specified by:
isEmpty
in interfaceCollection<IntDoubleOrderedMap.MapEntry>
- Specified by:
isEmpty
in interfaceSet<IntDoubleOrderedMap.MapEntry>
-
toString
-