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

Method setShortBoolean

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

Set a boolean BitField @param holder the short 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 short holder, final boolean flag)

Source from the content-addressed store, hash-verified

301 */
302
303 public short setShortBoolean(final short holder, final boolean flag)
304 {
305 return flag ? setShort(holder)
306 : clearShort(holder);
307 }
308
309 /**
310 * Set a boolean BitField

Callers 15

setHiddenMethod · 0.80
setIconicMethod · 0.80
setDisplayTabsMethod · 0.80
setDisplayFormulasMethod · 0.80
setDisplayGridlinesMethod · 0.80
setFreezePanesMethod · 0.80
setDisplayZerosMethod · 0.80
setDefaultHeaderMethod · 0.80
setArabicMethod · 0.80

Calls 2

setShortMethod · 0.95
clearShortMethod · 0.95

Tested by 1

testSetShortBooleanMethod · 0.64