public class IntMapper<T>
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(T value)
value
- element to be appended to this list.public int size()
public T get(int index)
public int getIndex(T o)
public java.util.Iterator<T> iterator()
Copyright © 2005-2010 Potix Corporation. All Rights Reserved.