Package java.util

Examples of java.util.Hashtable.elements()


    java.util.Enumeration jassResult;

    // Get global category hashtable.
    Hashtable hashtable =
      (Hashtable)(threadHashtable.get("GLOBAL_CATEGORIES"));
    jassResult = ( (hashtable.elements()));
    jass.runtime.traceAssertion.CommunicationManager.internalAction = true; jassParameters = new jass.runtime.traceAssertion.Parameter[] {new jass.runtime.traceAssertion.Parameter(jassResult)}; jass.runtime.traceAssertion.CommunicationManager.internalAction = false; jass.runtime.traceAssertion.CommunicationManager.communicate(this, new jass.runtime.traceAssertion.MethodReference("idebughc", "Debug", "listCategories()", false), jassParameters);


    return jassResult;
  }
View Full Code Here


    java.util.Enumeration jassResult;

    // Get global category hashtable.
    Hashtable hashtable =
      (Hashtable)(threadHashtable.get("GLOBAL_CLASSES"));
    jassResult = ( (hashtable.elements()));
    jass.runtime.traceAssertion.CommunicationManager.internalAction = true; jassParameters = new jass.runtime.traceAssertion.Parameter[] {new jass.runtime.traceAssertion.Parameter(jassResult)}; jass.runtime.traceAssertion.CommunicationManager.internalAction = false; jass.runtime.traceAssertion.CommunicationManager.communicate(this, new jass.runtime.traceAssertion.MethodReference("idebughc", "Debug", "listClasses()", false), jassParameters);


    return jassResult;
  }
View Full Code Here

   * and collect addresses and chain exceptions.
   */
  MessagingException chainedEx = null;
  boolean sendFailed = false;

  Enumeration e = protocols.elements();
  while (e.hasMoreElements()) {
      Vector v = (Vector)e.nextElement();
      Address[] protaddresses = new Address[v.size()];
      v.copyInto(protaddresses);

View Full Code Here

  Hashtable jar;
  jar = (Hashtable) cookieJar.clone();
 
  synchronized (jar) {
 
      for (Enumeration e = jar.elements(); e.hasMoreElements() ;) {
    Vector v = (Vector) e.nextElement();
    for (int i = 0; i < v.size(); i++) {
        HttpCookie hc = (HttpCookie) v.elementAt(i);
        result.addElement(hc);
       
View Full Code Here

                String className = (String) classpathEnum.nextElement();
                log(" Class " + className + " depends on:", Project.MSG_DEBUG);
                Hashtable dependencies
                    = (Hashtable) classpathDependencies.get(className);

                Enumeration classpathFileEnum = dependencies.elements();
                while (classpathFileEnum.hasMoreElements()) {
                    File classpathFile = (File) classpathFileEnum.nextElement();
                    log("    " + classpathFile.getPath(), Project.MSG_DEBUG);
                }
            }
View Full Code Here

            // if we have no info about the class - it may have been deleted already and we
            // are using cached info.
            if (info != null) {
                Hashtable dependencies
                    = (Hashtable) classpathDependencies.get(className);
                for (Enumeration e2 = dependencies.elements(); e2.hasMoreElements();) {
                    File classpathFile = (File) e2.nextElement();
                    if (classpathFile.lastModified()
                        > info.absoluteFile.lastModified()) {
                        log("Class " + className
                            + " is out of date with respect to "
View Full Code Here

            }

            toAnalyze.clear();

            // now recover all the dependencies collected and add to the list.
            Enumeration depsEnum = analyzedDeps.elements();
            while (depsEnum.hasMoreElements()) {
                String className = (String) depsEnum.nextElement();
                if (!dependencies.containsKey(className)) {
                    toAnalyze.put(className, className);
                }
View Full Code Here

                }
            }
        }

        // pick up the last round of dependencies that were determined
        Enumeration depsEnum = analyzedDeps.elements();
        while (depsEnum.hasMoreElements()) {
            String className = (String) depsEnum.nextElement();
            dependencies.put(className, className);
        }
View Full Code Here

        //bail out early if there were no files
        if (filesToBuild.size() == 0) {
            return 0;
        }
        //now scan the hashtable and add the files
        Enumeration files = filesToBuild.elements();
        while (files.hasMoreElements()) {
            File file = (File) files.nextElement();
            if (isFileManagedBinary(file)) {
                if (isWindows) {
                    command.addArgument(
View Full Code Here

    private List addCustomLdifFilters()
    {
        List filters = new ArrayList();

        Hashtable ht = getPropertiesFromElement( ldifFilters );
        Enumeration en = ht.elements();
        Class clazz = null;

        while ( en.hasMoreElements() )
        {
            try
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.