MCPcopy Index your code
hub / github.com/cSploit/android / equals

Method equals

cSploit/src/org/csploit/android/net/Target.java:474–488  ·  view source on GitHub ↗
(Target target)

Source from the content-addressed store, hash-verified

472 }
473
474 public boolean equals(Target target){
475 if(mType == target.getType()){
476 if(mType == Type.NETWORK)
477 return mNetwork.equals(target.getNetwork());
478
479 else if(mType == Type.ENDPOINT)
480 return mEndpoint.equals(target.getEndpoint());
481
482 else if(mType == Type.REMOTE)
483 return mHostname.equals(target.getHostname());
484 }
485
486
487 return false;
488 }
489
490 public boolean equals(Object o){
491 return o instanceof Target && equals((Target) o);

Callers 15

getMsfRepoMethod · 0.45
getReleaseBodyMethod · 0.45
setBranchMethod · 0.45
fromHostMethod · 0.45
runMethod · 0.45
fromStringMethod · 0.45
mergeToMethod · 0.45
equalsMethod · 0.45
addReferenceMethod · 0.45
TargetMethod · 0.45
getDescriptionMethod · 0.45
isRouterMethod · 0.45

Calls 4

getEndpointMethod · 0.80
getHostnameMethod · 0.80
getTypeMethod · 0.45
getNetworkMethod · 0.45

Tested by

no test coverage detected