Class IntList
java.lang.Object
org.apache.commons.compress.harmony.pack200.IntList
IntList is based on
ArrayList
, but is written specifically for ints in order to reduce boxing and unboxing to Integers, reduce the memory
required and improve performance of pack200.-
Constructor Summary
-
Method Summary
-
Constructor Details
-
IntList
public IntList()Constructs a new instance of IntList with capacity for ten elements. -
IntList
Constructs a new instance of IntList with the specified capacity.- Parameters:
capacity
- the initial capacity of this IntList
-
-
Method Details
-
add
Adds the specified object at the end of this IntList.- Parameters:
object
- the object to add- Returns:
- true
-
add
-
addAll
-
clear
-
get
-
increment
-
isEmpty
-
remove
-
size
-
toArray
-