Package one.microstream.bytes
Class XBytes
- java.lang.Object
-
- one.microstream.bytes.XBytes
-
public final class XBytes extends Object
-
-
Constructor Summary
Constructors Constructor Description XBytes()
-
Method Summary
Modifier and Type Method Description static ByteOrderparseByteOrder(String byteOrder)Parses aStringinstance to aByteOrderinstance according toByteOrder#toString()or throws anIllegalArgumentExceptionif the passed string does not match exactely one of theByteOrderconstant instances' string representation.
-
-
-
Method Detail
-
parseByteOrder
public static final ByteOrder parseByteOrder(String byteOrder) throws IllegalArgumentException
Parses aStringinstance to aByteOrderinstance according toByteOrder#toString()or throws anIllegalArgumentExceptionif the passed string does not match exactely one of theByteOrderconstant instances' string representation.- Parameters:
byteOrder- the string representing theByteOrderinstance to be parsed.- Returns:
- the recognized
ByteOrder - Throws:
IllegalArgumentException- if the string can't be recognized as aByteOrderconstant instance.- See Also:
ByteOrder.toString()
-
-