Package nexj.core.util

Examples of nexj.core.util.HashHolder.toArray()


         for (PropertyIterator itr = m_valuesMap.getIterator(); itr.hasNext();)
         {
            keySet.add(itr.next());
         }

         Object[] keyArray = keySet.toArray(new String[keySet.size()]);

         Arrays.sort(keyArray); // sort keys for readability

         throw new LookupException("err.meta.persistence.sql.variable",
                                   new Object[]{sKey, keyArray}); // unknown key
View Full Code Here


         {
            set.add(dependency);
         }
      }

      return (Table[])set.toArray(new Table[set.size()]);
   }

   /**
    * Get a list of tables that depend on the specified table.
    * @param table The table to return dependents for.
View Full Code Here

            addRestrictions(restrictionSet, attribute.getWhere());
         }
      }

      return m_persistenceMapping.getSortKeys(assocs, mappings, (restrictionSet.isEmpty()) ? null :
            (Attribute[])restrictionSet.toArray(new Attribute[restrictionSet.size()]));
   }

   /**
    * Adds equality restriction attributes from an S-expression to a set.
    * @param attribSet The restriction attribute set.
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.