MCPcopy Create free account
hub / github.com/PCGen/pcgen / hasRow

Method hasRow

code/src/java/pcgen/cdom/format/table/DataTable.java:217–221  ·  view source on GitHub ↗

Returns true if the given object is appropriate as a lookup value (value in the first column) to get a row in this DataTable using the given LookupType. @param lookupType The LookupType used to determine how rows are analyzed to determine if one will be matched for the given l

(LookupType lookupType, Object lookupValue)

Source from the content-addressed store, hash-verified

215 * first column) to get a row in this DataTable using the given LookupType
216 */
217 public boolean hasRow(LookupType lookupType, Object lookupValue)
218 {
219 //Cast should be enforced by behavior of addColumn
220 return getRow(lookupType, lookupValue) != null;
221 }
222
223 /**
224 * Returns the FormatManager for the given column (zero indexed).

Callers 4

testBasicMethod · 0.95
testIndependenceMethod · 0.95
evaluateMethod · 0.95

Calls 1

getRowMethod · 0.95

Tested by 3

testBasicMethod · 0.76
testIndependenceMethod · 0.76