Method size()
Return type: int
Member of: java.util.Hashtable
[api documentation ] [ main menu]

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

1 String[] ret = new String[size()];
2 private String[] driverKeys = new String[drivers.size()];
3 return (packages.size () == 0) && (classes.size () == 0);
4 return (String[]) this.attributes.keySet().toArray(new String[this.attributes.size()]);
5 return (String[]) _parameters.keySet().toArray( new String[ _parameters.size() ] );
6 if (skillCount.size() > 0) super.setColor(Color.yellow);
7 ((jndiProps == null) ? null : ("size:" + jndiProps.size() + jndiProps)) +
8 return "Media Manager with " + this.getActiveServices().size() + " active and " + this.getWaitingServices().size() + " bound services.";
9 if (opened.size()==0)
10 if (properties.size() == 0)
11 availablePages = new String[pages.size()+1];
12 " total tokens: " + tokens.size() +
13 rep = new Hashtable(baseEnv.rep.size()+100);
14 PublicCertificate [] array = new PublicCertificate[publicCertificates.size()];
15 RuleParameter[] rps = new RuleParameter[my_parameters.size()];
16 return (String[]) commandsByName.keySet().toArray(new String[commandsByName.size()]);
17 for(int i = 0; i < result.size(); i++) {
18 System.out.println("Resources "+resourcesByURI.size());
19 String[] s = new String[entries.size()];
20 UIManager.LookAndFeelInfo[] lafs = new UIManager.LookAndFeelInfo[thirdPartyLafs.size()];
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.