public abstract class AbstractIntSet extends Object implements IntSet
IntSet
interface to minimize the effort required to implement this interface.IntSet.IntIterator
Constructor and Description |
---|
AbstractIntSet() |
Modifier and Type | Method and Description |
---|---|
abstract IntSet |
clone()
See the
clone() of Object |
int |
compareTo(IntSet o) |
abstract IntSet.IntIterator |
descendingIterator() |
boolean |
equals(Object obj) |
int |
hashCode() |
abstract boolean |
isEmpty() |
abstract IntSet.IntIterator |
iterator() |
abstract int |
size() |
String |
toString() |
public abstract IntSet.IntIterator iterator()
iterator
in interface IntSet
IntSet.IntIterator
instance to iterate over the setpublic abstract IntSet.IntIterator descendingIterator()
descendingIterator
in interface IntSet
IntSet.IntIterator
instance to iterate over the set in
descending orderpublic abstract int size()
public abstract boolean isEmpty()
public int compareTo(IntSet o)
compareTo
in interface Comparable<IntSet>
Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.