Package com.sun.media.jai.util

Examples of com.sun.media.jai.util.CaselessStringKeyHashtable


  this.sources = sources;
  this.pg = generators == null ?
            null : (Vector)generators.clone();

        // "suppressed" should never be null
  this.suppressed = new CaselessStringKeyHashtable();

  if (suppressed != null) {
      Enumeration e = suppressed.elements();

      while (e.hasMoreElements()) {
    this.suppressed.put(e.nextElement(), PRESENT);
      }
  }

  this.sourceForProp = (sourceForProp == null) ?
    null : new CaselessStringKeyHashtable(sourceForProp);

        this.op = op;

  hashNames();
    }
View Full Code Here


            suppressed.remove(names[i]);
  }
    }

    private void hashNames() {
  propNames = new CaselessStringKeyHashtable();

  // Copy properties from sources. This is the default behavior if no
        // other property source is specified. The sources are represented
        // via Integer values in propNames.
  if (sources != null) {
View Full Code Here

/*     */   public PropertyEnvironment(Vector sources, Vector generators, Vector suppressed, Hashtable sourceForProp, Object op)
/*     */   {
/* 105 */     this.sources = sources;
/* 106 */     this.pg = (generators == null ? null : (Vector)generators.clone());
/*     */
/* 110 */     this.suppressed = new CaselessStringKeyHashtable();
/*     */
/* 112 */     if (suppressed != null) {
/* 113 */       Enumeration e = suppressed.elements();
/*     */
/* 115 */       while (e.hasMoreElements()) {
/* 116 */         this.suppressed.put(e.nextElement(), PRESENT);
/*     */       }
/*     */     }
/*     */
/* 120 */     this.sourceForProp = (sourceForProp == null ? null : new CaselessStringKeyHashtable(sourceForProp));
/*     */
/* 123 */     this.op = op;
/*     */
/* 125 */     hashNames();
/*     */   }
View Full Code Here

/* 302 */       this.suppressed.remove(names[i]);
/*     */   }
/*     */
/*     */   private void hashNames()
/*     */   {
/* 307 */     this.propNames = new CaselessStringKeyHashtable();
/*     */
/* 312 */     if (this.sources != null)
/*     */     {
/* 314 */       for (int i = this.sources.size() - 1; i >= 0; i--) {
/* 315 */         Object o = this.sources.elementAt(i);
View Full Code Here

TOP

Related Classes of com.sun.media.jai.util.CaselessStringKeyHashtable

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.