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

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

1 return "WSIFJMSProperties(" + size() + "," + hashCode() + ")";
2 return (String[]) labels.values().toArray(new String[labels.size()]);
3 allocCountLabel.setText(allocationAlerts.size() + " failed allocations");
4 new Scheduler[schedulers.size()]);
5 ArrayList arraylist = new ArrayList(readMethods.size());
6 return (Plugin[]) saveParticipants.keySet().toArray(new Plugin[saveParticipants.size()]);
7 shading.setName(documentShadings.size());
8 String [] tags = new String[CURSOR_TYPES.size()];
9 return (size() > CAPACITY);
10 return (String[]) _elementsByName.keySet().toArray( new String[ _elementsByName.size() ] );
11 return "MLocatorLookup[Size=" + m_lookup.size() + "]";
12 Symbol[] slist=new Symbol[bindings.size()];
13 Cookie[] cookieArray = new Cookie[cookies.size()];
14 sb.append("diskLocations size="+diskLocations.size()+"\n");
15 if (scon.transactionCache.size() != 0 || scon.updateList.size() != 0)
16 FilterDef results[] = new FilterDef[filterDefs.size()];
17 HashMap map = new HashMap ( _hits.size (), 1 );
18 ArrayList answer = new ArrayList( readMethods.size() );
19 buf.append(" contains ").append(_pools.size()).append(" distinct pools: ");
20 i = new Short((short) pool.size());
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.