Skip navigation links
A B C D E F G H I J K L M N O P R S T U V W 

A

add(T, T...) - Method in class net.morimekta.util.LinkedHashSetBuilder
 
addAll(Collection<T>) - Method in class net.morimekta.util.LinkedHashSetBuilder
 
addWatcher(FileWatcher.Watcher) - Method in class net.morimekta.util.FileWatcher
 
append(CharSequence) - Method in class net.morimekta.util.io.IndentedPrintWriter
 
append(CharSequence, int, int) - Method in class net.morimekta.util.io.IndentedPrintWriter
 
append(char) - Method in class net.morimekta.util.io.IndentedPrintWriter
 
appendln() - Method in class net.morimekta.util.io.IndentedPrintWriter
 
appendln(char) - Method in class net.morimekta.util.io.IndentedPrintWriter
 
appendln(CharSequence) - Method in class net.morimekta.util.io.IndentedPrintWriter
 
array() - Method in class net.morimekta.util.json.JsonWriter
 
array() - Method in class net.morimekta.util.json.PrettyJsonWriter
 
asInteger() - Method in interface net.morimekta.util.Numeric
Make an integer representation of the instance value.
asString() - Method in class net.morimekta.util.Binary
 
asString() - Method in class net.morimekta.util.Slice
Get the whole slice as a string.
asString() - Method in interface net.morimekta.util.Stringable
Make a string representation of the instance value.
asString(double) - Static method in class net.morimekta.util.Strings
Make a minimal printable string from a double value.
asString(Collection<?>) - Static method in class net.morimekta.util.Strings
Make a printable string from a collection using the tools here.
asString(Map<?, ?>) - Static method in class net.morimekta.util.Strings
Make a minimal printable string value from a typed map.
asString(Object) - Static method in class net.morimekta.util.Strings
Make an object into a string using the typed tools here.

B

Base64 - Class in net.morimekta.util
Minimal Base64 utility.
begin() - Method in class net.morimekta.util.io.IndentedPrintWriter
 
begin(String) - Method in class net.morimekta.util.io.IndentedPrintWriter
 
BigEndianBinaryReader - Class in net.morimekta.util.io
IO-Optimized binary reader using big-endian integer encoding.
BigEndianBinaryReader(InputStream) - Constructor for class net.morimekta.util.io.BigEndianBinaryReader
 
BigEndianBinaryWriter - Class in net.morimekta.util.io
IO-Optimized binary writer using big-endian integer encoding.
BigEndianBinaryWriter(OutputStream) - Constructor for class net.morimekta.util.io.BigEndianBinaryWriter
 
Binary - Class in net.morimekta.util
Simplistic byte sequence wrapper with lots of convenience methods.
Binary(byte[]) - Constructor for class net.morimekta.util.Binary
Create a binary instance that wraps a created byte array.
BinaryReader - Class in net.morimekta.util.io
IO-Optimized binary reader.
BinaryReader(InputStream) - Constructor for class net.morimekta.util.io.BinaryReader
 
BinaryWriter - Class in net.morimekta.util.io
IO-Optimized binary writer.
BinaryWriter(OutputStream) - Constructor for class net.morimekta.util.io.BinaryWriter
 
booleanValue() - Method in class net.morimekta.util.json.JsonToken
 
build() - Method in class net.morimekta.util.LinkedHashMapBuilder
 
build() - Method in class net.morimekta.util.LinkedHashSetBuilder
 
ByteBufferInputStream - Class in net.morimekta.util.io
Simple input stream backed by a byte buffer.
ByteBufferInputStream(ByteBuffer) - Constructor for class net.morimekta.util.io.ByteBufferInputStream
 
ByteBufferOutputStream - Class in net.morimekta.util.io
Simple output stream backed by a byte buffer.
ByteBufferOutputStream(ByteBuffer) - Constructor for class net.morimekta.util.io.ByteBufferOutputStream
 
byteValue() - Method in class net.morimekta.util.json.JsonToken
 

C

c_case(String, String, String) - Static method in class net.morimekta.util.Strings
Format a prefixed name as c_case.
c_case(String, String) - Static method in class net.morimekta.util.Strings
Format a prefixed name as c_case.
c_case(String) - Static method in class net.morimekta.util.Strings
Format a prefixed name as c_case.
camelCase(String, String) - Static method in class net.morimekta.util.Strings
Format a prefixed name as camelCase.
capitalize(String) - Static method in class net.morimekta.util.Strings
 
characteristics() - Method in class net.morimekta.util.ExtraStreams.IntRange
 
charAt(int) - Method in class net.morimekta.util.Slice
Get character at slice relative position.
close() - Method in class net.morimekta.util.FileWatcher
 
close() - Method in class net.morimekta.util.io.BinaryReader
 
close() - Method in class net.morimekta.util.io.BinaryWriter
 
close() - Method in class net.morimekta.util.io.CountingOutputStream
 
close() - Method in class net.morimekta.util.io.Utf8StreamReader
 
commonOverlap(String, String) - Static method in class net.morimekta.util.Strings
Determine if the suffix of one string is the prefix of another.
commonPrefix(String, String) - Static method in class net.morimekta.util.Strings
Determine the common prefix of two strings
commonSuffix(String, String) - Static method in class net.morimekta.util.Strings
Determine the common suffix of two strings
compareTo(Binary) - Method in class net.morimekta.util.Binary
 
compareTo(Slice) - Method in class net.morimekta.util.Slice
Compare slice with other slice.
contains(byte[]) - Method in class net.morimekta.util.Slice
Checks if the byte array is contained in the slice.
contains(byte) - Method in class net.morimekta.util.Slice
Checks if a single byte can be found in the slice.
containsAny(byte...) - Method in class net.morimekta.util.Slice
Checks if any of the provided bytes is contained in the slice.
context - Variable in class net.morimekta.util.json.JsonWriter
 
copy(byte[]) - Static method in class net.morimekta.util.Binary
Convenience method to copy a byte array into a byte sequence.
copy(byte[], int, int) - Static method in class net.morimekta.util.Binary
Convenience method to copy a part of a byte array into a byte sequence.
copy(InputStream, OutputStream) - Static method in class net.morimekta.util.io.IOUtils
Copy all available data from one stream to another.
CountingOutputStream - Class in net.morimekta.util.io
An output stream that counts the number of bytes written.
CountingOutputStream(OutputStream) - Constructor for class net.morimekta.util.io.CountingOutputStream
 

D

decode(byte[]) - Static method in class net.morimekta.util.Base64
Decode the Base64-encoded data in input and return the data in a new byte array.
decode(byte[], int, int) - Static method in class net.morimekta.util.Base64
Decode the Base64-encoded data in input and return the data in a new byte array.
decode(String) - Static method in class net.morimekta.util.Base64
Decodes data from Base64 notation.
decodeJsonLiteral() - Method in class net.morimekta.util.json.JsonToken
Get the whole slice as a string.
describe() - Method in exception net.morimekta.util.json.JsonException
 
describe() - Method in exception net.morimekta.util.json.UncheckedJsonException
 
doubleValue() - Method in class net.morimekta.util.json.JsonToken
 

E

empty() - Static method in class net.morimekta.util.Binary
Method to create a Binary with 0 bytes.
encode(byte[], int, int) - Static method in class net.morimekta.util.Base64
Encodes a byte array into Base64 data.
encode(byte[]) - Static method in class net.morimekta.util.Base64
Encodes a byte array into Base64 string.
encodeToString(byte[]) - Static method in class net.morimekta.util.Base64
Encodes a byte array into Base64 notation.
encodeToString(byte[], int, int) - Static method in class net.morimekta.util.Base64
Encodes a byte array into Base64 string.
end() - Method in class net.morimekta.util.io.IndentedPrintWriter
 
endArray() - Method in class net.morimekta.util.json.JsonWriter
 
endArray() - Method in class net.morimekta.util.json.PrettyJsonWriter
 
endObject() - Method in class net.morimekta.util.json.JsonWriter
 
endObject() - Method in class net.morimekta.util.json.PrettyJsonWriter
 
equals(Object) - Method in class net.morimekta.util.Binary
 
equals(Object) - Method in class net.morimekta.util.json.JsonToken
 
equals(Object) - Method in class net.morimekta.util.Slice
 
escape(CharSequence) - Static method in class net.morimekta.util.Strings
Properly java-escape the string for printing to console.
escape(char) - Static method in class net.morimekta.util.Strings
Escape a single character.
estimateSize() - Method in class net.morimekta.util.ExtraStreams.IntRange
 
expect(byte[]) - Method in class net.morimekta.util.io.BinaryReader
Read binary data from stream.
expect(String) - Method in class net.morimekta.util.json.JsonTokenizer
Expect a new JSON token on the stream.
expectBinary(int) - Method in class net.morimekta.util.io.BinaryReader
Read binary data from stream.
expectByte() - Method in class net.morimekta.util.io.BinaryReader
Read a byte from the input stream.
expectBytes(int) - Method in class net.morimekta.util.io.BinaryReader
Read binary data from stream.
expectDouble() - Method in class net.morimekta.util.io.BinaryReader
Read a double from the input stream.
expectInt() - Method in class net.morimekta.util.io.BinaryReader
Read an int from the input stream.
expectLong() - Method in class net.morimekta.util.io.BinaryReader
Read a long int from the input stream.
expectNumber(String) - Method in class net.morimekta.util.json.JsonTokenizer
Expect a JSON number.
expectShort() - Method in class net.morimekta.util.io.BinaryReader
Read a short from the input stream.
expectSigned(int) - Method in class net.morimekta.util.io.BinaryReader
Read an signed number from the input stream.
expectString(String) - Method in class net.morimekta.util.json.JsonTokenizer
Expect a string literal JSON token.
expectSymbol(String, char...) - Method in class net.morimekta.util.json.JsonTokenizer
Expect a string literal JSON token.
expectUInt16() - Method in class net.morimekta.util.io.BinaryReader
Read an unsigned short from the input stream.
expectUInt24() - Method in class net.morimekta.util.io.BinaryReader
Read an unsigned short from the input stream.
expectUInt32() - Method in class net.morimekta.util.io.BinaryReader
Read an unsigned int from the input stream.
expectUInt8() - Method in class net.morimekta.util.io.BinaryReader
Read an unsigned byte from the input stream.
expectUnsigned(int) - Method in class net.morimekta.util.io.BinaryReader
Read an unsigned number from the input stream.
ExtraStreams - Class in net.morimekta.util
Extra stream utilities.
ExtraStreams.IntRange - Class in net.morimekta.util
Range spliterator implementation.

F

fb - Variable in class net.morimekta.util.Slice
 
FileWatcher - Class in net.morimekta.util
File watcher helper for use with simple callbacks.
FileWatcher() - Constructor for class net.morimekta.util.FileWatcher
 
FileWatcher(WatchService, ExecutorService, ExecutorService) - Constructor for class net.morimekta.util.FileWatcher
 
FileWatcher.Watcher - Interface in net.morimekta.util
 
flush() - Method in class net.morimekta.util.io.CountingOutputStream
 
flush() - Method in class net.morimekta.util.json.JsonWriter
 
format(String, Object...) - Method in class net.morimekta.util.io.IndentedPrintWriter
 
format(Locale, String, Object...) - Method in class net.morimekta.util.io.IndentedPrintWriter
 
formatln(String, Object...) - Method in class net.morimekta.util.io.IndentedPrintWriter
 
fromBase64(String) - Static method in class net.morimekta.util.Binary
Decode base64 string and wrap the result in a byte sequence.
fromHexString(String) - Static method in class net.morimekta.util.Binary
Parse a hex string as bytes.

G

get() - Method in class net.morimekta.util.Binary
Get a copy of the backing array.
get(byte[]) - Method in class net.morimekta.util.Binary
Get a copy of the backing array.
getByteBuffer() - Method in class net.morimekta.util.Binary
Get a byte buffer wrapping the binary data.
getByteCount() - Method in class net.morimekta.util.io.CountingOutputStream
 
getCause() - Method in exception net.morimekta.util.json.UncheckedJsonException
 
getComparator() - Method in class net.morimekta.util.ExtraStreams.IntRange
 
getExactSizeIfKnown() - Method in class net.morimekta.util.ExtraStreams.IntRange
 
getInputStream() - Method in class net.morimekta.util.Binary
Get an input stream that reads from the stored bytes.
getLen() - Method in exception net.morimekta.util.json.JsonException
 
getLen() - Method in exception net.morimekta.util.json.UncheckedJsonException
 
getLine() - Method in exception net.morimekta.util.json.JsonException
 
getLine(int) - Method in class net.morimekta.util.json.JsonTokenizer
Returns the line requested.
getLine() - Method in exception net.morimekta.util.json.UncheckedJsonException
 
getLineNo() - Method in exception net.morimekta.util.json.JsonException
 
getLineNo() - Method in class net.morimekta.util.json.JsonToken
 
getLineNo() - Method in exception net.morimekta.util.json.UncheckedJsonException
 
getLinePos() - Method in exception net.morimekta.util.json.JsonException
 
getLinePos() - Method in class net.morimekta.util.json.JsonToken
 
getLinePos() - Method in exception net.morimekta.util.json.UncheckedJsonException
 
getLocalizedMessage() - Method in exception net.morimekta.util.json.UncheckedJsonException
 
getMessage() - Method in exception net.morimekta.util.json.UncheckedJsonException
 
getType() - Method in class net.morimekta.util.json.JsonToken
 

H

hashCode() - Method in class net.morimekta.util.Binary
 
hashCode() - Method in class net.morimekta.util.json.JsonToken
 
hashCode() - Method in class net.morimekta.util.Slice
 
hasNext() - Method in class net.morimekta.util.json.JsonTokenizer
Whether there is another token on the stream.

I

INDENT - Static variable in class net.morimekta.util.io.IndentedPrintWriter
 
IndentedPrintWriter - Class in net.morimekta.util.io
Print writer that prints lines with indent.
IndentedPrintWriter(OutputStream) - Constructor for class net.morimekta.util.io.IndentedPrintWriter
 
IndentedPrintWriter(OutputStream, String, String) - Constructor for class net.morimekta.util.io.IndentedPrintWriter
 
IndentedPrintWriter(Writer) - Constructor for class net.morimekta.util.io.IndentedPrintWriter
 
IndentedPrintWriter(Writer, String, String) - Constructor for class net.morimekta.util.io.IndentedPrintWriter
 
IntRange(int, int, int) - Constructor for class net.morimekta.util.ExtraStreams.IntRange
Create a range from start with limit and increment step.
intValue() - Method in class net.morimekta.util.json.JsonToken
 
IOUtils - Class in net.morimekta.util.io
IO Stream static utilities.
isBoolean() - Method in class net.morimekta.util.json.JsonToken
 
isDouble() - Method in class net.morimekta.util.json.JsonToken
 
isInteger() - Method in class net.morimekta.util.json.JsonToken
 
isInteger(String) - Static method in class net.morimekta.util.Strings
Check if the string is representing an integer (or long) value.
isLiteral() - Method in class net.morimekta.util.json.JsonToken
 
isNull() - Method in class net.morimekta.util.json.JsonToken
 
isNumber() - Method in class net.morimekta.util.json.JsonToken
 
isSymbol() - Method in class net.morimekta.util.json.JsonToken
 
isSymbol(char) - Method in class net.morimekta.util.json.JsonToken
 

J

join(String, Object...) - Static method in class net.morimekta.util.Strings
Join set of arbitrary values with delimiter.
join(String, Collection<T>) - Static method in class net.morimekta.util.Strings
Join collection with delimiter.
joinP(String, char...) - Static method in class net.morimekta.util.Strings
Join array with delimiter.
joinP(String, int...) - Static method in class net.morimekta.util.Strings
Join array with delimiter.
joinP(String, long...) - Static method in class net.morimekta.util.Strings
Join array with delimiter.
joinP(String, double...) - Static method in class net.morimekta.util.Strings
Join array with delimiter.
joinP(String, boolean...) - Static method in class net.morimekta.util.Strings
Join array with delimiter.
JsonException - Exception in net.morimekta.util.json
Exception in JSON parsing or generation.
JsonException(String) - Constructor for exception net.morimekta.util.json.JsonException
 
JsonException(String, String, int, int, int) - Constructor for exception net.morimekta.util.json.JsonException
 
JsonException(String, JsonTokenizer, JsonToken) - Constructor for exception net.morimekta.util.json.JsonException
 
JsonToken - Class in net.morimekta.util.json
 
JsonToken(JsonToken.Type, byte[], int, int, int, int) - Constructor for class net.morimekta.util.json.JsonToken
 
JsonToken.Type - Enum in net.morimekta.util.json
 
JsonTokenizer - Class in net.morimekta.util.json
Class for tokenizing a JSON document and return one token at a time.
JsonTokenizer(InputStream) - Constructor for class net.morimekta.util.json.JsonTokenizer
Create a JSON tokenizer that reads from the input steam.
JsonWriter - Class in net.morimekta.util.json
IO-optimized JSON writer.
JsonWriter(OutputStream) - Constructor for class net.morimekta.util.json.JsonWriter
 
JsonWriter(PrintWriter) - Constructor for class net.morimekta.util.json.JsonWriter
 

K

key(boolean) - Method in class net.morimekta.util.json.JsonWriter
 
key(byte) - Method in class net.morimekta.util.json.JsonWriter
 
key(short) - Method in class net.morimekta.util.json.JsonWriter
 
key(int) - Method in class net.morimekta.util.json.JsonWriter
 
key(long) - Method in class net.morimekta.util.json.JsonWriter
 
key(double) - Method in class net.morimekta.util.json.JsonWriter
 
key(CharSequence) - Method in class net.morimekta.util.json.JsonWriter
 
key(Binary) - Method in class net.morimekta.util.json.JsonWriter
 
key(boolean) - Method in class net.morimekta.util.json.PrettyJsonWriter
 
key(byte) - Method in class net.morimekta.util.json.PrettyJsonWriter
 
key(short) - Method in class net.morimekta.util.json.PrettyJsonWriter
 
key(int) - Method in class net.morimekta.util.json.PrettyJsonWriter
 
key(long) - Method in class net.morimekta.util.json.PrettyJsonWriter
 
key(double) - Method in class net.morimekta.util.json.PrettyJsonWriter
 
key(CharSequence) - Method in class net.morimekta.util.json.PrettyJsonWriter
 
key(Binary) - Method in class net.morimekta.util.json.PrettyJsonWriter
 
keyLiteral(CharSequence) - Method in class net.morimekta.util.json.JsonWriter
 
keyLiteral(CharSequence) - Method in class net.morimekta.util.json.PrettyJsonWriter
 
kFalse - Static variable in class net.morimekta.util.json.JsonWriter
 
kKeyValSep - Static variable in class net.morimekta.util.json.JsonToken
 
kListEnd - Static variable in class net.morimekta.util.json.JsonToken
 
kListSep - Static variable in class net.morimekta.util.json.JsonToken
 
kListStart - Static variable in class net.morimekta.util.json.JsonToken
 
kMapEnd - Static variable in class net.morimekta.util.json.JsonToken
 
kMapStart - Static variable in class net.morimekta.util.json.JsonToken
 
kNull - Static variable in class net.morimekta.util.json.JsonWriter
 
kTrue - Static variable in class net.morimekta.util.json.JsonWriter
 

L

len - Variable in class net.morimekta.util.Slice
 
length() - Method in class net.morimekta.util.Binary
Get the length of the backing array.
length() - Method in class net.morimekta.util.Slice
Get the total length of the slice.
lineNo - Variable in class net.morimekta.util.json.JsonToken
 
linePos - Variable in class net.morimekta.util.json.JsonToken
 
LinkedHashMapBuilder<K,V> - Class in net.morimekta.util
Builder for LinkedHashMap similar to that of the guava Immutable maps.
LinkedHashMapBuilder() - Constructor for class net.morimekta.util.LinkedHashMapBuilder
 
LinkedHashSetBuilder<T> - Class in net.morimekta.util
Builder for LinkedHashSet similar to that of the guava Immutable sets.
LinkedHashSetBuilder() - Constructor for class net.morimekta.util.LinkedHashSetBuilder
 
LittleEndianBinaryReader - Class in net.morimekta.util.io
IO-Optimized binary reader using little-endian integer encoding.
LittleEndianBinaryReader(InputStream) - Constructor for class net.morimekta.util.io.LittleEndianBinaryReader
 
LittleEndianBinaryWriter - Class in net.morimekta.util.io
IO-Optimized binary writer using little-endian integer encoding.
LittleEndianBinaryWriter(OutputStream) - Constructor for class net.morimekta.util.io.LittleEndianBinaryWriter
 
lockForReading(Runnable) - Method in interface net.morimekta.util.concurrent.ReadWriteMutex
Lock the config for a read operation that must be read atomic.
lockForReading(Supplier<V>) - Method in interface net.morimekta.util.concurrent.ReadWriteMutex
Lock the config for a read operation that must be read atomic.
lockForReading(Runnable) - Method in class net.morimekta.util.concurrent.ReentrantReadWriteMutex
 
lockForReading(Supplier<V>) - Method in class net.morimekta.util.concurrent.ReentrantReadWriteMutex
 
lockForWriting(Runnable) - Method in interface net.morimekta.util.concurrent.ReadWriteMutex
Lock the config for a write operation that must be write atomic, and could interfere with read operations.
lockForWriting(Supplier<V>) - Method in interface net.morimekta.util.concurrent.ReadWriteMutex
Lock the config for a write operation that must be write atomic, and could interfere with read operations.
lockForWriting(Runnable) - Method in class net.morimekta.util.concurrent.ReentrantReadWriteMutex
 
lockForWriting(Supplier<V>) - Method in class net.morimekta.util.concurrent.ReentrantReadWriteMutex
 
longValue() - Method in class net.morimekta.util.json.JsonToken
 

M

mark(int) - Method in class net.morimekta.util.io.ByteBufferInputStream
 
markSupported() - Method in class net.morimekta.util.io.ByteBufferInputStream
 

N

net.morimekta.util - package net.morimekta.util
 
net.morimekta.util.concurrent - package net.morimekta.util.concurrent
 
net.morimekta.util.io - package net.morimekta.util.io
 
net.morimekta.util.json - package net.morimekta.util.json
 
NEWLINE - Static variable in class net.morimekta.util.io.IndentedPrintWriter
 
newline() - Method in class net.morimekta.util.io.IndentedPrintWriter
 
next() - Method in class net.morimekta.util.json.JsonTokenizer
Returns the next token on the stream, or null if there are no more JSON tokens on the stream.
Numeric - Interface in net.morimekta.util
A value that can be made into an int.

O

object() - Method in class net.morimekta.util.json.JsonWriter
 
object() - Method in class net.morimekta.util.json.PrettyJsonWriter
 
off - Variable in class net.morimekta.util.Slice
 
onFileUpdate(File) - Method in interface net.morimekta.util.FileWatcher.Watcher
 
out - Variable in class net.morimekta.util.io.BinaryWriter
 

P

parseDouble() - Method in class net.morimekta.util.Slice
Get the whole slice as a real number.
parseInteger() - Method in class net.morimekta.util.Slice
Get the whole slice as a simple integer.
peek(String) - Method in class net.morimekta.util.json.JsonTokenizer
Return the next token or throw an exception.
PrettyJsonWriter - Class in net.morimekta.util.json
JSON Writer that automatically prints prettified JSON based on the inherent structure of the data.
PrettyJsonWriter(OutputStream) - Constructor for class net.morimekta.util.json.PrettyJsonWriter
Create a Prettified JSON writer that writes to the given output stream.
PrettyJsonWriter(IndentedPrintWriter) - Constructor for class net.morimekta.util.json.PrettyJsonWriter
Create a Prettified JSON writer that writes to the given indented print writer.
printf(String, Object...) - Method in class net.morimekta.util.io.IndentedPrintWriter
 
printf(Locale, String, Object...) - Method in class net.morimekta.util.io.IndentedPrintWriter
 
println() - Method in class net.morimekta.util.io.IndentedPrintWriter
 
println(boolean) - Method in class net.morimekta.util.io.IndentedPrintWriter
 
println(char) - Method in class net.morimekta.util.io.IndentedPrintWriter
 
println(int) - Method in class net.morimekta.util.io.IndentedPrintWriter
 
println(long) - Method in class net.morimekta.util.io.IndentedPrintWriter
 
println(float) - Method in class net.morimekta.util.io.IndentedPrintWriter
 
println(double) - Method in class net.morimekta.util.io.IndentedPrintWriter
 
println(char[]) - Method in class net.morimekta.util.io.IndentedPrintWriter
 
println(String) - Method in class net.morimekta.util.io.IndentedPrintWriter
 
println(Object) - Method in class net.morimekta.util.io.IndentedPrintWriter
 
put(K, V) - Method in class net.morimekta.util.LinkedHashMapBuilder
 
putAll(Map<K, V>) - Method in class net.morimekta.util.LinkedHashMapBuilder
 

R

range(int, int) - Static method in class net.morimekta.util.ExtraStreams
Make an integer range stream using the standard [start and include -> end not including) definition with an increment of 1.
range(int, int, int) - Static method in class net.morimekta.util.ExtraStreams
Make an integer range stream using the standard [start and include -> end not including) definition.
range(int, int, int, boolean) - Static method in class net.morimekta.util.ExtraStreams
Make an integer range stream using the standard [start and include -> end not including) definition.
read(InputStream, int) - Static method in class net.morimekta.util.Binary
Read a binary buffer from input stream.
read() - Method in class net.morimekta.util.io.BinaryReader
Read a single byte.
read(byte[]) - Method in class net.morimekta.util.io.BinaryReader
Read binary data from stream.
read(byte[], int, int) - Method in class net.morimekta.util.io.BinaryReader
Read binary data from stream.
read() - Method in class net.morimekta.util.io.ByteBufferInputStream
 
read(byte[]) - Method in class net.morimekta.util.io.ByteBufferInputStream
 
read(byte[], int, int) - Method in class net.morimekta.util.io.ByteBufferInputStream
 
read(char[], int, int) - Method in class net.morimekta.util.io.Utf8StreamReader
 
readIntVarint() - Method in class net.morimekta.util.io.BinaryReader
Write a signed number as varint (integer with variable number of bytes, determined as part of the bytes themselves.
readIntZigzag() - Method in class net.morimekta.util.io.BinaryReader
Read a long number as zigzag encoded from the stream.
readLongVarint() - Method in class net.morimekta.util.io.BinaryReader
Write a signed number as varint (integer with variable number of bytes, determined as part of the bytes themselves.
readLongZigzag() - Method in class net.morimekta.util.io.BinaryReader
Read a long number as zigzag encoded from the stream.
readString(InputStream) - Static method in class net.morimekta.util.io.IOUtils
Read next string from input stream.
readString(InputStream, String) - Static method in class net.morimekta.util.io.IOUtils
Read next string from input stream.
readString(Reader) - Static method in class net.morimekta.util.io.IOUtils
Read next string from input stream.
readString(Reader, char) - Static method in class net.morimekta.util.io.IOUtils
Read next string from input stream.
readString(Reader, String) - Static method in class net.morimekta.util.io.IOUtils
Read next string from input stream.
readUInt16() - Method in class net.morimekta.util.io.BinaryReader
Read an unsigned short from the input stream.
ReadWriteMutex - Interface in net.morimekta.util.concurrent
Interface for wrapping a read-write muted into java-8 functional interface.
ready() - Method in class net.morimekta.util.io.Utf8StreamReader
 
ReentrantReadWriteMutex - Class in net.morimekta.util.concurrent
A re-entrant read-write mutex wrapper.
ReentrantReadWriteMutex() - Constructor for class net.morimekta.util.concurrent.ReentrantReadWriteMutex
 
removeWatcher(FileWatcher.Watcher) - Method in class net.morimekta.util.FileWatcher
 
reset() - Method in class net.morimekta.util.io.ByteBufferInputStream
 
reset() - Method in class net.morimekta.util.json.JsonWriter
 

S

shortValue() - Method in class net.morimekta.util.json.JsonToken
 
skipUntil(InputStream, byte[]) - Static method in class net.morimekta.util.io.IOUtils
Skip all bytes in stream until (and including) given separator is found.
skipUntil(InputStream, byte) - Static method in class net.morimekta.util.io.IOUtils
Skip all bytes in stream until (and including) given byte is found.
Slice - Class in net.morimekta.util
A slice of a byte array.
Slice(byte[], int, int) - Constructor for class net.morimekta.util.Slice
Create a slice instance.
startKey() - Method in class net.morimekta.util.json.JsonWriter
 
startKey() - Method in class net.morimekta.util.json.PrettyJsonWriter
 
startValue() - Method in class net.morimekta.util.json.JsonWriter
 
startValue() - Method in class net.morimekta.util.json.PrettyJsonWriter
 
startWatching(File) - Method in class net.morimekta.util.FileWatcher
 
stopWatching(File) - Method in class net.morimekta.util.FileWatcher
 
strEquals(byte[]) - Method in class net.morimekta.util.Slice
Checks if the slice is equal to given byte array.
strEquals(byte[], int, int) - Method in class net.morimekta.util.Slice
Checks if the slice is equal to a portion of a given byte array.
Stringable - Interface in net.morimekta.util
A class that can be made into a string.
Strings - Class in net.morimekta.util
String utilities.
substring(int, int) - Method in class net.morimekta.util.Slice
Create a substring slice based on the current slice.

T

times(int) - Static method in class net.morimekta.util.ExtraStreams
Make a range stream from 0 to (but not including) N.
times(String, int) - Static method in class net.morimekta.util.Strings
Multiply a string N times.
toBase64() - Method in class net.morimekta.util.Binary
Get the sequence encoded as base64.
toHexString() - Method in class net.morimekta.util.Binary
Make a hex string from a byte array.
toString() - Method in class net.morimekta.util.Binary
 
toString() - Method in exception net.morimekta.util.json.JsonException
 
toString() - Method in class net.morimekta.util.json.JsonToken
 
toString() - Method in exception net.morimekta.util.json.UncheckedJsonException
 
toString() - Method in class net.morimekta.util.Slice
 
tryAdvance(IntConsumer) - Method in class net.morimekta.util.ExtraStreams.IntRange
 
trySplit() - Method in class net.morimekta.util.ExtraStreams.IntRange
 
type - Variable in class net.morimekta.util.json.JsonToken
 

U

UncheckedJsonException - Exception in net.morimekta.util.json
Unchecked (runtime) JsonException wrapper that can be used in streams etc.
UncheckedJsonException(JsonException) - Constructor for exception net.morimekta.util.json.UncheckedJsonException
 
unescapeForEncodeUriCompatability(String) - Static method in class net.morimekta.util.Strings
Unescape selected chars for compatability with JavaScript's encodeURI.
unshift2bytes(int, int) - Method in class net.morimekta.util.io.BigEndianBinaryReader
 
unshift2bytes(int, int) - Method in class net.morimekta.util.io.BinaryReader
 
unshift2bytes(int, int) - Method in class net.morimekta.util.io.LittleEndianBinaryReader
 
unshift3bytes(int, int, int) - Method in class net.morimekta.util.io.BigEndianBinaryReader
 
unshift3bytes(int, int, int) - Method in class net.morimekta.util.io.BinaryReader
 
unshift3bytes(int, int, int) - Method in class net.morimekta.util.io.LittleEndianBinaryReader
 
unshift4bytes(int, int, int, int) - Method in class net.morimekta.util.io.BigEndianBinaryReader
 
unshift4bytes(int, int, int, int) - Method in class net.morimekta.util.io.BinaryReader
 
unshift4bytes(int, int, int, int) - Method in class net.morimekta.util.io.LittleEndianBinaryReader
 
unshift8bytes(long, long, long, long, long, long, long, long) - Method in class net.morimekta.util.io.BigEndianBinaryReader
 
unshift8bytes(long, long, long, long, long, long, long, long) - Method in class net.morimekta.util.io.BinaryReader
 
unshift8bytes(long, long, long, long, long, long, long, long) - Method in class net.morimekta.util.io.LittleEndianBinaryReader
 
Utf8StreamReader - Class in net.morimekta.util.io
Similar to java native InputStreamReader, but locked to utf-8, and explicitly with no buffering whatsoever.
Utf8StreamReader(InputStream) - Constructor for class net.morimekta.util.io.Utf8StreamReader
 

V

value(boolean) - Method in class net.morimekta.util.json.JsonWriter
 
value(byte) - Method in class net.morimekta.util.json.JsonWriter
 
value(short) - Method in class net.morimekta.util.json.JsonWriter
 
value(int) - Method in class net.morimekta.util.json.JsonWriter
 
value(long) - Method in class net.morimekta.util.json.JsonWriter
 
value(double) - Method in class net.morimekta.util.json.JsonWriter
 
value(CharSequence) - Method in class net.morimekta.util.json.JsonWriter
 
value(Binary) - Method in class net.morimekta.util.json.JsonWriter
 
value(boolean) - Method in class net.morimekta.util.json.PrettyJsonWriter
 
value(byte) - Method in class net.morimekta.util.json.PrettyJsonWriter
 
value(short) - Method in class net.morimekta.util.json.PrettyJsonWriter
 
value(int) - Method in class net.morimekta.util.json.PrettyJsonWriter
 
value(long) - Method in class net.morimekta.util.json.PrettyJsonWriter
 
value(double) - Method in class net.morimekta.util.json.PrettyJsonWriter
 
value(CharSequence) - Method in class net.morimekta.util.json.PrettyJsonWriter
 
value(Binary) - Method in class net.morimekta.util.json.PrettyJsonWriter
 
valueLiteral(CharSequence) - Method in class net.morimekta.util.json.JsonWriter
 
valueLiteral(CharSequence) - Method in class net.morimekta.util.json.PrettyJsonWriter
 
valueOf(String) - Static method in enum net.morimekta.util.json.JsonToken.Type
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.morimekta.util.json.JsonToken.Type
Returns an array containing the constants of this enum type, in the order they are declared.

W

wrap(byte[]) - Static method in class net.morimekta.util.Binary
Convenience method to wrap a byte array into a byte sequence.
write(OutputStream) - Method in class net.morimekta.util.Binary
Write bytes to output stream.
write(int) - Method in class net.morimekta.util.io.BinaryWriter
 
write(byte[]) - Method in class net.morimekta.util.io.BinaryWriter
 
write(byte[], int, int) - Method in class net.morimekta.util.io.BinaryWriter
 
write(int) - Method in class net.morimekta.util.io.ByteBufferOutputStream
 
write(byte[]) - Method in class net.morimekta.util.io.ByteBufferOutputStream
 
write(byte[], int, int) - Method in class net.morimekta.util.io.ByteBufferOutputStream
 
write(int) - Method in class net.morimekta.util.io.CountingOutputStream
 
write(byte[]) - Method in class net.morimekta.util.io.CountingOutputStream
 
write(byte[], int, int) - Method in class net.morimekta.util.io.CountingOutputStream
 
writeBinary(Binary) - Method in class net.morimekta.util.io.BinaryWriter
Write the content of binary to output stream.
writeByte(byte) - Method in class net.morimekta.util.io.BinaryWriter
Write a signed byte to the output stream.
writeDouble(double) - Method in class net.morimekta.util.io.BinaryWriter
Write a double value to stream.
writeInt(int) - Method in class net.morimekta.util.io.BigEndianBinaryWriter
 
writeInt(int) - Method in class net.morimekta.util.io.BinaryWriter
Write a signed int to the output stream.
writeInt(int) - Method in class net.morimekta.util.io.LittleEndianBinaryWriter
 
writeLong(long) - Method in class net.morimekta.util.io.BigEndianBinaryWriter
 
writeLong(long) - Method in class net.morimekta.util.io.BinaryWriter
Write a signed long to the output stream.
writeLong(long) - Method in class net.morimekta.util.io.LittleEndianBinaryWriter
 
writeShort(short) - Method in class net.morimekta.util.io.BigEndianBinaryWriter
 
writeShort(short) - Method in class net.morimekta.util.io.BinaryWriter
Write a signed short to the output stream.
writeShort(short) - Method in class net.morimekta.util.io.LittleEndianBinaryWriter
 
writeSigned(int, int) - Method in class net.morimekta.util.io.BinaryWriter
 
writeSigned(long, int) - Method in class net.morimekta.util.io.BinaryWriter
 
writeUInt16(int) - Method in class net.morimekta.util.io.BigEndianBinaryWriter
 
writeUInt16(int) - Method in class net.morimekta.util.io.BinaryWriter
 
writeUInt16(int) - Method in class net.morimekta.util.io.LittleEndianBinaryWriter
 
writeUInt24(int) - Method in class net.morimekta.util.io.BigEndianBinaryWriter
 
writeUInt24(int) - Method in class net.morimekta.util.io.BinaryWriter
 
writeUInt24(int) - Method in class net.morimekta.util.io.LittleEndianBinaryWriter
 
writeUInt32(int) - Method in class net.morimekta.util.io.BigEndianBinaryWriter
 
writeUInt32(int) - Method in class net.morimekta.util.io.BinaryWriter
 
writeUInt32(int) - Method in class net.morimekta.util.io.LittleEndianBinaryWriter
 
writeUInt8(int) - Method in class net.morimekta.util.io.BinaryWriter
 
writeUnsigned(int, int) - Method in class net.morimekta.util.io.BinaryWriter
 
writeVarint(int) - Method in class net.morimekta.util.io.BinaryWriter
Write a signed number as varint (integer with variable number of bytes, determined as part of the bytes themselves.
writeVarint(long) - Method in class net.morimekta.util.io.BinaryWriter
Write a signed number as varint (integer with variable number of bytes, determined as part of the bytes themselves.
writeZigzag(int) - Method in class net.morimekta.util.io.BinaryWriter
Write a long number as zigzag encoded to the stream.
writeZigzag(long) - Method in class net.morimekta.util.io.BinaryWriter
Write a long number as zigzag encoded to the stream.
A B C D E F G H I J K L M N O P R S T U V W 
Skip navigation links

Copyright © 2017. All rights reserved.