站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc (Current Development Version)

StringMap (Editor Library) - NetBeans API Javadoc (Current Development Version)

org.netbeans.modules.editor.lib/1 1.14.0 3

org.netbeans.editor
Class StringMap

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap
          extended by org.netbeans.editor.StringMap
All Implemented Interfaces:
Serializable, Cloneable, Map

public class StringMap
extends HashMap

Support for comparing part of char array to hash map with strings as keys.

See Also:
Serialized Form

Constructor Summary
StringMap()
           
StringMap(int initialCapacity)
           
StringMap(int initialCapacity, float loadFactor)
           
StringMap(Map t)
           
 
Method Summary
 boolean containsKey(char[] chars, int offset, int len)
           
 boolean equals(Object o)
           
 Object get(char[] chars, int offset, int len)
           
 int hashCode()
           
 Object remove(char[] chars, int offset, int len)
           
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StringMap

public StringMap()

StringMap

public StringMap(int initialCapacity)

StringMap

public StringMap(int initialCapacity,
                 float loadFactor)

StringMap

public StringMap(Map t)
Method Detail

get

public Object get(char[] chars,
                  int offset,
                  int len)

containsKey

public boolean containsKey(char[] chars,
                           int offset,
                           int len)

remove

public Object remove(char[] chars,
                     int offset,
                     int len)

equals

public boolean equals(Object o)
Specified by:
equals in interface Map
Overrides:
equals in class AbstractMap

hashCode

public int hashCode()
Specified by:
hashCode in interface Map
Overrides:
hashCode in class AbstractMap

org.netbeans.modules.editor.lib/1 1.14.0 3

Built on May 28 2007.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.