Method isEmpty()
Return type: boolean
Member of: java.util.ArrayList
[api documentation ] [ main menu]

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

1 if (entries.isEmpty() == false)
2 toPageButton.setEnabled(!componentList.isEmpty() && !componentViewer.getSelection().isEmpty());
3 if (!list.isEmpty()) throw new UnusedUploadFileException( _name, fileArray.length - list.size(), fileArray.length );
4 if (_openWindows.isEmpty()) _openWindows.add( new WebWindow( this ) );
5 if (!m_List.isEmpty()) {
6 if (alarms.isEmpty())
7 fHistoryDropDownAction.setEnabled(!fInputHistory.isEmpty());
8 if (stack != null && !stack.isEmpty() ) {
9 assertTrue("New list is empty", list.isEmpty());
10 boolean fire = !fStore.isEmpty();
11 if (errors==0 && !errorAnnotations.isEmpty()) { // dettach all annotations
12 if (_pool.isEmpty())
13 if (!desc.isEmpty())
14 if (!toBeSaved.isEmpty() || !toBeDeleted.isEmpty() || needSave) {
15 if (locales.isEmpty())
16 if (children != null && !children.isEmpty()) {
17 if(!mMenuEntry.isEmpty())
18 if (attributes.isEmpty())
19 if (!elementsToRemove.isEmpty() || !elementsToAdd.isEmpty()) {
20 if( !fileset.isEmpty() )
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.