Package org.openxri.util

Examples of org.openxri.util.PrioritizedList


      Integer priority = ref.getPriority();
     
        if (refs == null || prioritizedRefs == null)
        {
            refs = new Vector();
            prioritizedRefs = new PrioritizedList();
        }
       
        refs.add(ref);
        prioritizedRefs.addObject(
          (priority == null)? "null" : priority.toString(),
View Full Code Here


    public void addService(Service service)
    {
        if (services == null || prioritizedServices == null)
        {
            services = new Vector();
            prioritizedServices = new PrioritizedList();
        }

        services.add(service);
        Integer priority = service.getPriority();
        prioritizedServices.addObject((priority == null)? "null" : priority.toString(), service);
View Full Code Here

      addService(s);
    }
  }
 
  public void setSelectedServices (Collection svcs) {
    selectedServices = new PrioritizedList();
    Iterator i = svcs.iterator();
    while (i.hasNext()) {
      Service s = (Service)i.next();
      Integer priority = s.getPriority();
      String priStr = (priority == null)? "null" : priority.toString();
View Full Code Here

  /**
   * @return Returns the selectedServices.
   */
  public PrioritizedList getSelectedServices() {
    return (selectedServices == null)? new PrioritizedList() : selectedServices;
  }
View Full Code Here

TOP

Related Classes of org.openxri.util.PrioritizedList

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.