Package org.fressian.impl
Class Fns
java.lang.Object
org.fressian.impl.Fns
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic int[]
bufferStringChunkUTF8
(CharSequence s, int start, byte[] byteBuffer) static UUID
byteArrayToUUID
(byte[] bytes) static IllegalArgumentException
static IllegalArgumentException
static Class
static int
intCast
(long x) static <K,
V> V static void
readUTF8Chars
(StringBuffer dest, byte[] source, int offset, int length) static <K,
V> Map.Entry <K, V> static <K,
V> K static <K,
V> Map <K, V> soloMap
(K k, V v) static <K,
V> V static int
utf8EncodingSize
(int ch) static byte[]
UUIDtoByteArray
(UUID uuid)
-
Constructor Details
-
Fns
public Fns()
-
-
Method Details
-
expected
-
expected
-
soloEntry
-
UUIDtoByteArray
-
byteArrayToUUID
-
soloKey
-
soloVal
-
soloMap
-
lookup
-
getClassOrNull
-
intCast
public static int intCast(long x) -
readUTF8Chars
-
utf8EncodingSize
public static int utf8EncodingSize(int ch) -
bufferStringChunkUTF8
public static int[] bufferStringChunkUTF8(CharSequence s, int start, byte[] byteBuffer) throws IOException - Throws:
IOException
-