站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss RULES 4.0.0.11754MR2 API 英文版文档

PrimitiveLongMap (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档


org.drools.util
Class PrimitiveLongMap

java.lang.Object
  extended by org.drools.util.PrimitiveLongMap
All Implemented Interfaces:
Serializable

public class PrimitiveLongMap
extends Object
implements Serializable

Author:
Mark Proctor
See Also:
Serialized Form

Constructor Summary
PrimitiveLongMap()
           
PrimitiveLongMap(int tableSize)
           
PrimitiveLongMap(int tableSize, int indexIntervals)
           
 
Method Summary
 boolean containsKey(long key)
           
 org.drools.util.PrimitiveLongMap.Page expandPages(int toPageId)
          Expand index to accomodate given pageId Create empty TopNodes
 Object get(long key)
           
 Object put(long key, Object value)
           
 Object remove(long key)
           
 void resizeIndex(int newSize)
           
 void shrinkPages(int toPageId)
          Shrink index to accomodate given pageId
 int size()
           
 Collection values()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrimitiveLongMap

public PrimitiveLongMap()

PrimitiveLongMap

public PrimitiveLongMap(int tableSize)

PrimitiveLongMap

public PrimitiveLongMap(int tableSize,
                        int indexIntervals)
Method Detail

put

public Object put(long key,
                  Object value)

remove

public Object remove(long key)

get

public Object get(long key)

size

public int size()

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-2007 JBoss Inc.. All Rights Reserved.