docs update

This commit is contained in:
Jonathan Shook
2021-04-21 11:50:20 -05:00
parent 5164a4d3e1
commit 1c23d5a5ff
4 changed files with 18 additions and 8 deletions

View File

@@ -17,10 +17,16 @@ public class ToHexString implements Function<ByteBuffer,String> {
private final boolean useUpperCase;
/**
* Convert the ByteBuffer's contents to a hex string using upper case by default.
*/
public ToHexString() {
this(true);
}
/**
* Convert the ByteBuffer's contents to a hex string upper or lower case.
*/
public ToHexString(boolean useUpperCase) {
this.useUpperCase = useUpperCase;
}

View File

@@ -13,7 +13,7 @@ import java.util.function.LongFunction;
/**
* Converts the byte image of the input long to a MD5 digest in ByteBuffer form.
*/
@Categories(Category.conversion)
@Categories({Category.conversion,Category.premade})
@ThreadSafeMapper
public class ToMD5ByteBuffer implements LongFunction<ByteBuffer> {