public static class Vec.VectorGroup extends Iced
Modifier and Type | Field and Description |
---|---|
static Vec.VectorGroup |
VG_LEN1
The common shared vector group for very short vectors
|
Constructor and Description |
---|
Vec.VectorGroup() |
Modifier and Type | Method and Description |
---|---|
Key<Vec> |
addVec()
Shortcut for
addVecs(1) . |
Key<Vec>[] |
addVecs(int n)
Gets the next n keys of this group.
|
boolean |
equals(java.lang.Object o)
True if two VectorGroups are equal
|
int |
hashCode()
VectorGroups's hashcode
|
int |
reserveKeys(int n)
Reserve a range of keys and return index of first new available key
|
static boolean |
sameGroup(Vec v1,
Vec v2) |
java.lang.String |
toString()
Pretty print the VectorGroup
|
java.util.concurrent.Future |
tryReturnKeys(int oldCnt,
int newCnt) |
Key<Vec> |
vecKey(int vecId)
Returns Vec Key from Vec id#
|
clone, frozenType, read_impl, read, readExternal, readJSON_impl, readJSON, toJsonString, write_impl, write, writeExternal, writeHTML_impl, writeHTML, writeJSON_impl, writeJSON
public static final Vec.VectorGroup VG_LEN1
public int reserveKeys(int n)
public java.util.concurrent.Future tryReturnKeys(int oldCnt, int newCnt)
public Key<Vec>[] addVecs(int n)
n
- number of keys to makepublic Key<Vec> addVec()
addVecs(1)
.addVecs(int)
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object