MCPcopy Create free account
hub / github.com/AstroImageJ/astroimagej / equals

Method equals

Astronomy_/src/main/java/astroj/JSkyCalc.java:1761–1771  ·  view source on GitHub ↗
(Object arg)

Source from the content-addressed store, hash-verified

1759 }
1760
1761 public boolean equals(Object arg) {
1762 if((arg != null) && (arg instanceof Site)) {
1763 Site ss = (Site) arg;
1764 if(!(ss.name.equals(name))) return false;
1765 if(ss.lat.value != lat.value) return false;
1766 if(ss.longit.value != longit.value) return false;
1767 if(ss.stdz != stdz) return false;
1768 // close enough ...
1769 }
1770 return true;
1771 }
1772
1773 public Site clone() {
1774 try {

Callers 15

createPopupMenuMethod · 0.45
setRulerValuesMethod · 0.45
paintMethod · 0.45
mouseMovedMethod · 0.45
getColorTableMethod · 0.45
insertUpdateMethod · 0.45
removeUpdateMethod · 0.45
setRulerValuesMethod · 0.45
paintMethod · 0.45
paintThumbsMethod · 0.45
paintThumbMethod · 0.45
mouseMovedMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected