MCPcopy Create free account
hub / github.com/EdwardRaff/JSAT / equals

Method equals

JSAT/src/jsat/parameters/Parameter.java:155–164  ·  view source on GitHub ↗
(Object obj)

Source from the content-addressed store, hash-verified

153 abstract public String getValueString();
154
155 @Override
156 public boolean equals(Object obj)
157 {
158 if (obj == null)
159 return false;
160 if (getClass() != obj.getClass())
161 return false;
162 final Parameter other = (Parameter) obj;
163 return this.getName().equals(other.getName());
164 }
165
166 /**
167 * Creates a map of all possible parameter names to their corresponding object. No two parameters may have the same name.

Callers

nothing calls this directly

Calls 2

getNameMethod · 0.95
equalsMethod · 0.65

Tested by

no test coverage detected