Package java.util

Examples of java.util.Hashtable.values()


          .getName())) {
        determinedProps.put(stats.propertyResolvers[i].getName(),
            stats.propertyResolvers[i]);
      }
    }
    return new Statistic(mergedProps, (Prop[]) determinedProps.values()
        .toArray(new Prop[determinedProps.size()]));
  }

  /**
   * This method will add the given property to the statistics, if not already
View Full Code Here


      for (int i = 0; i < deadMembers.size(); i++)
      {
         Hashtable held = (Hashtable)heldLocks.remove(deadMembers.get(i));
         if (held != null)
         {
            Iterator it = held.values().iterator();
            while (it.hasNext())
            {
               List list = (List)it.next();
               releaseHeldLocks(list);
            }
View Full Code Here

              while (currCIt.hasNext()) {
                File curr = (File) currCIt.next();
                lastModifiedMap.put(curr.getAbsolutePath(),
                    new Long(curr.lastModified()));
              }
              currentContent = (File[]) currContentTable.values()
                  .toArray(new File[currContentTable.size()]);
              Arrays.sort(currentContent, FILE_COMPARATOR);
            }
            if (removed.size() + modified.size() + newFiles.size() > 0) {
              synchronized (updateListeners) {
View Full Code Here

            }
          }
        }
      }

      list = new ArrayList(comps.values());
      list.addAll(alternativeComps);
      list.removeAll(compsToRemove);
      return new VOListResponse(list,false,list.size());
    }
    catch (Throwable ex) {
View Full Code Here

        catch (NamingException ex)
        {
            throw new DataBackendException(
                    "The LDAP server specified is unavailable", ex);
        }
        return new PermissionSet(permissions.values());
    }

    /**
     * Stores Group's attributes. The Groups is required to exist in the system.
     *
 
View Full Code Here

            if (foreignKeys != null)
            {
                foreignKeys.close();
            }
        }
        return fks.values();
    }
}
View Full Code Here

        Hashtable results = new Hashtable();
        for (int i = 0; i < list.length; i++) {
            IVResource resource = new VFile(list[i], this, list[i].getName());
            results.put(resource.getPath(), resource);
        }
        Collection c = results.values();
        return (IVResource[]) c.toArray(new IVResource[c.size()]);
    }

    public String getName() {
View Full Code Here

            if (foreignKeys != null)
            {
                foreignKeys.close();
            }
        }
        return fks.values();
    }
}
View Full Code Here

    }
   
    public String[] getOperationNames() {
        Hashtable operations = (Hashtable)getOption("Operations");
        if (operations == null) return null;
        Object[] values = operations.values().toArray();
        String[] names = new String[values.length];
        System.arraycopy(values,0,names,0,values.length);
        return names;
    }
   
View Full Code Here

            if (foreignKeys != null)
            {
                foreignKeys.close();
            }
        }
        return fks.values();
    }
}
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.