javax.media.j3d
Class J3dQueryProps

java.lang.Object
  extended by java.util.AbstractMap
      extended by javax.media.j3d.J3dQueryProps
All Implemented Interfaces:
java.util.Map

 class J3dQueryProps
extends java.util.AbstractMap

Properties object for query operations. It is a read-only Map backed up by a Hashtable.


Nested Class Summary
private  class J3dQueryProps.EntrySet
          Entry set class
private  class J3dQueryProps.MapIterator
          Entry set class
 
Nested classes/interfaces inherited from class java.util.AbstractMap
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>
 
Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry<K,V>
 
Field Summary
private  java.util.Set entrySet
           
private  java.util.Hashtable table
           
 
Constructor Summary
J3dQueryProps(java.lang.String[] keys, java.lang.Object[] values)
          Constructs a new J3dQueryProps object using the specified array of keys and the specified values.
 
Method Summary
 boolean containsKey(java.lang.Object key)
          Returns true if the specified key is contained in this Map
 boolean containsValue(java.lang.Object value)
          Returns true if the specified value is contained in this Map
 java.util.Set entrySet()
          Returns a new Set object for the entries of this map
 java.lang.Object get(java.lang.Object key)
          Gets value corresponding to specified key
 
Methods inherited from class java.util.AbstractMap
clear, clone, equals, hashCode, isEmpty, keySet, put, putAll, remove, size, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

table

private java.util.Hashtable table

entrySet

private java.util.Set entrySet
Constructor Detail

J3dQueryProps

J3dQueryProps(java.lang.String[] keys,
              java.lang.Object[] values)
Constructs a new J3dQueryProps object using the specified array of keys and the specified values. The arrays must be the same size.

Method Detail

get

public java.lang.Object get(java.lang.Object key)
Gets value corresponding to specified key

Specified by:
get in interface java.util.Map
Overrides:
get in class java.util.AbstractMap

containsKey

public boolean containsKey(java.lang.Object key)
Returns true if the specified key is contained in this Map

Specified by:
containsKey in interface java.util.Map
Overrides:
containsKey in class java.util.AbstractMap

containsValue

public boolean containsValue(java.lang.Object value)
Returns true if the specified value is contained in this Map

Specified by:
containsValue in interface java.util.Map
Overrides:
containsValue in class java.util.AbstractMap

entrySet

public java.util.Set entrySet()
Returns a new Set object for the entries of this map

Specified by:
entrySet in interface java.util.Map
Specified by:
entrySet in class java.util.AbstractMap


Copyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.