org.drools.util
Class PrimitiveLongMap
java.lang.Object
org.drools.util.PrimitiveLongMap
- All Implemented Interfaces:
- Serializable
public class PrimitiveLongMap
- extends Object
- implements Serializable
- Author:
- Mark Proctor
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PrimitiveLongMap
public PrimitiveLongMap()
PrimitiveLongMap
public PrimitiveLongMap(int tableSize)
PrimitiveLongMap
public PrimitiveLongMap(int tableSize,
int indexIntervals)
put
public Object put(long key,
Object value)
remove
public Object remove(long key)
get
public Object get(long key)
values
public Collection values()
containsKey
public boolean containsKey(long key)
expandPages
public org.drools.util.PrimitiveLongMap.Page expandPages(int toPageId)
- Expand index to accomodate given pageId Create empty TopNodes
shrinkPages
public void shrinkPages(int toPageId)
- Shrink index to accomodate given pageId
resizeIndex
public void resizeIndex(int newSize)
Copyright © 2001-2005 The Codehaus. All Rights Reserved.