Method contains(Object elem)
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 (! a.contains("writeToFile")) a.add("writeToFile");
2
if (postTransitions.contains(t)) return;
3
if (!_openWindows.contains( mainWindow )) throw new IllegalArgumentException( "May only select an open window owned by this client" );
4
if (!listeners.contains(listener))
5
if (listeners.contains(listener))
6
if( !mListeners.contains( pListener ) )
7
if (!usedAttributeFiles.contains(setName)) {
8
if (!changeListeners.contains(l)) {
9
if (listeners != null && listeners.contains(l)) {
10
if (!_openWindows.contains( window )) throw new IllegalStateException( "Window is already closed" );
11
if( !result.contains( o ) )
12
if(!listeners.contains(workListener)){
13
if (!allDirections.contains(direction))
14
if (!knownEncodingStyles.contains(encodingStyle))
15
if (! runningExperiments.contains(experiment))
16
if((!(usedImageCorrectors.contains(tempCor)))){
17
if (!partsOfSpeech.contains(pos)) {
18
if( taskList.contains( task ) )
19
if (foundModel != null && !result.contains(foundModel)) {
20
if (list.contains(NO_SPEC))
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.