Package javax.media.jai.util

Examples of javax.media.jai.util.CaselessStringKey


    throw new IllegalArgumentException(JaiI18N.getString("Generic0"));
  if (value == null)
    throw new IllegalArgumentException(JaiI18N.getString("Generic0"));

        // Check whether property conflicts with synthetic properties.
  if (synthProps.contains(new CaselessStringKey(name))) {
      throw new RuntimeException(JaiI18N.getString("RenderedOp4"));
        }

        createPropertySource();
        super.setProperty(name, value);
View Full Code Here


    public void removeProperty(String name) {
  if (name == null)
    throw new IllegalArgumentException(JaiI18N.getString("Generic0"));

        // Check whether property conflicts with synthetic properties.
  if (synthProps.contains(new CaselessStringKey(name))) {
      throw new RuntimeException(JaiI18N.getString("RenderedOp4"));
        }

        createPropertySource();
        properties.removeProperty(name);
View Full Code Here

     */
    public synchronized void suppressProperty(String name) {
        if (name == null)
            throw new IllegalArgumentException(JaiI18N.getString("Generic0"));

  if (synthProps.contains(new CaselessStringKey(name))) {
      throw new IllegalArgumentException(JaiI18N.getString("RenderedOp5"));
  }

        nodeSupport.suppressProperty(name);
    }
View Full Code Here

     * @return  <code>true</code> if and only if the specified object
     *          is a key in this hashtable, as determined by the
     *          <tt>equals</tt> method; <code>false</code> otherwise.
     */
    public boolean containsKey(String key) {
  return super.containsKey(new CaselessStringKey(key));
    }
View Full Code Here

     *          <code>null</code> if the key is not mapped to any value in
     *          this hashtable.
     * @see     #put(String, Object)
     */
    public Object get(String key) {
  return super.get(new CaselessStringKey(key));
    }
View Full Code Here

    public Object put(String key, Object value) {
        if ( key == null || value == null ) {
            throw new IllegalArgumentException(JaiI18N.getString("Generic0"));
        }

  return super.put(new CaselessStringKey(key), value);
    }
View Full Code Here

     * @param   key   the key that needs to be removed.
     * @return  the value to which the key had been mapped in this hashtable,
     *          or <code>null</code> if the key did not have a mapping.
     */
    public Object remove(String key) {
  return super.remove(new CaselessStringKey(key));
    }
View Full Code Here

      return null;

  CaselessStringKey[] keys = new CaselessStringKey[strings.length];

  for (int i = 0; i < strings.length; i++)
      keys[i] = new CaselessStringKey(strings[i]);
       
  return keys;
    }
View Full Code Here

     *
     * @throws IllegalArgumentException if the key is <code>null or
     *  if the key is not found.
     */
    public int indexOf(String key) {
  return indexOf(new CaselessStringKey(key));
    }
View Full Code Here

     * Tests if this table contains the specified key.
     *
     * @return true if the key is present. false otherwise.
     */
    public boolean contains(String key) {
  return contains(new CaselessStringKey(key));
    }
View Full Code Here

TOP

Related Classes of javax.media.jai.util.CaselessStringKey

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.