Slight tweak to boolean PersistentDataType javadoc

This commit is contained in:
md_5 2023-05-27 12:26:31 +10:00
parent d2b99e567d
commit 01d577f539
No known key found for this signature in database
GPG key ID: E8E901AC7C617C11

View file

@ -61,7 +61,7 @@ public interface PersistentDataType<T, Z> {
/** /**
* A convenience implementation to convert between Byte and Boolean as there is * A convenience implementation to convert between Byte and Boolean as there is
* no native implementation for booleans. <br> * no native implementation for booleans. <br>
* Any byte value > 0 is considered to be true. * Any byte value not equal to 0 is considered to be true.
*/ */
PersistentDataType<Byte, Boolean> BOOLEAN = new BooleanPersistentDataType(); PersistentDataType<Byte, Boolean> BOOLEAN = new BooleanPersistentDataType();
@ -169,7 +169,7 @@ public interface PersistentDataType<T, Z> {
/** /**
* A convenience implementation to convert between Byte and Boolean as there is * A convenience implementation to convert between Byte and Boolean as there is
* no native implementation for booleans. <br> * no native implementation for booleans. <br>
* Any byte value > 0 is considered to be true. * Any byte value not equal to 0 is considered to be true.
*/ */
class BooleanPersistentDataType implements PersistentDataType<Byte, Boolean> { class BooleanPersistentDataType implements PersistentDataType<Byte, Boolean> {