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

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

1 return (String []) list.toArray(new String[list.size()]);
2 this( branch, branchContent, branchContent.size() );
3 return (IFile[]) l.toArray(new IFile[l.size()]);
4 return (IFolder[]) l.toArray(new IFolder[l.size()]);
5 new RADProperty[properties.size()]); // noop so far [PENDING]
6 int size = ( (List) encodedObject ).size();
7 int index = (int)(Math.random()*list.size());
8 return brokenLinks.size() == 0;
9 return result.toArray((Object[]) Array.newInstance(leafClass, result.size()));
10 return list.size() - ((index + 1) * pageSize) < 1;
11 return stack.get(stack.size() - 1);
12 return (_allRecords.size() > _maxNumberOfLogRecords);
13 return (SchemaOption[]) options.toArray(new SchemaOption[options.size()]);
14 return (_allRecords.size() > _maxNumberOfLogRecords);
15 this(list,new BitSet(list.size()));
16 list.setSelectionInterval(0,getModel().getJavaPackage().getJavaFiles().size()-1);
17 return index < list.size();
18 return (Node)nodes.get(nodes.size() - 1);
19 return ( com.sun.javadoc.FieldDoc[] ) fields.toArray( new FieldDoc[fields.size()] );
20 if(row < 0 || row >= dataList.size()) return null;
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.