MCPcopy Create free account
hub / github.com/apache/poi / setBoolean

Method setBoolean

src/java/org/apache/poi/util/BitField.java:286–290  ·  view source on GitHub ↗

Set a boolean BitField @param holder the int data containing the bits we're interested in @param flag indicating whether to set or clear the bits @return the value of holder with the specified bits set or cleared

(final int holder, final boolean flag)

Source from the content-addressed store, hash-verified

284 */
285
286 public int setBoolean(final int holder, final boolean flag)
287 {
288 return flag ? set(holder)
289 : clear(holder);
290 }
291
292 /**
293 * Set a boolean BitField

Callers 15

setTextLockedMethod · 0.80
setHiddenMethod · 0.80
setVeryHiddenMethod · 0.80
setRefreshAllMethod · 0.80
DVRecordMethod · 0.80
setAlwaysCalcMethod · 0.80
setRowOrColInpCellMethod · 0.80
setOneNotTwoVarMethod · 0.80
setColDeletedMethod · 0.80
setRowDeletedMethod · 0.80
setProtectMethod · 0.80
setHiddenMethod · 0.80

Calls 2

setMethod · 0.95
clearMethod · 0.95

Tested by 1

testSetBooleanMethod · 0.64