Class ObjectSet<T>
java.lang.Object
zombie.entity.util.ObjectSet<T>
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
boolean
void
void
void
void
clear()
void
clear
(int int1) boolean
void
ensureCapacity
(int int1) boolean
first()
int
hashCode()
boolean
isEmpty()
iterator()
boolean
notEmpty()
protected int
boolean
void
shrink
(int int0) toString()
static <T> ObjectSet
<T> with
(T... object) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
size
public int size -
shift
protected int shift -
mask
protected int mask
-
-
Constructor Details
-
ObjectSet
public ObjectSet() -
ObjectSet
public ObjectSet(int int0) -
ObjectSet
public ObjectSet(int int1, float float0) -
ObjectSet
-
-
Method Details
-
place
-
add
-
addAll
-
addAll
-
addAll
-
addAll
-
addAll
-
remove
-
notEmpty
public boolean notEmpty() -
isEmpty
public boolean isEmpty() -
shrink
public void shrink(int int0) -
clear
public void clear(int int1) -
clear
public void clear() -
contains
-
get
-
first
-
ensureCapacity
public void ensureCapacity(int int1) -
hashCode
-
equals
-
toString
-
toString
-
iterator
-
with
-