Codota Logo
HashNMap.keys
Code IndexAdd Codota to your IDE (free)

How to use
keys
method
in
org.jfree.util.HashNMap

Best Java code snippets using org.jfree.util.HashNMap.keys (Showing top 4 results out of 315)

  • Common ways to obtain HashNMap
private void myMethod () {
HashNMap h =
  • Codota IconObject object;(HashNMap) object.clone()
  • Smart code suggestions by Codota
}
origin: jfree/jcommon

/**
 * Creates a deep copy of this HashNMap.
 *
 * @return a clone.
 * @throws CloneNotSupportedException this should never happen.
 */
public Object clone() throws CloneNotSupportedException {
  final HashNMap map = (HashNMap) super.clone();
  map.table = new HashMap();
  final Iterator iterator = keys();
  while (iterator.hasNext()) {
    final Object key = iterator.next();
    final List list = (List) map.table.get(key);
    if (list != null) {
      map.table.put(key, ObjectUtilities.clone(list));
    }
  }
  return map;
}
origin: org.jfree/jcommon

/**
 * Creates a deep copy of this HashNMap.
 *
 * @return a clone.
 * @throws CloneNotSupportedException this should never happen.
 */
public Object clone() throws CloneNotSupportedException {
  final HashNMap map = (HashNMap) super.clone();
  map.table = new HashMap();
  final Iterator iterator = keys();
  while (iterator.hasNext()) {
    final Object key = iterator.next();
    final List list = (List) map.table.get(key);
    if (list != null) {
      map.table.put(key, ObjectUtilities.clone(list));
    }
  }
  return map;
}
origin: org.jfree/com.springsource.org.jfree

/**
 * Creates a deep copy of this HashNMap.
 *
 * @return a clone.
 * @throws CloneNotSupportedException this should never happen.
 */
public Object clone() throws CloneNotSupportedException {
  final HashNMap map = (HashNMap) super.clone();
  map.table = new HashMap();
  final Iterator iterator = keys();
  while (iterator.hasNext()) {
    final Object key = iterator.next();
    final List list = (List) map.table.get(key);
    if (list != null) {
      map.table.put(key, ObjectUtilities.clone(list));
    }
  }
  return map;
}
origin: jfree/jcommon

final Iterator keys = classMap.keys();
while (keys.hasNext()) {
  final Class base = (Class) keys.next();
org.jfree.utilHashNMapkeys

Javadoc

Returns all registered keys as an enumeration.

Popular methods of HashNMap

  • containsKey
    Tests whether this map contains the given key.
  • containsValue
    Tests whether this map contains the given value.
  • createList
    Returns a new empty list.
  • get
    Retrieves the n-th value registered for an key or null if there was no such key in the list. An inde
  • put
    Inserts a new key/value pair into the map. If such a pair already exists, it gets replaced with the
  • <init>
    Default constructor.
  • add
    Adds a new key/value pair into this map. If the key is not yet in the map, it gets added to the map
  • getAll
    Returns an iterator over all elements registered to the given key.
  • keySet
    Returns all registered keys as set.
  • toArray
    Returns the contents for the given key as object array. If there were no objects registered with tha

Popular in Java

  • Making http post requests using okhttp
  • notifyDataSetChanged (ArrayAdapter)
  • getResourceAsStream (ClassLoader)
    Returns a stream for the resource with the specified name. See #getResource(String) for a descriptio
  • requestLocationUpdates (LocationManager)
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • MessageFormat (java.text)
    MessageFormat provides a means to produce concatenated messages in language-neutral way. Use this to
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • Dictionary (java.util)
    The Dictionary class is the abstract parent of any class, such as Hashtable, which maps keys to valu
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now