public final class IntsRef extends Object implements Comparable<IntsRef>, Cloneable
Modifier and Type | Field and Description |
---|---|
static int[] |
EMPTY_INTS |
int[] |
ints |
int |
length |
int |
offset |
Constructor and Description |
---|
IntsRef() |
IntsRef(int capacity) |
IntsRef(int[] ints,
int offset,
int length) |
Modifier and Type | Method and Description |
---|---|
IntsRef |
clone() |
int |
compareTo(IntsRef other)
Signed int order comparison
|
void |
copyInts(IntsRef other) |
static IntsRef |
deepCopyOf(IntsRef other)
Creates a new IntsRef that points to a copy of the ints from
other |
boolean |
equals(Object other) |
void |
grow(int newLength) |
int |
hashCode() |
boolean |
intsEquals(IntsRef other) |
String |
toString() |
public static final int[] EMPTY_INTS
public int[] ints
public int offset
public int length
public IntsRef()
public IntsRef(int capacity)
public IntsRef(int[] ints, int offset, int length)