| Modifier and Type | Field and Description | 
|---|---|
| static int | MAX_CAPACITYMaximum supported capacity | 
| Constructor and Description | 
|---|
| IntHashSet(int capacity,
          int missingValue) | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | add(int value)Primitive specialised overload of {this#add(Integer)} | 
| boolean | add(Integer value) | 
| boolean | addAll(Collection<? extends Integer> coll) | 
| void | clear() | 
| boolean | contains(int value) | 
| boolean | contains(Object value) | 
| boolean | containsAll(Collection<?> coll) | 
| boolean | containsAll(IntHashSet other)IntHashSet specialised variant of {this#containsAll(Collection)}. | 
| void | copy(IntHashSet obj) | 
| IntHashSet | difference(IntHashSet collection)Fast Path set difference for comparison with another IntHashSet. | 
| boolean | equals(Object other) | 
| int | hashCode() | 
| boolean | isEmpty() | 
| IntIterator | iterator() | 
| boolean | remove(int value)An int specialised version of {this#remove(Object)}. | 
| boolean | remove(Object value) | 
| boolean | removeAll(Collection<?> coll) | 
| boolean | retainAll(Collection<?> coll) | 
| int | size() | 
| Object[] | toArray() | 
| <T> T[] | toArray(T[] into) | 
| String | toString() | 
public static final int MAX_CAPACITY
public boolean add(Integer value)
public boolean add(int value)
value - the value to addpublic boolean remove(Object value)
public boolean remove(int value)
value - the value to removepublic boolean contains(Object value)
public boolean contains(int value)
public int size()
public boolean isEmpty()
public void clear()
public boolean addAll(Collection<? extends Integer> coll)
public boolean containsAll(Collection<?> coll)
containsAll in interface Collection<Integer>containsAll in interface Set<Integer>public boolean containsAll(IntHashSet other)
other - the int hashset to compare against.public IntHashSet difference(IntHashSet collection)
collection - the other set to subtractpublic boolean removeAll(Collection<?> coll)
public IntIterator iterator()
public void copy(IntHashSet obj)
public Object[] toArray()
public <T> T[] toArray(T[] into)
public boolean equals(Object other)
public int hashCode()
public boolean retainAll(Collection<?> coll)
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.