Method equals(Object obj)
Return type: boolean
Member of:
java.io.File
[
api documentation
] [
main menu
]
Examples of how the element is used
(one line per example):
[
add your own example
]
1
if (! file.equals("")) {
2
_proxyRemoveResourceHandlerLocal.setEnabled(!resource.equals(_contentPackage.getProjectFolder()));
3
if ((nf.exists() && !nf.equals(of)) || !of.renameTo (nf)) {
4
if (value != null && !value.equals(getDefault(key)))
5
if(file.equals(node.getFile()))
6
if (!newFile.equals (configFile)) {
7
if (hasFile() && (file.equals(tofind)))
8
if ( nbmFiles[i].getParentFile().equals( getInstallDownloadDirectory() ) ) {
9
if (result[i].equals(child))
10
if(parent.equals(root)){
11
} while(file != null && !file.equals(root));
12
if(!file.equals(archiver.getWorkDir())){
13
if (!this.stylesheet.equals(stylesheet)
14
if (p.exists () && !p.equals (tempdir)) {
15
else if(!files[i].equals(zipFile)) {
16
!lastSelectedDirectory.equals( selectedDirectory ) )
17
trav != null && !trav.equals(path);
18
if (newOutFile == null || !newOutFile.equals(this.outFile)) {
19
if (out==null || !file.equals(_file))
20
if (f.getParentFile().equals(autoClassPathDirectory) && isJar) {
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.