|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.unimi.dsi.fastutil.ints.AbstractIntCollection
it.unimi.dsi.fastutil.ints.AbstractIntSet
it.unimi.dsi.fastutil.ints.AbstractIntSortedSet
public abstract class AbstractIntSortedSet
An abstract class providing basic methods for sorted sets implementing a type-specific interface.
Method Summary | |
---|---|
Integer |
first()
Delegates to the corresponding type-specific method. |
IntSortedSet |
headSet(Integer to)
Delegates to the corresponding type-specific method. |
IntBidirectionalIterator |
intIterator()
Deprecated. |
abstract IntBidirectionalIterator |
iterator()
Returns a type-specific iterator on the elements of this collection. |
Integer |
last()
Delegates to the corresponding type-specific method. |
IntSortedSet |
subSet(Integer from,
Integer to)
Delegates to the corresponding type-specific method. |
IntSortedSet |
tailSet(Integer from)
Delegates to the corresponding type-specific method. |
Methods inherited from class it.unimi.dsi.fastutil.ints.AbstractIntSet |
---|
equals, hashCode, rem, remove, remove |
Methods inherited from class it.unimi.dsi.fastutil.ints.AbstractIntCollection |
---|
add, add, addAll, addAll, clear, contains, containsAll, containsAll, isEmpty, rem, removeAll, removeAll, retainAll, retainAll, toArray, toArray, toArray, toIntArray, toIntArray, toString |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface it.unimi.dsi.fastutil.ints.IntSortedSet |
---|
comparator, firstInt, headSet, iterator, lastInt, subSet, tailSet |
Methods inherited from interface it.unimi.dsi.fastutil.ints.IntSet |
---|
remove |
Methods inherited from interface it.unimi.dsi.fastutil.ints.IntCollection |
---|
add, addAll, contains, containsAll, rem, removeAll, retainAll, toArray, toArray, toIntArray, toIntArray |
Methods inherited from interface java.util.Set |
---|
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, remove, removeAll, retainAll, size, toArray, toArray |
Methods inherited from interface java.util.Set |
---|
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, remove, removeAll, retainAll, size, toArray, toArray |
Method Detail |
---|
public IntSortedSet headSet(Integer to)
headSet
in interface IntSortedSet
headSet
in interface SortedSet<Integer>
SortedSet.headSet(Object)
public IntSortedSet tailSet(Integer from)
tailSet
in interface IntSortedSet
tailSet
in interface SortedSet<Integer>
SortedSet.tailSet(Object)
public IntSortedSet subSet(Integer from, Integer to)
subSet
in interface IntSortedSet
subSet
in interface SortedSet<Integer>
SortedSet.subSet(Object,Object)
public Integer first()
first
in interface SortedSet<Integer>
public Integer last()
last
in interface SortedSet<Integer>
@Deprecated public IntBidirectionalIterator intIterator()
intIterator
in interface IntCollection
intIterator
in interface IntSortedSet
intIterator
in class AbstractIntCollection
IntCollection.iterator()
public abstract IntBidirectionalIterator iterator()
IntCollection
Note that this specification strengthens the one given in
Iterable.iterator()
, which was already
strengthened in the corresponding type-specific class,
but was weakened by the fact that this interface extends Collection
.
iterator
in interface IntCollection
iterator
in interface IntIterable
iterator
in interface IntSet
iterator
in interface IntSortedSet
iterator
in interface Iterable<Integer>
iterator
in interface Collection<Integer>
iterator
in interface Set<Integer>
iterator
in class AbstractIntSet
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |