MCPcopy
hub / github.com/TeamNewPipe/NewPipe / equals

Method equals

app/src/main/java/org/schabi/newpipe/settings/tabs/Tab.java:119–126  ·  view source on GitHub ↗
(final Object obj)

Source from the content-addressed store, hash-verified

117 public abstract Fragment getFragment(Context context) throws ExtractionException;
118
119 @Override
120 public boolean equals(final Object obj) {
121 if (!(obj instanceof Tab)) {
122 return false;
123 }
124 final Tab other = (Tab) obj;
125 return getTabId() == other.getTabId();
126 }
127
128 @Override
129 public int hashCode() {

Callers 15

ultimateTestMethod · 0.45
onSuccessMethod · 0.45
showDialogMethod · 0.45
handleChoiceMethod · 0.45
getResultHandlerMethod · 0.45
MainActivityClass · 0.45
enhancePeertubeMenuMethod · 0.45
onItemSelectedMethod · 0.45
onNewIntentMethod · 0.45
onReceiveMethod · 0.45

Calls 1

getTabIdMethod · 0.95

Tested by 1

ultimateTestMethod · 0.36