MCPcopy Index your code
hub / github.com/processing/processing / equals

Method equals

java/src/processing/mode/java/debug/LineID.java:90–106  ·  view source on GitHub ↗

Test whether this LineID is equal to another object. Two LineID's are equal when both their fileName and lineNo are equal. @param obj the object to test for equality @return true if equal

(Object obj)

Source from the content-addressed store, hash-verified

88 * @return {@code true} if equal
89 */
90 @Override
91 public boolean equals(Object obj) {
92 if (obj == null) {
93 return false;
94 }
95 if (getClass() != obj.getClass()) {
96 return false;
97 }
98 final LineID other = (LineID) obj;
99 if ((this.fileName == null) ? (other.fileName != null) : !this.fileName.equals(other.fileName)) {
100 return false;
101 }
102 if (this.lineIdx != other.lineIdx) {
103 return false;
104 }
105 return true;
106 }
107
108
109 /**

Callers 15

checkFontMethod · 0.45
transferMethod · 0.45
isSimulatedMethod · 0.45
actionPerformedMethod · 0.45
propertyChangeMethod · 0.45
switchToTabMethod · 0.45
clearCurrentLineMethod · 0.45
addBreakpointedLineMethod · 0.45
isInCurrentTabMethod · 0.45
getTabMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected