MCPcopy Create free account
hub / github.com/apache/commons-lang / setByte

Method setByte

src/main/java/org/apache/commons/lang3/BitField.java:324–326  ·  view source on GitHub ↗

Sets the bits. @param holder the byte data containing the bits we're interested in @return the value of holder with the specified bits set to 1

(final byte holder)

Source from the content-addressed store, hash-verified

322 * @return the value of holder with the specified bits set to {@code 1}
323 */
324 public byte setByte(final byte holder) {
325 return (byte) set(holder);
326 }
327
328 /**
329 * Sets a boolean BitField.

Callers 1

setByteBooleanMethod · 0.95

Calls 1

setMethod · 0.95

Tested by

no test coverage detected