Method equals(Object obj)
Return type: boolean
Member of:
java.lang.Object
[
api documentation
] [
main menu
]
Examples of how the element is used
(one line per example):
[
add your own example
]
1
if (where[i].equals(what)) return i;
2
if (type==null || type.getName().equals("boolean"))
3
if ((temp = this.getText("email")).equals("")) return "";
4
if(showFlag || updateMode.getSelectedItem().equals("always")) {
5
if(showFlag || updateMode.getSelectedItem().equals("always")) {
6
if ( nameComboBox.getSelectedIndex() == -1 && nameComboBox.getSelectedItem().equals( "" ) ) //NOI18N
7
this.defaultCache = conf.getChild("invalidate").getValue("never").equals("always");
8
if(cls.equals(java.util.Date.class)){
9
if (Byte.TYPE.equals(primitiveClass)) return Byte.class;
10
if( refChild.getParentNode().getLastChild().equals( refChild ))
11
if (entry.getValue().equals(componentLocation)) {
12
if(rw.equals(lastr)) {
13
if (array[i].equals(object))
14
if (! dest.equals(getSource())) {
15
boolean main = node.getUserObject().equals(root.getUserObject());
16
if (MScopeKind.CLASSIFIER.equals(scope)) return "static ";
17
if (dataShareObject.sendingClientKey.equals(myClientKey))
18
if ((null != a) && (null != a.getDefault()) && AttributeOccurence.OPTIONAL.equals(a.getOccurence())) {
19
if (window.equals( _mainWindow )) _mainWindow = (WebWindow) _openWindows.get(0);
20
if (object.equals(toRemove)) {
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.