org.apache.poi.util
public class IntMapper extends java.lang.Object
I am happy is someone wants to re-implement this without using the internal list and hashmap. If so could you please make sure that you can add elements half way into the list and have the value-key mappings update
Constructor and Description |
---|
IntMapper()
create an IntMapper of default size
|
IntMapper(int initialCapacity) |
public IntMapper()
public IntMapper(int initialCapacity)
public boolean add(java.lang.Object value)
value
- element to be appended to this list.public int size()
public java.lang.Object get(int index)
public int getIndex(java.lang.Object o)
public java.util.Iterator iterator()
Copyright 2016 The Apache Software Foundation or its licensors, as applicable.