Class IntList
- java.lang.Object
-
- org.apache.parquet.column.values.dictionary.IntList
-
public class IntList extends Object
An append-only integer list avoids autoboxing and buffer resizing
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIntList.IntIteratorto iterate on the content of the list not an actual iterator to avoid autoboxing
-
Constructor Summary
Constructors Constructor Description IntList()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(int i)IntList.IntIteratoriterator()(not an actual Iterable)intsize()
-
-
-
Method Detail
-
add
public void add(int i)
- Parameters:
i- value to append to the end of the list
-
iterator
public IntList.IntIterator iterator()
(not an actual Iterable)- Returns:
- an IntIterator on the content
-
size
public int size()
- Returns:
- the current size of the list
-
-