Package java.util

Examples of java.util.TreeMap.values()


            interfaceHash = (-1L);
        }

        // Put the complete MethodStub objects to methods list.
        int n = 0;
        for (Iterator i = methodMap.values().iterator(); i.hasNext(); ) {
            methods.add(new MethodStub((Method) i.next(), n++));
        }

        methodsExist = (n > 0);
    }
View Full Code Here


            OMAttribute attribute = (OMAttribute) itr.next();
            if (!(attribute.getLocalName().equals("xmlns") ||
                    attribute.getLocalName().startsWith("xmlns:")))
                map.put(getExpandedName(attribute), attribute);
        }
        return map.values();
    }

    /**
     * Gets the valid element collection of an OMDocument. OMElement and OMProcessingInstruction
     * only
 
View Full Code Here

        keywordMap.put(new Integer(index2), keyword);
      }
    }

    //keywordMap should be ordered by index..add all values to a list
    matchingKeywords.addAll(keywordMap.values());

    /*
     * iterate over the keywords found in the pattern and replace with regexp
     * group
     */
 
View Full Code Here

  for (Iterator i = auditEvents.iterator(); i.hasNext();) {
      WfAuditEvent ae = (WfAuditEvent)i.next ();
      sorted.put (ae.timeStamp(), ae);
  }

  for (Iterator i = sorted.values().iterator(); i.hasNext();) {
      Object o = i.next();
      if (o instanceof WfCreateProcessAuditEvent) {
    cpae = (WfCreateProcessAuditEvent)o;
      } else if ((o instanceof WfDataAuditEvent) && dae == null) {
    dae = (WfDataAuditEvent)o;
View Full Code Here

    }
      } catch (ParseException e) {
    logger.error (e.getMessage ());
      }
  }
  for (Iterator i = expDls.values().iterator(); i.hasNext();) {
      Deadline dl = (Deadline)i.next();
      handleDeadline (dl);
      if (typedState().isSameOrSubState (State.CLOSED)) {
    return;
      }
View Full Code Here

               domainData.put(domainName, data);
            }
            data.addData(mbeanData);
         }
      }
      Iterator domainDataIter = domainData.values().iterator();
      return domainDataIter;
   }

   public static MBeanData getMBeanData(String name) throws JMException
   {
View Full Code Here

        sb.append("<h2>Registered Error IDs</h2>");
        Iterator minors = ProblemsTable.registeredIds.values().iterator();
        sb.append("<table>");
        while (minors.hasNext()) {
            TreeMap minor = (TreeMap) minors.next();
            Iterator ids = minor.values().iterator();
            while (ids.hasNext()) {
                CountID nextid = (CountID) ids.next();
                sb.append("<tr><td>");
                sb.append(nextid.errorID.category);
                sb.append("</td><td>");
View Full Code Here

                throw new ValidationException(ValidationException.ERR_NOT_VALID_LABEL_PREFIX, new String[]{currentPrefix});
              }
            }
          }
         
          parsedCommandDTO.setLabels((PageLabel[])labels.values().toArray(new PageLabel[labels.size()]));
    }else{
      throw new ConsoleException(ConsoleException.CMD_LINE_HANDLER_NULL);
    }
    return parsedCommandDTO; 
 
View Full Code Here

        if (logger.traceOn()) {
            logger.trace("filterAttributes", "starts");
        }

        SortedMap map = new TreeMap(attributes);
  purgeUnserializable(map.values());
  hideAttributes(map);
        return map;
    }

    /**
 
View Full Code Here

            }
        } catch (GBeanNotFoundException e) {
            // GBean not found, just ignore
        }

        return attributes.values();
    }

    /**
     * Return attribute info as map
     */
 
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.