Method equals(Object anObject)
Return type: boolean
Member of:
java.lang.String
[
api documentation
] [
main menu
]
Examples of how the element is used
(one line per example):
[
add your own example
]
1
if (s1.equals("true") || s1.equals("on") || s1.equals("yes"))
2
if (styleName.equals("bold"))
3
if ("configuration".equals(evt.getPropertyName())) { // NOI18N
4
assertTrue("Editor wasn't initialized successfuly (null) - value was " + initEditorValue,!initEditorValue.equals("null"));
5
return DEFAULT_ASSEMBLE_NAME + (featureId.equals("") ? "" : ("." + featureId)) + (configInfo.equals(Config.genericConfig()) ? "" : ("." + configInfo.toStringReplacingAny(".", ANY_STRING))); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$ //$NON-NLS-6$
6
configuration.setSynchronized(value.equals("yes"));
7
configuration.setCacheControl(value.equals("yes"));
8
if (cmd.equals("Save Bean")) doSaveBean();
9
if (lastOpened .equals("")) lastOpened = System.getProperty("user.dir");
10
_runButton.setEnabled(! _xmlTextField.getText().equals(""));
11
return s != null && s.equals ("T") ? Boolean.TRUE :
12
if (user.equals("")) user=null;
13
if (dbType.equals("mysql") && JRFProperties.propertyIsTrue("mysql.useInnoDB"))
14
if (!imprt.equals("java.lang")) {
15
createButton.setEnabled(!titleEditor.getText().equals("") &&
16
if ((modelName != null) && !modelName.equals(""))
17
if (name.equals(nextEnum.toString()))
18
if (localName.equals(n.getNodeName())) {
19
if (title == null || "".equals(title)) setTitle(getAppName());
20
return ("".equals(string.trim()))?null:string;
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.