public static class INLongRep.DefaultRep extends INLongRep
INLongRep.DefaultRep, INLongRep.EmptyRep, INLongRep.SparseRep| Constructor and Description |
|---|
DefaultRep(int capacity,
int nBytes) |
DefaultRep(SizeofMarker marker) |
| Modifier and Type | Method and Description |
|---|---|
INLongRep |
clear(IN parent,
INLongRep.EmptyRep emptyRep) |
INLongRep |
compact(IN parent,
INLongRep.EmptyRep emptyRep) |
INLongRep |
copy(int from,
int to,
int n,
IN parent) |
long |
get(int idx) |
long |
getMemorySize() |
boolean |
isEmpty() |
INLongRep.DefaultRep |
resize(int capacity) |
INLongRep |
set(int idx,
long val,
IN parent)
Mutates to a DefaultRep with a larger number of bytes if necessary
to hold the given value.
|
public DefaultRep(int capacity,
int nBytes)
public DefaultRep(SizeofMarker marker)
public INLongRep.DefaultRep resize(int capacity)
public INLongRep set(int idx, long val, IN parent)
public INLongRep compact(IN parent, INLongRep.EmptyRep emptyRep)
public INLongRep clear(IN parent, INLongRep.EmptyRep emptyRep)
public long getMemorySize()
getMemorySize in class INLongRepCopyright © 2024. All rights reserved.