public class StandardIntegerSet extends Object implements IntegerSet
Constructor and Description |
---|
StandardIntegerSet() |
StandardIntegerSet(int initialCapacity) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(int val) |
boolean |
contains(int val) |
boolean |
isEmpty() |
int |
size() |
int[] |
toArray() |
public StandardIntegerSet()
public StandardIntegerSet(int initialCapacity)
public boolean isEmpty()
isEmpty
in interface IntegerSet
public int size()
size
in interface IntegerSet
public boolean contains(int val)
contains
in interface IntegerSet
public boolean add(int val)
add
in interface IntegerSet
public int[] toArray()
toArray
in interface IntegerSet
Copyright © GigaSpaces.