Method toArray()
Return type: java.lang.Object[]
Member of: java.util.Collection
[api documentation ] [ main menu]

Examples of how the element is used (one line per example):
[add your own example]

1 return (ScaleColumn[]) this.columns.values().toArray();
2 return newCollection(list.toArray());
3 return (TreeNode)this.hmCatalogs.values().toArray()[param];
4 TreeNode tn = (TreeNode)this.hmSchemas.values().toArray()[param];
5 Object[] src = getCollection().toArray();
6 Object[] src = getCollection().toArray();
7 Object[] plan = testPlan.getSearchResults().toArray();
8 Object[] values = operations.values().toArray();
9 Object items[] = c.toArray();
10 allNames.values().toArray()));
11 values = parameters.toArray();
12 viewer.update(result.toArray(), null);
13 String gtps = (String) gtPaths.toArray()[0];
14 Attachment att2 = (Attachment) c.toArray()[0];
15 return joinArray( collection.toArray(), separator );
16 Object [] wrappers = jsps.values().toArray();
17 Object[] objects = m_providers.values().toArray();
18 Object[] schems = JDBCUtilities.getSingleColumn(set, 1, null).toArray();
19 ActionMap map = (ActionMap)res.allInstances().toArray()[0];
20 measurement_values[j] = ((Collection) values.get(j)).toArray();
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.