Skip to content

Commit

Permalink
Update javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
onacit committed Oct 30, 2022
1 parent dd654a0 commit ffda0da
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions src/main/java/com/github/jinahya/bit/io/FloatWriter.java
Original file line number Diff line number Diff line change
Expand Up @@ -276,26 +276,29 @@ public boolean isSignificandOnly() {
/**
* Replaces current value of {@code significandOnly} property with specified value.
*
* @param significandOnly new value for the {@code significandOnly} property; {@code true} for not reading the
* sign bit; {@code false} for reading the sign bit.
* @param significandOnly new value for the {@code significandOnly} property; {@code true} for writing the
* <em>significand</em> part only; {@code false} for including the <em>sign bit</em>.
*/
public void setSignificandOnly(final boolean significandOnly) {
this.significandOnly = significandOnly;
}

/**
* Invokes the {@link #setSignificandOnly(boolean)} method with specified argument and returns this object.
* Sets the {@code significandOnly} property with specified value.
*
* @param significandOnly the value for the {@code significand} argument.
* @param significandOnly new value for the {@code significand} property; {@code true} for not writing the sign
* bit, {@code false} otherwise.
* @return this object.
* @implSpec This method invokes the {@link #setSignificandOnly(boolean)} method with {@code significandOnly},
* and returns this object.
*/
public CompressedNaN significandOnly(final boolean significandOnly) {
setSignificandOnly(significandOnly);
return this;
}

/**
* Configures this writer not to write the sign bit.
* Configures this writer to write the <em>significand</em> part only.
*
* @return this object.
* @implSpec This method invokes the {@link #significandOnly(boolean)} method with {@code true}, and returns the
Expand Down

0 comments on commit ffda0da

Please sign in to comment.