Class IntArrayList
- java.lang.Object
- 
- org.apache.sysds.runtime.compress.utils.IntArrayList
 
- 
 public class IntArrayList extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description IntArrayList()IntArrayList(int initialSize)IntArrayList(int[] values)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidappendValue(int value)int[]extractValues()Returns the underlying array of offsets.int[]extractValues(boolean trim)intget(int index)intsize()StringtoString()
 
- 
- 
- 
Method Detail- 
sizepublic int size() 
 - 
appendValuepublic void appendValue(int value) 
 - 
extractValuespublic int[] extractValues() Returns the underlying array of offsets. Note that this array might be physically larger than the actual length of the offset lists. Use size() to obtain the actual length.- Returns:
- integer array of offsets, the physical array length may be larger than the length of the offset list
 
 - 
getpublic int get(int index) 
 - 
extractValuespublic int[] extractValues(boolean trim) 
 
- 
 
-