Method contains(Object o)
Return type: boolean
Member of:
java.util.Collection
[
api documentation
] [
main menu
]
Examples of how the element is used
(one line per example):
[
add your own example
]
1
if (!list.contains(this)) list.add(this);
2
assertTrue(output.contains("One"));
3
if (filter == null || filter.contains("*")) //$NON-NLS-1$
4
if( interfaces.contains( this ) )
5
if( interfaces.contains( this ) )
6
assertTrue(collectionA.contains("a") && ! collectionA.contains("z"));
7
assertTrue("Binding 'objectBindingOne' is missing", coll.contains("objectBindingOne"));
8
operands.push(booleanObject(b.contains(a)));
9
if (resource != null && ! result.contains(resource))
10
if (type.getModel() != p.getModel() && !ModelManagementHelper.getHelper().getAllNamespaces(p.getModel()).contains(type.getNamespace())) {
11
if (keys.contains(curField.getName()))
12
if (!otherSet.contains(candidate))
13
if (parentNames.contains(community.getName())) {
14
add = !lines.contains(package_name + " [P]");
15
return new Boolean(col.contains(activityTypeHierarchyID));
16
assertTrue(byProc.contains(vo1));
17
boolean isPk = primaryKeys.contains(columnName);
18
if (categories.contains(TIMERS))
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.