@NotThreadSafe public class IntSet extends Object implements com.helger.commons.lang.IHasSize, Serializable
IntObjectMap internally.| Constructor and Description |
|---|
IntSet() |
IntSet(int nSize) |
IntSet(int nSize,
float fFillFactor) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(int key) |
boolean |
contains(int key) |
void |
forEach(IntConsumer aConsumer) |
boolean |
isEmpty() |
int |
size() |
public IntSet()
public IntSet(int nSize)
public IntSet(int nSize,
float fFillFactor)
public int size()
size in interface com.helger.commons.lang.IHasSizepublic boolean isEmpty()
isEmpty in interface com.helger.commons.lang.IHasSizepublic boolean contains(int key)
public boolean add(int key)
public void forEach(@Nonnull IntConsumer aConsumer)
Copyright © 2017–2020 Philip Helger. All rights reserved.