Package it.unimi.dsi.fastutil.ints
Class AbstractInt2BooleanSortedMap.KeySet
java.lang.Object
java.util.AbstractCollection<Integer>
it.unimi.dsi.fastutil.ints.AbstractIntCollection
it.unimi.dsi.fastutil.ints.AbstractIntSet
it.unimi.dsi.fastutil.ints.AbstractIntSortedSet
it.unimi.dsi.fastutil.ints.AbstractInt2BooleanSortedMap.KeySet
- All Implemented Interfaces:
it.unimi.dsi.fastutil.ints.IntBidirectionalIterable,it.unimi.dsi.fastutil.ints.IntCollection,it.unimi.dsi.fastutil.ints.IntIterable,it.unimi.dsi.fastutil.ints.IntSet,it.unimi.dsi.fastutil.ints.IntSortedSet,Cloneable,Iterable<Integer>,Collection<Integer>,SequencedCollection<Integer>,SequencedSet<Integer>,Set<Integer>,SortedSet<Integer>
- Enclosing class:
AbstractInt2BooleanSortedMap
protected class AbstractInt2BooleanSortedMap.KeySet
extends it.unimi.dsi.fastutil.ints.AbstractIntSortedSet
A wrapper exhibiting the keys of a map.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()it.unimi.dsi.fastutil.ints.IntComparatorbooleancontains(int k) intfirstInt()it.unimi.dsi.fastutil.ints.IntSortedSetheadSet(int to) it.unimi.dsi.fastutil.ints.IntBidirectionalIteratoriterator()it.unimi.dsi.fastutil.ints.IntBidirectionalIteratoriterator(int from) intlastInt()intsize()it.unimi.dsi.fastutil.ints.IntSortedSetsubSet(int from, int to) it.unimi.dsi.fastutil.ints.IntSortedSettailSet(int from) Methods inherited from class it.unimi.dsi.fastutil.ints.AbstractIntSet
equals, hashCode, rem, removeMethods inherited from class it.unimi.dsi.fastutil.ints.AbstractIntCollection
add, add, addAll, addAll, contains, containsAll, containsAll, forEach, remove, removeAll, removeAll, removeIf, retainAll, retainAll, toArray, toIntArray, toIntArray, toStringMethods inherited from class java.util.AbstractCollection
isEmpty, toArray, toArrayMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
toArrayMethods inherited from interface it.unimi.dsi.fastutil.ints.IntCollection
add, addAll, containsAll, intIterator, intParallelStream, intSpliterator, intStream, parallelStream, removeAll, removeIf, removeIf, removeIf, retainAll, stream, toArray, toIntArray, toIntArrayMethods inherited from interface it.unimi.dsi.fastutil.ints.IntIterable
forEach, forEach, forEachMethods inherited from interface it.unimi.dsi.fastutil.ints.IntSet
add, contains, rem, remove, removeMethods inherited from interface it.unimi.dsi.fastutil.ints.IntSortedSet
first, headSet, last, spliterator, subSet, tailSetMethods inherited from interface java.util.Set
add, addAll, contains, containsAll, equals, hashCode, isEmpty, remove, removeAll, retainAll, toArray, toArrayMethods inherited from interface java.util.SortedSet
addFirst, addLast, getFirst, getLast, removeFirst, removeLast, reversed
-
Constructor Details
-
KeySet
protected KeySet()
-
-
Method Details
-
contains
public boolean contains(int k) - Specified by:
containsin interfaceit.unimi.dsi.fastutil.ints.IntCollection- Overrides:
containsin classit.unimi.dsi.fastutil.ints.AbstractIntCollection
-
size
public int size()- Specified by:
sizein interfaceCollection<Integer>- Specified by:
sizein interfaceSet<Integer>- Specified by:
sizein classAbstractCollection<Integer>
-
clear
public void clear()- Specified by:
clearin interfaceCollection<Integer>- Specified by:
clearin interfaceSet<Integer>- Overrides:
clearin classAbstractCollection<Integer>
-
comparator
public it.unimi.dsi.fastutil.ints.IntComparator comparator() -
firstInt
public int firstInt() -
lastInt
public int lastInt() -
headSet
public it.unimi.dsi.fastutil.ints.IntSortedSet headSet(int to) -
tailSet
public it.unimi.dsi.fastutil.ints.IntSortedSet tailSet(int from) -
subSet
public it.unimi.dsi.fastutil.ints.IntSortedSet subSet(int from, int to) -
iterator
public it.unimi.dsi.fastutil.ints.IntBidirectionalIterator iterator(int from) -
iterator
public it.unimi.dsi.fastutil.ints.IntBidirectionalIterator iterator()- Specified by:
iteratorin interfaceCollection<Integer>- Specified by:
iteratorin interfaceit.unimi.dsi.fastutil.ints.IntBidirectionalIterable- Specified by:
iteratorin interfaceit.unimi.dsi.fastutil.ints.IntCollection- Specified by:
iteratorin interfaceit.unimi.dsi.fastutil.ints.IntIterable- Specified by:
iteratorin interfaceit.unimi.dsi.fastutil.ints.IntSet- Specified by:
iteratorin interfaceit.unimi.dsi.fastutil.ints.IntSortedSet- Specified by:
iteratorin interfaceIterable<Integer>- Specified by:
iteratorin interfaceSet<Integer>- Specified by:
iteratorin classit.unimi.dsi.fastutil.ints.AbstractIntSortedSet
-