A B C D E F G H I J K L M N O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- add(boolean) - Method in class net.morimekta.util.StrongHashBuilder
- add(boolean[]) - Method in class net.morimekta.util.StrongHashBuilder
- add(byte) - Method in class net.morimekta.util.StrongHashBuilder
- add(byte[]) - Method in class net.morimekta.util.StrongHashBuilder
- add(char) - Method in class net.morimekta.util.StrongHashBuilder
- add(char[]) - Method in class net.morimekta.util.StrongHashBuilder
- add(double) - Method in class net.morimekta.util.StrongHashBuilder
- add(double[]) - Method in class net.morimekta.util.StrongHashBuilder
- add(float) - Method in class net.morimekta.util.StrongHashBuilder
- add(float[]) - Method in class net.morimekta.util.StrongHashBuilder
- add(int) - Method in class net.morimekta.util.StrongHashBuilder
- add(int[]) - Method in class net.morimekta.util.StrongHashBuilder
- add(int, E) - Method in class net.morimekta.util.collect.UnmodifiableList
- add(long) - Method in class net.morimekta.util.StrongHashBuilder
- add(long[]) - Method in class net.morimekta.util.StrongHashBuilder
- add(short) - Method in class net.morimekta.util.StrongHashBuilder
- add(short[]) - Method in class net.morimekta.util.StrongHashBuilder
- add(E) - Method in class net.morimekta.util.collect.UnmodifiableCollection
- add(E) - Method in interface net.morimekta.util.collect.UnmodifiableCollectionBuilder
-
Add a single element to the collection.
- add(E) - Method in class net.morimekta.util.collect.UnmodifiableList.Builder
- add(E) - Method in class net.morimekta.util.collect.UnmodifiableSet.Builder
- add(E) - Method in class net.morimekta.util.collect.UnmodifiableSortedSet.Builder
- add(CharSequence) - Method in class net.morimekta.util.StrongHashBuilder
- add(Object) - Method in class net.morimekta.util.StrongHashBuilder
- add(Collection) - Method in class net.morimekta.util.StrongHashBuilder
- add(Map) - Method in class net.morimekta.util.StrongHashBuilder
- add(StrongHashable) - Method in class net.morimekta.util.StrongHashBuilder
- add(T[]) - Method in class net.morimekta.util.StrongHashBuilder
- addAll(int, Collection<? extends E>) - Method in class net.morimekta.util.collect.UnmodifiableList
- addAll(E...) - Method in interface net.morimekta.util.collect.UnmodifiableCollectionBuilder
-
Add any number of elements to the collection.
- addAll(E...) - Method in class net.morimekta.util.collect.UnmodifiableList.Builder
- addAll(E...) - Method in class net.morimekta.util.collect.UnmodifiableSet.Builder
- addAll(E...) - Method in class net.morimekta.util.collect.UnmodifiableSortedSet.Builder
- addAll(Iterable<? extends E>) - Method in interface net.morimekta.util.collect.UnmodifiableCollectionBuilder
-
Add all items in an iterable to the collection.
- addAll(Collection<? extends E>) - Method in class net.morimekta.util.collect.UnmodifiableCollection
- addAll(Collection<? extends E>) - Method in interface net.morimekta.util.collect.UnmodifiableCollectionBuilder
-
Add all elements from source collection to this collection.
- addAll(Collection<? extends E>) - Method in class net.morimekta.util.collect.UnmodifiableList.Builder
- addAll(Collection<? extends E>) - Method in class net.morimekta.util.collect.UnmodifiableSet.Builder
- addAll(Collection<? extends E>) - Method in class net.morimekta.util.collect.UnmodifiableSortedSet.Builder
- addAll(Enumeration<? extends E>) - Method in interface net.morimekta.util.collect.UnmodifiableCollectionBuilder
-
Add all items from enumeration to collection.
- addAll(Iterator<? extends E>) - Method in interface net.morimekta.util.collect.UnmodifiableCollectionBuilder
-
Add all items from iterator to collection.
- addWatcher(File, FileWatcher.Listener) - Method in class net.morimekta.util.FileWatcher
-
Deprecated.
- addWatcher(File, FileWatcher.Watcher) - Method in class net.morimekta.util.FileWatcher
-
Deprecated.
- addWatcher(Path, FileWatcher.Listener) - Method in class net.morimekta.util.FileWatcher
-
Start watching file path and notify watcher for updates on that file.
- addWatcher(Path, FileWatcher.Watcher) - Method in class net.morimekta.util.FileWatcher
-
Deprecated.
- addWatcher(FileWatcher.Listener) - Method in class net.morimekta.util.FileWatcher
-
Deprecated.
- addWatcher(FileWatcher.Watcher) - Method in class net.morimekta.util.FileWatcher
-
Deprecated.
- allowIdentifier(int) - Method in class net.morimekta.util.lexer.TokenizerBase
- append(char) - Method in class net.morimekta.util.io.IndentedPrintWriter
- append(CharSequence) - Method in class net.morimekta.util.io.IndentedPrintWriter
- append(CharSequence, int, int) - 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 - Variable in class net.morimekta.util.collect.UnmodifiableCollection
- array() - Method in class net.morimekta.util.json.JsonWriter
-
Start an array value.
- array() - Method in class net.morimekta.util.json.PrettyJsonWriter
- array() - Method in class net.morimekta.util.Tuple
- ArrayUtil - Class in net.morimekta.util
-
Simple utility for handling primitive arrays.
- asInteger() - Method in interface net.morimekta.util.Numeric
-
Make an integer representation of the instance value.
- asList() - Method in class net.morimekta.util.collect.UnmodifiableCollection
-
Get the collection as an unmodifiable random access list.
- asList() - Method in class net.morimekta.util.collect.UnmodifiableList
- asList(E...) - Static method in class net.morimekta.util.collect.Unmodifiables
- asSet(E...) - Static method in class net.morimekta.util.collect.Unmodifiables
- asSortedSet(E...) - Static method in class net.morimekta.util.collect.Unmodifiables
- asSortedSet(Comparator<E>, E...) - Static method in class net.morimekta.util.collect.Unmodifiables
- asString() - Method in class net.morimekta.util.Binary
- asString() - Method in class net.morimekta.util.CharSlice
-
Deprecated.
- asString() - Method in exception net.morimekta.util.json.JsonException
-
Deprecated.
- asString() - Method in exception net.morimekta.util.json.UncheckedJsonException
-
Deprecated.
- 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(Object) - Static method in class net.morimekta.util.Strings
-
Make an object into a string using the typed tools here.
- 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.
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
- BinaryUtil - Class in net.morimekta.util
-
Utility class for Binary conversion from and to binary array from Collections.
- BinaryUtil() - Constructor for class net.morimekta.util.BinaryUtil
- BinaryWriter - Class in net.morimekta.util.io
-
IO-Optimized binary writer.
- BinaryWriter(OutputStream) - Constructor for class net.morimekta.util.io.BinaryWriter
- booleanPrimitives(Boolean...) - Static method in class net.morimekta.util.ArrayUtil
- booleanPrimitives(Collection<Boolean>) - Static method in class net.morimekta.util.ArrayUtil
- booleanValue() - Method in class net.morimekta.util.json.JsonToken
- buffer - Variable in class net.morimekta.util.io.LineBufferedReader
- bufferLimit - Variable in class net.morimekta.util.io.LineBufferedReader
- bufferLineEnd - Variable in class net.morimekta.util.io.LineBufferedReader
- bufferOffset - Variable in class net.morimekta.util.io.LineBufferedReader
- build() - Method in interface net.morimekta.util.collect.UnmodifiableCollectionBuilder
-
Build the collection.
- build() - Method in class net.morimekta.util.collect.UnmodifiableList.Builder
- build() - Method in class net.morimekta.util.collect.UnmodifiableMap.Builder
- build() - Method in class net.morimekta.util.collect.UnmodifiableMapBuilder
- build() - Method in class net.morimekta.util.collect.UnmodifiableSet.Builder
- build() - Method in class net.morimekta.util.collect.UnmodifiableSortedMap.Builder
- build() - Method in class net.morimekta.util.collect.UnmodifiableSortedSet.Builder
- build() - Method in class net.morimekta.util.concurrent.NamedThreadFactory.Builder
- builder() - Static method in class net.morimekta.util.collect.UnmodifiableList
- builder() - Static method in class net.morimekta.util.collect.UnmodifiableMap
- builder() - Static method in class net.morimekta.util.collect.UnmodifiableSet
- builder() - Static method in class net.morimekta.util.concurrent.NamedThreadFactory
- builder(int) - Static method in class net.morimekta.util.collect.UnmodifiableList
- builder(int) - Static method in class net.morimekta.util.collect.UnmodifiableMap
- builder(int) - Static method in class net.morimekta.util.collect.UnmodifiableSet
- builderNaturalOrder() - Static method in class net.morimekta.util.collect.UnmodifiableSortedMap
- builderNaturalOrder() - Static method in class net.morimekta.util.collect.UnmodifiableSortedSet
- builderNaturalOrder(int) - Static method in class net.morimekta.util.collect.UnmodifiableSortedMap
- builderNaturalOrder(int) - Static method in class net.morimekta.util.collect.UnmodifiableSortedSet
- builderOrderedBy(int, Comparator<E>) - Static method in class net.morimekta.util.collect.UnmodifiableSortedSet
- builderOrderedBy(int, Comparator<K>) - Static method in class net.morimekta.util.collect.UnmodifiableSortedMap
- builderOrderedBy(Comparator<E>) - Static method in class net.morimekta.util.collect.UnmodifiableSortedSet
- builderOrderedBy(Comparator<K>) - Static method in class net.morimekta.util.collect.UnmodifiableSortedMap
- builderReverseOrder() - Static method in class net.morimekta.util.collect.UnmodifiableSortedMap
- builderReverseOrder() - Static method in class net.morimekta.util.collect.UnmodifiableSortedSet
- builderReverseOrder(int) - Static method in class net.morimekta.util.collect.UnmodifiableSortedMap
- builderReverseOrder(int) - Static method in class net.morimekta.util.collect.UnmodifiableSortedSet
- 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
- bytePrimitives(Byte...) - Static method in class net.morimekta.util.ArrayUtil
- bytePrimitives(Collection<Byte>) - Static method in class net.morimekta.util.ArrayUtil
- byteValue() - Method in class net.morimekta.util.json.JsonToken
C
- c_case(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, String, String) - Static method in class net.morimekta.util.Strings
-
Format a prefixed name as c_case.
- call() - Method in class net.morimekta.util.concurrent.ProcessExecutor
- camelCase(String) - Static method in class net.morimekta.util.Strings
-
Format a name as CamelCase.
- 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
- charAt(int) - Method in class net.morimekta.util.CharSlice
-
Get character at slice relative position.
- charAt(int) - Method in class net.morimekta.util.Slice
-
Get character at slice relative position.
- CharSlice - Class in net.morimekta.util
-
A slice of a byte array.
- CharSlice(char[], int, int) - Constructor for class net.morimekta.util.CharSlice
-
Create a slice instance.
- clear() - Method in class net.morimekta.util.collect.UnmodifiableCollection
- 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.LineBufferedReader
- close() - Method in class net.morimekta.util.io.Utf8StreamReader
- close() - Method in class net.morimekta.util.io.Utf8StreamWriter
- close() - Method in class net.morimekta.util.TemporaryAssetFolder
- 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
- comparator() - Method in class net.morimekta.util.collect.UnmodifiableSortedMap
- comparator() - Method in class net.morimekta.util.collect.UnmodifiableSortedSet
- compareTo(Binary) - Method in class net.morimekta.util.Binary
- compareTo(CharSlice) - Method in class net.morimekta.util.CharSlice
-
Compare slice with other slice.
- 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 a single byte can be found in the slice.
- contains(byte[]) - Method in class net.morimekta.util.Slice
-
Checks if the byte array is contained in the slice.
- contains(char) - Method in class net.morimekta.util.CharSlice
-
Checks if a single byte can be found in the slice.
- contains(char[]) - Method in class net.morimekta.util.CharSlice
-
Checks if the byte array is contained in the slice.
- contains(Object) - Method in class net.morimekta.util.collect.UnmodifiableCollection
- contains(Object) - Method in class net.morimekta.util.collect.UnmodifiableSet
- contains(Object) - Method in class net.morimekta.util.collect.UnmodifiableSortedSet
- containsAll(Collection<?>) - Method in class net.morimekta.util.collect.UnmodifiableCollection
- containsAny(byte...) - Method in class net.morimekta.util.Slice
-
Checks if any of the provided bytes is contained in the slice.
- containsAny(char...) - Method in class net.morimekta.util.CharSlice
-
Checks if any of the provided bytes is contained in the slice.
- containsKey(Object) - Method in class net.morimekta.util.collect.UnmodifiableMap
- containsKey(Object) - Method in class net.morimekta.util.collect.UnmodifiableSortedMap
- 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.
- copyOf(E[]) - Static method in class net.morimekta.util.collect.UnmodifiableList
- copyOf(E[]) - Static method in class net.morimekta.util.collect.UnmodifiableSet
- copyOf(E[]) - Static method in class net.morimekta.util.collect.UnmodifiableSortedSet
- copyOf(Iterable<? extends E>) - Static method in class net.morimekta.util.collect.UnmodifiableList
- copyOf(Iterable<? extends E>) - Static method in class net.morimekta.util.collect.UnmodifiableSet
- copyOf(Iterable<? extends E>) - Static method in class net.morimekta.util.collect.UnmodifiableSortedSet
- copyOf(Collection<? extends E>) - Static method in class net.morimekta.util.collect.UnmodifiableList
- copyOf(Collection<? extends E>) - Static method in class net.morimekta.util.collect.UnmodifiableSet
- copyOf(Collection<? extends E>) - Static method in class net.morimekta.util.collect.UnmodifiableSortedSet
- copyOf(Enumeration<? extends E>) - Static method in class net.morimekta.util.collect.UnmodifiableList
- copyOf(Enumeration<? extends E>) - Static method in class net.morimekta.util.collect.UnmodifiableSet
- copyOf(Enumeration<? extends E>) - Static method in class net.morimekta.util.collect.UnmodifiableSortedSet
- copyOf(Iterator<? extends E>) - Static method in class net.morimekta.util.collect.UnmodifiableList
- copyOf(Iterator<? extends E>) - Static method in class net.morimekta.util.collect.UnmodifiableSet
- copyOf(Iterator<? extends E>) - Static method in class net.morimekta.util.collect.UnmodifiableSortedSet
- copyOf(Map<K, V>) - Static method in class net.morimekta.util.collect.UnmodifiableMap
- copyOf(Map<K, V>) - Static method in class net.morimekta.util.collect.UnmodifiableSortedMap
- 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
- create(A, B) - Static method in class net.morimekta.util.Pair
-
Convenience method for creating an appropriately typed pair.
- currentLine() - Method in interface net.morimekta.util.lexer.Tokenizer
- currentLine() - Method in class net.morimekta.util.lexer.TokenizerBase
- currentLine() - Method in class net.morimekta.util.lexer.TokenizerRepeater
- currentLineNo() - Method in interface net.morimekta.util.lexer.Tokenizer
-
Get the current line number.
- currentLineNo() - Method in class net.morimekta.util.lexer.TokenizerBase
- currentLineNo() - Method in class net.morimekta.util.lexer.TokenizerRepeater
- currentLinePos() - Method in interface net.morimekta.util.lexer.Tokenizer
-
Get the current line position.
- currentLinePos() - Method in class net.morimekta.util.lexer.TokenizerBase
- currentLinePos() - Method in class net.morimekta.util.lexer.TokenizerRepeater
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.
- decodeString(boolean) - Method in class net.morimekta.util.lexer.Token
-
Get the whole slice as a string.
- DEFAULT_BUFFER_SIZE - Static variable in class net.morimekta.util.lexer.TokenizerBase
- deleteRecursively(Path) - Static method in class net.morimekta.util.FileUtil
-
Delete the file or directory recursively.
- difference(Set<E>, Set<E>) - Static method in class net.morimekta.util.collect.SetOperations
-
Create a difference set of the items contained only in either of the two sets, but not both.
- disjoint(Set<E>, Set<E>) - Static method in class net.morimekta.util.collect.SetOperations
-
Check that the two sets are disjoint, meaning they have no items in common.
- Displayable - Interface in net.morimekta.util
-
Interface for making objects displayable.
- displayString() - Method in interface net.morimekta.util.Displayable
- displayString() - Method in exception net.morimekta.util.json.JsonException
- displayString() - Method in exception net.morimekta.util.json.UncheckedJsonException
- displayString() - Method in exception net.morimekta.util.lexer.LexerException
- displayString() - Method in exception net.morimekta.util.lexer.UncheckedLexerException
- doublePrimitives(Double...) - Static method in class net.morimekta.util.ArrayUtil
- doublePrimitives(Collection<Double>) - Static method in class net.morimekta.util.ArrayUtil
- 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[]) - Static method in class net.morimekta.util.Base64
-
Encodes a byte array into Base64 string.
- encode(byte[], int, int) - Static method in class net.morimekta.util.Base64
-
Encodes a byte array into Base64 data.
- 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
-
End the ongoing array.
- endArray() - Method in class net.morimekta.util.json.PrettyJsonWriter
- endObject() - Method in class net.morimekta.util.json.JsonWriter
-
The the ongoing object.
- endObject() - Method in class net.morimekta.util.json.PrettyJsonWriter
- eofFailure(CharSequence, int, int, String, Object...) - Method in class net.morimekta.util.lexer.Lexer
-
Make a lexing / parsing failure exception.
- eofFailure(String, Object...) - Method in class net.morimekta.util.lexer.TokenizerBase
- equals(Object) - Method in class net.morimekta.util.Binary
- equals(Object) - Method in class net.morimekta.util.CharSlice
- equals(Object) - Method in class net.morimekta.util.collect.UnmodifiableList
- equals(Object) - Method in class net.morimekta.util.collect.UnmodifiableSet
- equals(Object) - Method in class net.morimekta.util.collect.UnmodifiableSortedSet
- equals(Object) - Method in class net.morimekta.util.json.JsonToken
- equals(Object) - Method in class net.morimekta.util.lexer.Token
- equals(Object) - Method in class net.morimekta.util.Pair
- equals(Object) - Method in class net.morimekta.util.Slice
- equals(Object) - Method in class net.morimekta.util.Tuple
- escape(char) - Static method in class net.morimekta.util.Strings
-
Escape a single character.
- escape(CharSequence) - Static method in class net.morimekta.util.Strings
-
Properly java-escape the string for printing to console.
- 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.
- expect(String) - Method in class net.morimekta.util.lexer.Lexer
-
Expect a new token, and fail there is no next token.
- expect(String, Predicate<T>) - Method in class net.morimekta.util.lexer.Lexer
-
Expect a new token, and fail if the token does not validate.
- expect(String, TokenType) - Method in class net.morimekta.util.lexer.Lexer
-
Expect a new token, and fail if the token is not of the given token type.
- 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.
- expectFloat() - Method in class net.morimekta.util.io.BinaryReader
-
Read a float 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.
- expectSymbol(String, char...) - Method in class net.morimekta.util.lexer.Lexer
- 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.
- ExtraCollectors - Class in net.morimekta.util
-
Extra collector utilities.
- ExtraStreams - Class in net.morimekta.util
-
Extra stream utilities.
F
- failure(T, String, Object...) - Method in class net.morimekta.util.lexer.Lexer
-
Make a lexing / parsing failure exception.
- failure(T, String, Object...) - Method in class net.morimekta.util.lexer.TokenizerBase
- fb - Variable in class net.morimekta.util.CharSlice
- fb - Variable in class net.morimekta.util.Slice
- fifth() - Method in class net.morimekta.util.Tuple.Tuple5
- FileUtil - Class in net.morimekta.util
-
NIO file utility extensions.
- FileWatcher - Class in net.morimekta.util
-
File watcher helper for use with simple callbacks.
- FileWatcher() - Constructor for class net.morimekta.util.FileWatcher
-
Create a FileWatcher with default watch service.
- FileWatcher(WatchService) - Constructor for class net.morimekta.util.FileWatcher
-
Create a FileWatcher using the provided watch service.
- FileWatcher(WatchService, ExecutorService, ExecutorService) - Constructor for class net.morimekta.util.FileWatcher
- FileWatcher.Listener - Interface in net.morimekta.util
- FileWatcher.Watcher - Interface in net.morimekta.util
-
Deprecated.Use
FileWatcher.Listener
instead. - first - Variable in class net.morimekta.util.Pair
-
The first value.
- first() - Method in class net.morimekta.util.collect.UnmodifiableSortedSet
- first() - Method in class net.morimekta.util.Tuple.Tuple1
- firstKey() - Method in class net.morimekta.util.collect.UnmodifiableSortedMap
- floatPrimitives(Float...) - Static method in class net.morimekta.util.ArrayUtil
- floatPrimitives(Collection<Float>) - Static method in class net.morimekta.util.ArrayUtil
- flush() - Method in class net.morimekta.util.io.CountingOutputStream
- flush() - Method in class net.morimekta.util.io.Utf8StreamWriter
- flush() - Method in class net.morimekta.util.json.JsonWriter
-
Flush the internal writer.
- 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
- forwardError(OutputStream) - Method in class net.morimekta.util.concurrent.ProcessExecutor
-
Also forward error content to this stream.
- forwardOutput(OutputStream) - Method in class net.morimekta.util.concurrent.ProcessExecutor
-
Also forward output content to this stream.
- fourth() - Method in class net.morimekta.util.Tuple.Tuple4
- fromBase64(String) - Static method in class net.morimekta.util.Binary
-
Decode base64 string and wrap the result in a byte sequence.
- fromBinaryCollection(Collection<Binary>) - Static method in class net.morimekta.util.BinaryUtil
-
Method to convert a Collection of Binary to a byte array.
- fromHexString(String) - Static method in class net.morimekta.util.Binary
-
Parse a hex string as bytes.
- fromUUID(UUID) - Static method in class net.morimekta.util.Binary
-
Get a binary representation of a UUID.
G
- genericToken(char[], int, int, TT, int, int) - Method in class net.morimekta.util.lexer.TokenizerBase
- 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.
- get(int) - Method in class net.morimekta.util.collect.UnmodifiableList
- get(int) - Method in class net.morimekta.util.Tuple
- get(Object) - Method in class net.morimekta.util.collect.UnmodifiableMap
- get(Object) - Method in class net.morimekta.util.collect.UnmodifiableSortedMap
- getBinary(String) - Method in class net.morimekta.util.TemporaryAssetFolder
- 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
- getBytes(String) - Method in class net.morimekta.util.TemporaryAssetFolder
- getCause() - Method in exception net.morimekta.util.json.UncheckedJsonException
- getCause() - Method in exception net.morimekta.util.lexer.UncheckedLexerException
- getError() - Method in class net.morimekta.util.concurrent.ProcessExecutor
- getError() - Method in exception net.morimekta.util.lexer.LexerException
- getFile() - Method in class net.morimekta.util.TemporaryAssetFolder
- getFirst() - Method in class net.morimekta.util.Pair
-
Convenience method to get the first value.
- getInputStream() - Method in class net.morimekta.util.Binary
-
Get an input stream that reads from the stored bytes.
- getInputStream(String) - Method in class net.morimekta.util.TemporaryAssetFolder
- getLastLine() - Method in class net.morimekta.util.json.JsonTokenizer
-
Deprecated.
- getLen() - Method in exception net.morimekta.util.json.JsonException
- getLen() - Method in exception net.morimekta.util.json.UncheckedJsonException
- getLength() - Method in exception net.morimekta.util.lexer.LexerException
- getLine() - Method in class net.morimekta.util.io.LineBufferedReader
-
Returns the current line in the buffer.
- getLine() - Method in exception net.morimekta.util.json.JsonException
- getLine() - Method in exception net.morimekta.util.json.UncheckedJsonException
- getLine() - Method in exception net.morimekta.util.lexer.LexerException
- getLineNo() - Method in class net.morimekta.util.io.LineBufferedReader
- 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
- getLineNo() - Method in exception net.morimekta.util.lexer.LexerException
- getLinePos() - Method in class net.morimekta.util.io.LineBufferedReader
-
The position of the current (last read) char in the current line.
- getLinePos() - Method in exception net.morimekta.util.json.JsonException
-
Get the line position, 1-indexed of the first character that is part of the exception.
- getLinePos() - Method in class net.morimekta.util.json.JsonToken
- getLinePos() - Method in exception net.morimekta.util.json.UncheckedJsonException
- getLinePos() - Method in exception net.morimekta.util.lexer.LexerException
- getLocalizedMessage() - Method in exception net.morimekta.util.json.UncheckedJsonException
- getMessage() - Method in exception net.morimekta.util.json.UncheckedJsonException
- getOutput() - Method in class net.morimekta.util.concurrent.ProcessExecutor
- getOutputBinary() - Method in class net.morimekta.util.concurrent.ProcessExecutor
- getOutputStream(String) - Method in class net.morimekta.util.TemporaryAssetFolder
- getOutputStream(String, boolean) - Method in class net.morimekta.util.TemporaryAssetFolder
- getPath() - Method in class net.morimekta.util.TemporaryAssetFolder
- getReader(String) - Method in class net.morimekta.util.TemporaryAssetFolder
- getRemainingLines(boolean) - Method in class net.morimekta.util.io.LineBufferedReader
-
Read the rest of input from the reader, and get the lines from there.
- getRestOfLine() - Method in class net.morimekta.util.io.LineBufferedReader
-
Return the rest of the current line.
- getSecond() - Method in class net.morimekta.util.Pair
-
Convenience method to get the second value.
- getString(String) - Method in class net.morimekta.util.TemporaryAssetFolder
- getType() - Method in class net.morimekta.util.json.JsonToken
- getWriter(String) - Method in class net.morimekta.util.TemporaryAssetFolder
- getWriter(String, boolean) - Method in class net.morimekta.util.TemporaryAssetFolder
- groupingBy(Function<V, K>) - Static method in class net.morimekta.util.collect.Unmodifiables
- groupingByAll(Function<V, Collection<K>>) - Static method in class net.morimekta.util.collect.Unmodifiables
H
- handleError(InputStream) - Method in class net.morimekta.util.concurrent.ProcessExecutor
-
Handles the process' standard error stream.
- handleOutput(InputStream) - Method in class net.morimekta.util.concurrent.ProcessExecutor
-
Handles the process' standard output stream.
- handleProcessTimeout(String[]) - Method in class net.morimekta.util.concurrent.ProcessExecutor
-
Handle timeout on the process finishing.
- hashCode() - Method in class net.morimekta.util.Binary
- hashCode() - Method in class net.morimekta.util.CharSlice
- hashCode() - Method in class net.morimekta.util.collect.UnmodifiableList
- hashCode() - Method in class net.morimekta.util.collect.UnmodifiableSet
- hashCode() - Method in class net.morimekta.util.collect.UnmodifiableSortedSet
- hashCode() - Method in class net.morimekta.util.json.JsonToken
- hashCode() - Method in class net.morimekta.util.lexer.Token
- hashCode() - Method in class net.morimekta.util.Pair
- hashCode() - Method in class net.morimekta.util.Slice
- hashCode() - Method in class net.morimekta.util.Tuple
- hasNext() - Method in class net.morimekta.util.json.JsonTokenizer
-
Whether there is another token on the stream.
- hasNext() - Method in class net.morimekta.util.lexer.Lexer
-
Return true if there is a 'next' token.
- headMap(K) - Method in class net.morimekta.util.collect.UnmodifiableSortedMap
- headSet(E) - Method in class net.morimekta.util.collect.UnmodifiableSortedSet
I
- identifierSeparator(int) - Method in class net.morimekta.util.lexer.TokenizerBase
- identifierToken(char[], int, int, int, int) - Method in class net.morimekta.util.lexer.TokenizerBase
- inBatchesOf(int) - Static method in class net.morimekta.util.ExtraCollectors
-
Collect into batches of max N items per batch.
- 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
- indexOf(Object) - Method in class net.morimekta.util.collect.UnmodifiableList
- initCause(Throwable) - Method in exception net.morimekta.util.lexer.LexerException
- inNumBatches(int) - Static method in class net.morimekta.util.ExtraCollectors
-
Collect into N batches of approximate equal size.
- intersect(Set<E>, Set<E>...) - Static method in class net.morimekta.util.collect.SetOperations
-
Get the intersection between the sets.
- intPrimitives(Integer...) - Static method in class net.morimekta.util.ArrayUtil
- intPrimitives(Collection<Integer>) - Static method in class net.morimekta.util.ArrayUtil
- 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
- isConsolePrintable(int) - Static method in class net.morimekta.util.Strings
-
Utility to figure out if a character is printable to the console as a character.
- isDouble() - Method in class net.morimekta.util.json.JsonToken
- isEmpty() - Method in class net.morimekta.util.collect.UnmodifiableCollection
- isInteger() - Method in class net.morimekta.util.json.JsonToken
- isInteger(CharSequence) - Static method in class net.morimekta.util.Strings
-
Check if the string is representing an integer (or long) value.
- isInteger(CharSequence, int, int) - 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
- isNotEmpty(String) - Static method in class net.morimekta.util.Strings
- isNull() - Method in class net.morimekta.util.json.JsonToken
- isNullOrEmpty(String) - Static method in class net.morimekta.util.Strings
- 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
- isSymbol(char) - Method in class net.morimekta.util.lexer.Token
- isWhitespace() - Method in class net.morimekta.util.lexer.TokenizerBase
- iterator() - Method in class net.morimekta.util.collect.UnmodifiableCollection
- iterator() - Method in class net.morimekta.util.lexer.Lexer
- iterator() - Method in class net.morimekta.util.Tuple
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, boolean...) - Static method in class net.morimekta.util.Strings
-
Join array with delimiter.
- joinP(String, char...) - 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, 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.
- JsonException - Exception in net.morimekta.util.json
-
Exception in parsing JSON.
- 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
-
Meta class containing info about a JSON token.
- JsonToken(JsonToken.Type, char[], 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.
- JsonTokenizer(InputStream, int) - Constructor for class net.morimekta.util.json.JsonTokenizer
-
Create a JSON tokenizer that reads from the input steam.
- JsonTokenizer(Reader) - Constructor for class net.morimekta.util.json.JsonTokenizer
-
Create a JSON tokenizer that reads from the char reader.
- JsonTokenizer(Reader, int) - Constructor for class net.morimekta.util.json.JsonTokenizer
-
Create a JSON tokenizer that reads from the char reader.
- 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
-
Write the boolean as object key.
- key(boolean) - Method in class net.morimekta.util.json.PrettyJsonWriter
- key(byte) - Method in class net.morimekta.util.json.JsonWriter
-
Write the byte as object key.
- key(byte) - Method in class net.morimekta.util.json.PrettyJsonWriter
- key(double) - Method in class net.morimekta.util.json.JsonWriter
-
Write the double as object key.
- key(double) - Method in class net.morimekta.util.json.PrettyJsonWriter
- key(int) - Method in class net.morimekta.util.json.JsonWriter
-
Write the int as object key.
- key(int) - Method in class net.morimekta.util.json.PrettyJsonWriter
- key(long) - Method in class net.morimekta.util.json.JsonWriter
-
Write the long as object key.
- key(long) - Method in class net.morimekta.util.json.PrettyJsonWriter
- key(short) - Method in class net.morimekta.util.json.JsonWriter
-
Write the short as object key.
- key(short) - Method in class net.morimekta.util.json.PrettyJsonWriter
- key(CharSequence) - Method in class net.morimekta.util.json.JsonWriter
-
Write the string as object key.
- key(CharSequence) - Method in class net.morimekta.util.json.PrettyJsonWriter
- key(Binary) - Method in class net.morimekta.util.json.JsonWriter
-
Write the binary as object key.
- key(Binary) - Method in class net.morimekta.util.json.PrettyJsonWriter
- keyLiteral(CharSequence) - Method in class net.morimekta.util.json.JsonWriter
-
Write the string key without quoting or escaping.
- keyLiteral(CharSequence) - Method in class net.morimekta.util.json.PrettyJsonWriter
- keyUnescaped(CharSequence) - Method in class net.morimekta.util.json.JsonWriter
-
Write the string as object key without escaping.
- keyUnescaped(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
- last() - Method in class net.morimekta.util.collect.UnmodifiableSortedSet
- lastChar - Variable in class net.morimekta.util.io.LineBufferedReader
- lastIndexOf(Object) - Method in class net.morimekta.util.collect.UnmodifiableList
- lastKey() - Method in class net.morimekta.util.collect.UnmodifiableSortedMap
- len - Variable in class net.morimekta.util.CharSlice
- len - Variable in class net.morimekta.util.Slice
- length - Variable in class net.morimekta.util.collect.UnmodifiableCollection
- length() - Method in class net.morimekta.util.Binary
-
Get the length of the backing array.
- length() - Method in class net.morimekta.util.CharSlice
-
Get the total length of the slice.
- length() - Method in class net.morimekta.util.Slice
-
Get the total length of the slice.
- Lexer<TT extends TokenType,T extends Token<TT>> - Class in net.morimekta.util.lexer
-
Base lexer class with helper methods that does not need to be implemented.
- Lexer(Tokenizer<TT, T>) - Constructor for class net.morimekta.util.lexer.Lexer
-
Create a lexer instance using a specific tokenizer.
- LexerException - Exception in net.morimekta.util.lexer
-
Exception representing problems parsing tokens or other problems with returned tokens from the
Lexer
, or how a token interacts with other in the whole structure. - LexerException(CharSequence, int, int, int, String) - Constructor for exception net.morimekta.util.lexer.LexerException
-
Make exception representing a tokenizing problem at a specific position in the input.
- LexerException(String) - Constructor for exception net.morimekta.util.lexer.LexerException
-
Make exception cause by secondary problems.
- LexerException(Throwable, String) - Constructor for exception net.morimekta.util.lexer.LexerException
-
Make exception cause by secondary problems.
- LexerException(Token, String) - Constructor for exception net.morimekta.util.lexer.LexerException
-
Make exception representing problems with a parsed token.
- line() - Method in class net.morimekta.util.lexer.Token
- LineBufferedReader - Class in net.morimekta.util.io
-
Helper class that manages a buffer if 1 line, or if requested pre-loads the content of the input reader, and pretends as if it was the same line-buffering reader.
- LineBufferedReader(Reader) - Constructor for class net.morimekta.util.io.LineBufferedReader
- LineBufferedReader(Reader, boolean) - Constructor for class net.morimekta.util.io.LineBufferedReader
- LineBufferedReader(Reader, int) - Constructor for class net.morimekta.util.io.LineBufferedReader
- LineBufferedReader(Reader, int, boolean) - Constructor for class net.morimekta.util.io.LineBufferedReader
- lineNo - Variable in class net.morimekta.util.io.LineBufferedReader
- lineNo - Variable in class net.morimekta.util.json.JsonToken
- lineNo - Variable in class net.morimekta.util.lexer.Token
- lineNo() - Method in class net.morimekta.util.lexer.Token
- linePos - Variable in class net.morimekta.util.io.LineBufferedReader
- linePos - Variable in class net.morimekta.util.json.JsonToken
- linePos - Variable in class net.morimekta.util.lexer.Token
- linePos() - Method in class net.morimekta.util.lexer.Token
- list() - Method in class net.morimekta.util.TemporaryAssetFolder
- list(boolean) - Method in class net.morimekta.util.TemporaryAssetFolder
- list(Path) - Static method in class net.morimekta.util.FileUtil
-
List all files in the given directory.
- list(Path, boolean) - Static method in class net.morimekta.util.FileUtil
-
List all files in the given directory.
- listIterator() - Method in class net.morimekta.util.collect.UnmodifiableList
- listIterator(int) - Method in class net.morimekta.util.collect.UnmodifiableList
- listOf() - Static method in class net.morimekta.util.collect.UnmodifiableList
- listOf(E) - Static method in class net.morimekta.util.collect.UnmodifiableList
- listOf(E, E) - Static method in class net.morimekta.util.collect.UnmodifiableList
- listOf(E, E, E) - Static method in class net.morimekta.util.collect.UnmodifiableList
- listOf(E, E, E, E) - Static method in class net.morimekta.util.collect.UnmodifiableList
- listOf(E, E, E, E, E) - Static method in class net.morimekta.util.collect.UnmodifiableList
- listOf(E, E, E, E, E, E) - Static method in class net.morimekta.util.collect.UnmodifiableList
- listOf(E, E, E, E, E, E, E) - Static method in class net.morimekta.util.collect.UnmodifiableList
- listOf(E, E, E, E, E, E, E, E) - Static method in class net.morimekta.util.collect.UnmodifiableList
- listOf(E, E, E, E, E, E, E, E, E) - Static method in class net.morimekta.util.collect.UnmodifiableList
- listOf(E, E, E, E, E, E, E, E, E, E, E...) - Static method in class net.morimekta.util.collect.UnmodifiableList
- listPrimitives(boolean[]) - Static method in class net.morimekta.util.ArrayUtil
- listPrimitives(byte[]) - Static method in class net.morimekta.util.ArrayUtil
- listPrimitives(double[]) - Static method in class net.morimekta.util.ArrayUtil
- listPrimitives(float[]) - Static method in class net.morimekta.util.ArrayUtil
- listPrimitives(int[]) - Static method in class net.morimekta.util.ArrayUtil
- listPrimitives(long[]) - Static method in class net.morimekta.util.ArrayUtil
- listPrimitives(short[]) - Static method in class net.morimekta.util.ArrayUtil
- LITERAL - net.morimekta.util.json.JsonToken.Type
- 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(Runnable) - Method in class net.morimekta.util.concurrent.ReentrantReadWriteMutex
- lockForReading(Supplier<V>) - 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 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(Runnable) - Method in class net.morimekta.util.concurrent.ReentrantReadWriteMutex
- 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(Supplier<V>) - Method in class net.morimekta.util.concurrent.ReentrantReadWriteMutex
- longPrimitives(Long...) - Static method in class net.morimekta.util.ArrayUtil
- longPrimitives(Collection<Long>) - Static method in class net.morimekta.util.ArrayUtil
- longValue() - Method in class net.morimekta.util.json.JsonToken
M
- makeEntrySet() - Method in class net.morimekta.util.collect.UnmodifiableMap
- makeEntrySet() - Method in class net.morimekta.util.collect.UnmodifiableSortedMap
- makeKeySet() - Method in class net.morimekta.util.collect.UnmodifiableMap
- makeKeySet() - Method in class net.morimekta.util.collect.UnmodifiableSortedMap
- mapOf() - Static method in class net.morimekta.util.collect.UnmodifiableMap
- mapOf(K, V) - Static method in class net.morimekta.util.collect.UnmodifiableMap
- mapOf(K, V, K, V) - Static method in class net.morimekta.util.collect.UnmodifiableMap
- mapOf(K, V, K, V, K, V) - Static method in class net.morimekta.util.collect.UnmodifiableMap
- mapOf(K, V, K, V, K, V, K, V) - Static method in class net.morimekta.util.collect.UnmodifiableMap
- mapOf(K, V, K, V, K, V, K, V, K, V) - Static method in class net.morimekta.util.collect.UnmodifiableMap
- mapOf(K, V, K, V, K, V, K, V, K, V, K, V) - Static method in class net.morimekta.util.collect.UnmodifiableMap
- mapOf(K, V, K, V, K, V, K, V, K, V, K, V, K, V) - Static method in class net.morimekta.util.collect.UnmodifiableMap
- mapOf(K, V, K, V, K, V, K, V, K, V, K, V, K, V, K, V) - Static method in class net.morimekta.util.collect.UnmodifiableMap
- mapOf(K, V, K, V, K, V, K, V, K, V, K, V, K, V, K, V, K, V) - Static method in class net.morimekta.util.collect.UnmodifiableMap
- mapOf(K, V, K, V, K, V, K, V, K, V, K, V, K, V, K, V, K, V, K, V) - Static method in class net.morimekta.util.collect.UnmodifiableMap
- mapToList(Collection<I>, Function<I, E>) - Static method in class net.morimekta.util.collect.Unmodifiables
- mapToSet(Collection<I>, Function<I, E>) - Static method in class net.morimekta.util.collect.Unmodifiables
- mark(int) - Method in class net.morimekta.util.io.ByteBufferInputStream
- markSupported() - Method in class net.morimekta.util.io.ByteBufferInputStream
- maybeConsolidateBuffer() - Method in class net.morimekta.util.io.LineBufferedReader
-
If the char buffer is nearing it's "end" and does not end with a newline (meaning it is a complete line), then take the reast of the current buffer and move it to the front of the buffer, and read until end of buffer, or end of line.
N
- NamedThreadFactory - Class in net.morimekta.util.concurrent
- NamedThreadFactory.Builder - Class in net.morimekta.util.concurrent
- net.morimekta.util - package net.morimekta.util
- net.morimekta.util.collect - package net.morimekta.util.collect
-
This package contains a number of unmodifiable collection classes largely inspired of the immutable collections in guava.
- 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
- net.morimekta.util.lexer - package net.morimekta.util.lexer
- newline() - Method in class net.morimekta.util.io.IndentedPrintWriter
- NEWLINE - Static variable in class net.morimekta.util.io.IndentedPrintWriter
- newThread(Runnable) - Method in class net.morimekta.util.concurrent.NamedThreadFactory
- 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.
- next() - Method in class net.morimekta.util.lexer.Lexer
-
Consume and return the next token.
- nextSymbol() - Method in class net.morimekta.util.lexer.TokenizerBase
- NUMBER - net.morimekta.util.json.JsonToken.Type
- numberToken(char[], int, int, int, int) - Method in class net.morimekta.util.lexer.TokenizerBase
- 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
-
Start an object value.
- object() - Method in class net.morimekta.util.json.PrettyJsonWriter
- off - Variable in class net.morimekta.util.CharSlice
- off - Variable in class net.morimekta.util.Slice
- offset - Variable in class net.morimekta.util.collect.UnmodifiableCollection
- offset() - Method in class net.morimekta.util.CharSlice
-
Get the offset of the buffer.
- offset() - Method in class net.morimekta.util.Slice
-
Get the offset of the buffer.
- onFileUpdate(File) - Method in interface net.morimekta.util.FileWatcher.Watcher
-
Deprecated.Called when the requested file path is updated.
- onPathUpdate(Path) - Method in interface net.morimekta.util.FileWatcher.Listener
-
Called when the requested file path is updated.
- onPathUpdate(Path) - Method in interface net.morimekta.util.FileWatcher.Watcher
-
Deprecated.Called when the requested file path is updated.
- out - Variable in class net.morimekta.util.io.BinaryWriter
P
- pair(A, B) - Static method in class net.morimekta.util.Pair
-
Convenience method for creating an appropriately typed pair.
- Pair<F,S> - Class in net.morimekta.util
-
Container to ease passing around a tuple of two objects.
- Pair(F, S) - Constructor for class net.morimekta.util.Pair
-
Constructor for a Pair.
- parseDouble() - Method in class net.morimekta.util.CharSlice
-
Get the whole slice as a real number.
- parseDouble() - Method in class net.morimekta.util.Slice
-
Get the whole slice as a real number.
- parseInteger() - Method in class net.morimekta.util.CharSlice
-
Get the whole slice as a simple integer.
- parseInteger() - Method in class net.morimekta.util.Slice
-
Get the whole slice as a simple integer.
- parseNextToken() - Method in interface net.morimekta.util.lexer.Tokenizer
-
Continue parsing content and return the next token to be found.
- parseNextToken() - Method in class net.morimekta.util.lexer.TokenizerBase
- parseNextToken() - Method in class net.morimekta.util.lexer.TokenizerRepeater
- peek() - Method in class net.morimekta.util.lexer.Lexer
-
Return the token that will be returned by 'next', but do not 'consume' it.
- peek(String) - Method in class net.morimekta.util.json.JsonTokenizer
-
Return the next token or throw an exception.
- peek(String) - Method in class net.morimekta.util.lexer.Lexer
-
Peek the next token, and fail if the token is not present.
- preLoaded - Variable in class net.morimekta.util.io.LineBufferedReader
- 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(char[]) - Method in class net.morimekta.util.io.IndentedPrintWriter
- println(double) - Method in class net.morimekta.util.io.IndentedPrintWriter
- println(float) - 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(Object) - Method in class net.morimekta.util.io.IndentedPrintWriter
- println(String) - Method in class net.morimekta.util.io.IndentedPrintWriter
- ProcessExecutor - Class in net.morimekta.util.concurrent
-
Helper to handle a process with possible input and getting output.
- ProcessExecutor(String...) - Constructor for class net.morimekta.util.concurrent.ProcessExecutor
- ProcessExecutor(String[], Runtime, ExecutorService) - Constructor for class net.morimekta.util.concurrent.ProcessExecutor
- product(Set<A>, Set<B>) - Static method in class net.morimekta.util.collect.SetOperations
-
Calculate the cartesian product of the two sets.
- put(String, byte[]) - Method in class net.morimekta.util.TemporaryAssetFolder
- put(String, CharSequence) - Method in class net.morimekta.util.TemporaryAssetFolder
- put(String, Binary) - Method in class net.morimekta.util.TemporaryAssetFolder
- put(Map.Entry<K, V>) - Method in class net.morimekta.util.collect.UnmodifiableMapBuilder
- put(K, V) - Method in class net.morimekta.util.collect.UnmodifiableMap.Builder
- put(K, V) - Method in class net.morimekta.util.collect.UnmodifiableMapBuilder
- put(K, V) - Method in class net.morimekta.util.collect.UnmodifiableSortedMap.Builder
- putAll(Collection<Map.Entry<K, V>>) - Method in class net.morimekta.util.collect.UnmodifiableMapBuilder
- putAll(Map.Entry<K, V>...) - Method in class net.morimekta.util.collect.UnmodifiableMapBuilder
- putAll(Map<? extends K, ? extends V>) - Method in class net.morimekta.util.collect.UnmodifiableMap.Builder
- putAll(Map<? extends K, ? extends V>) - Method in class net.morimekta.util.collect.UnmodifiableMapBuilder
- putAll(Map<? extends K, ? extends V>) - Method in class net.morimekta.util.collect.UnmodifiableSortedMap.Builder
R
- rawJsonLiteral() - Method in class net.morimekta.util.json.JsonToken
-
Get the still quoted string literal content.
- read() - Method in class net.morimekta.util.io.BinaryReader
-
Read a single byte.
- read() - Method in class net.morimekta.util.io.ByteBufferInputStream
- read() - Method in class net.morimekta.util.io.LineBufferedReader
- read(byte[]) - Method in class net.morimekta.util.io.BinaryReader
-
Read binary data from stream.
- read(byte[]) - Method in class net.morimekta.util.io.ByteBufferInputStream
- read(byte[], int, int) - Method in class net.morimekta.util.io.BinaryReader
-
Read binary data from stream.
- read(byte[], int, int) - Method in class net.morimekta.util.io.ByteBufferInputStream
- read(char[], int, int) - Method in class net.morimekta.util.io.LineBufferedReader
- read(char[], int, int) - Method in class net.morimekta.util.io.Utf8StreamReader
- read(InputStream) - Static method in class net.morimekta.util.Binary
-
Read a binary buffer from input stream.
- read(InputStream, int) - Static method in class net.morimekta.util.Binary
-
Read a binary buffer from input stream.
- readCanonicalPath(Path) - Static method in class net.morimekta.util.FileUtil
-
Read and parse the path to its absolute canonical path.
- reader - Variable in class net.morimekta.util.io.LineBufferedReader
- 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.
- readNextChar() - Method in class net.morimekta.util.io.LineBufferedReader
- readString(InputStream) - Static method in class net.morimekta.util.io.IOUtils
-
Read next string from input stream.
- readString(InputStream, char) - 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.
- readUntil(CharSequence, TT, boolean) - Method in interface net.morimekta.util.lexer.Tokenizer
-
Read all content until the given terminator string is encountered.
- readUntil(CharSequence, TT, boolean) - Method in class net.morimekta.util.lexer.TokenizerBase
- readUntil(CharSequence, TT, boolean) - Method in class net.morimekta.util.lexer.TokenizerRepeater
- readUntil(String, TT, boolean) - Method in class net.morimekta.util.lexer.Lexer
-
Read until termination string.
- 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
- remove(int) - Method in class net.morimekta.util.collect.UnmodifiableList
- remove(Object) - Method in class net.morimekta.util.collect.UnmodifiableCollection
- removeAll(Collection<?>) - Method in class net.morimekta.util.collect.UnmodifiableCollection
- removeIf(Predicate<? super E>) - Method in class net.morimekta.util.collect.UnmodifiableCollection
- removeWatcher(FileWatcher.Listener) - Method in class net.morimekta.util.FileWatcher
-
Remove a watcher from the list of listeners.
- removeWatcher(FileWatcher.Watcher) - Method in class net.morimekta.util.FileWatcher
-
Deprecated.
- replaceNonPrintable(CharSequence, char) - Static method in exception net.morimekta.util.lexer.LexerException
-
Replace non-printable chars in a string with something else.
- replaceNonPrintable(CharSequence, char) - Static method in class net.morimekta.util.Strings
-
Replace non-printable chars in a string with something else.
- replaceSymbolicLink(Path, Path) - Static method in class net.morimekta.util.FileUtil
-
Similar to
Files.createSymbolicLink(Path, Path, FileAttribute[])
, but will replace the link if it already exists, and will try to write / replace it as an atomic operation. - reset() - Method in class net.morimekta.util.io.ByteBufferInputStream
- reset() - Method in class net.morimekta.util.json.JsonWriter
-
Reset the state of the writer and flush already written content.
- resolveFile(String) - Method in class net.morimekta.util.TemporaryAssetFolder
- resolvePath(String) - Method in class net.morimekta.util.TemporaryAssetFolder
- restOfLine() - Method in class net.morimekta.util.json.JsonTokenizer
-
Deprecated.
- retainAll(Collection<?>) - Method in class net.morimekta.util.collect.UnmodifiableCollection
S
- second - Variable in class net.morimekta.util.Pair
-
The second value.
- second() - Method in class net.morimekta.util.Tuple.Tuple2
- set(int, E) - Method in class net.morimekta.util.collect.UnmodifiableList
- setDaemon(boolean) - Method in class net.morimekta.util.concurrent.NamedThreadFactory.Builder
- setDeadlineFlushMs(long) - Method in class net.morimekta.util.concurrent.ProcessExecutor
-
Set the deadline for completing the IO threads.
- setDeadlineMs(long) - Method in class net.morimekta.util.concurrent.ProcessExecutor
-
Set the program deadline.
- setDirectory(File) - Method in class net.morimekta.util.concurrent.ProcessExecutor
-
Set the working directory of the process.
- setInput(InputStream) - Method in class net.morimekta.util.concurrent.ProcessExecutor
-
Set input stream to write to the process as program input.
- setNameFormat(String) - Method in class net.morimekta.util.concurrent.NamedThreadFactory.Builder
- setOf() - Static method in class net.morimekta.util.collect.UnmodifiableSet
- setOf(E) - Static method in class net.morimekta.util.collect.UnmodifiableSet
- setOf(E, E) - Static method in class net.morimekta.util.collect.UnmodifiableSet
- setOf(E, E, E) - Static method in class net.morimekta.util.collect.UnmodifiableSet
- setOf(E, E, E, E) - Static method in class net.morimekta.util.collect.UnmodifiableSet
- setOf(E, E, E, E, E) - Static method in class net.morimekta.util.collect.UnmodifiableSet
- setOf(E, E, E, E, E, E) - Static method in class net.morimekta.util.collect.UnmodifiableSet
- setOf(E, E, E, E, E, E, E) - Static method in class net.morimekta.util.collect.UnmodifiableSet
- setOf(E, E, E, E, E, E, E, E) - Static method in class net.morimekta.util.collect.UnmodifiableSet
- setOf(E, E, E, E, E, E, E, E, E) - Static method in class net.morimekta.util.collect.UnmodifiableSet
- setOf(E, E, E, E, E, E, E, E, E, E, E...) - Static method in class net.morimekta.util.collect.UnmodifiableSet
- SetOperations - Class in net.morimekta.util.collect
-
Utility class containing set-math operations.
- setPriority(int) - Method in class net.morimekta.util.concurrent.NamedThreadFactory.Builder
- shortPrimitives(Short...) - Static method in class net.morimekta.util.ArrayUtil
- shortPrimitives(Collection<Short>) - Static method in class net.morimekta.util.ArrayUtil
- shortValue() - Method in class net.morimekta.util.json.JsonToken
- sixth() - Method in class net.morimekta.util.Tuple.Tuple6
- size() - Method in class net.morimekta.util.collect.UnmodifiableCollection
- size() - Method in class net.morimekta.util.Tuple
- skipUntil(InputStream, byte) - Static method in class net.morimekta.util.io.IOUtils
-
Skip all bytes in stream until (and including) given byte is found.
- 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(Reader, char) - Static method in class net.morimekta.util.io.IOUtils
-
Skip all bytes in stream until (and including) given byte is found.
- skipUntil(Reader, String) - Static method in class net.morimekta.util.io.IOUtils
-
Skip all bytes in stream until (and including) given separator 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.
- sortedMapOf() - Static method in class net.morimekta.util.collect.UnmodifiableSortedMap
- sortedMapOf(K, V) - Static method in class net.morimekta.util.collect.UnmodifiableSortedMap
- sortedMapOf(K, V, K, V) - Static method in class net.morimekta.util.collect.UnmodifiableSortedMap
- sortedMapOf(K, V, K, V, K, V) - Static method in class net.morimekta.util.collect.UnmodifiableSortedMap
- sortedMapOf(K, V, K, V, K, V, K, V) - Static method in class net.morimekta.util.collect.UnmodifiableSortedMap
- sortedMapOf(K, V, K, V, K, V, K, V, K, V) - Static method in class net.morimekta.util.collect.UnmodifiableSortedMap
- sortedMapOf(K, V, K, V, K, V, K, V, K, V, K, V) - Static method in class net.morimekta.util.collect.UnmodifiableSortedMap
- sortedMapOf(K, V, K, V, K, V, K, V, K, V, K, V, K, V) - Static method in class net.morimekta.util.collect.UnmodifiableSortedMap
- sortedMapOf(K, V, K, V, K, V, K, V, K, V, K, V, K, V, K, V) - Static method in class net.morimekta.util.collect.UnmodifiableSortedMap
- sortedMapOf(K, V, K, V, K, V, K, V, K, V, K, V, K, V, K, V, K, V) - Static method in class net.morimekta.util.collect.UnmodifiableSortedMap
- sortedMapOf(K, V, K, V, K, V, K, V, K, V, K, V, K, V, K, V, K, V, K, V) - Static method in class net.morimekta.util.collect.UnmodifiableSortedMap
- sortedSetOf() - Static method in class net.morimekta.util.collect.UnmodifiableSortedSet
- sortedSetOf(E) - Static method in class net.morimekta.util.collect.UnmodifiableSortedSet
- sortedSetOf(E, E) - Static method in class net.morimekta.util.collect.UnmodifiableSortedSet
- sortedSetOf(E, E, E) - Static method in class net.morimekta.util.collect.UnmodifiableSortedSet
- sortedSetOf(E, E, E, E) - Static method in class net.morimekta.util.collect.UnmodifiableSortedSet
- sortedSetOf(E, E, E, E, E) - Static method in class net.morimekta.util.collect.UnmodifiableSortedSet
- sortedSetOf(E, E, E, E, E, E) - Static method in class net.morimekta.util.collect.UnmodifiableSortedSet
- sortedSetOf(E, E, E, E, E, E, E) - Static method in class net.morimekta.util.collect.UnmodifiableSortedSet
- sortedSetOf(E, E, E, E, E, E, E, E) - Static method in class net.morimekta.util.collect.UnmodifiableSortedSet
- sortedSetOf(E, E, E, E, E, E, E, E, E) - Static method in class net.morimekta.util.collect.UnmodifiableSortedSet
- sortedSetOf(E, E, E, E, E, E, E, E, E, E, E...) - Static method in class net.morimekta.util.collect.UnmodifiableSortedSet
- startIdentifier() - Method in class net.morimekta.util.lexer.TokenizerBase
- startKey() - Method in class net.morimekta.util.json.JsonWriter
- startKey() - Method in class net.morimekta.util.json.PrettyJsonWriter
- startNumber() - Method in class net.morimekta.util.lexer.TokenizerBase
- startString() - Method in class net.morimekta.util.lexer.TokenizerBase
- startSymbol() - Method in class net.morimekta.util.lexer.TokenizerBase
- 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
-
Deprecated.
- stopWatching(File) - Method in class net.morimekta.util.FileWatcher
-
Deprecated.Use
FileWatcher.removeWatcher(Listener)
and let it clean up watched files itself. - 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.
- strEquals(char[]) - Method in class net.morimekta.util.CharSlice
-
Checks if the slice is equal to given byte array.
- strEquals(char[], int, int) - Method in class net.morimekta.util.CharSlice
-
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.
- stringToken(char[], int, int, int, int) - Method in class net.morimekta.util.lexer.TokenizerBase
- strongHash() - Method in interface net.morimekta.util.StrongHashable
- strongHash() - Method in class net.morimekta.util.StrongHashBuilder
- StrongHashable - Interface in net.morimekta.util
-
Interface for making objects support strong hash method.
- StrongHashBuilder - Class in net.morimekta.util
-
Helper for making strong hash values.
- StrongHashBuilder() - Constructor for class net.morimekta.util.StrongHashBuilder
-
Create a strong hash builder.
- StrongHashBuilder(long, long) - Constructor for class net.morimekta.util.StrongHashBuilder
-
Create a strong hash builder.
- subList(int, int) - Method in class net.morimekta.util.collect.UnmodifiableList
- subMap(K, K) - Method in class net.morimekta.util.collect.UnmodifiableSortedMap
- subSequence(int, int) - Method in class net.morimekta.util.CharSlice
- subset(Set<E>, Set<E>) - Static method in class net.morimekta.util.collect.SetOperations
-
Check if the first set is a subset of the second.
- subSet(E, E) - Method in class net.morimekta.util.collect.UnmodifiableSortedSet
- substring(int, int) - Method in class net.morimekta.util.CharSlice
-
Create a substring slice based on the current slice.
- substring(int, int) - Method in class net.morimekta.util.Slice
-
Create a substring slice based on the current slice.
- subtract(Set<E>, Set<E>...) - Static method in class net.morimekta.util.collect.SetOperations
- SYMBOL - net.morimekta.util.json.JsonToken.Type
- SYMBOLS - Static variable in class net.morimekta.util.json.JsonToken
- symbolToken(char[], int, int, int, int) - Method in class net.morimekta.util.lexer.TokenizerBase
T
- tailMap(K) - Method in class net.morimekta.util.collect.UnmodifiableSortedMap
- tailSet(E) - Method in class net.morimekta.util.collect.UnmodifiableSortedSet
- TemporaryAssetFolder - Class in net.morimekta.util
-
A temporary asset folder where an arbitrary number of files can be added to and should guarantee complete cleanup on close.
- TemporaryAssetFolder(File) - Constructor for class net.morimekta.util.TemporaryAssetFolder
- TemporaryAssetFolder(Path) - Constructor for class net.morimekta.util.TemporaryAssetFolder
- third() - Method in class net.morimekta.util.Tuple.Tuple3
- 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.
- toArray() - Method in class net.morimekta.util.collect.UnmodifiableCollection
- toArray(T[]) - Method in class net.morimekta.util.collect.UnmodifiableCollection
- toBase64() - Method in class net.morimekta.util.Binary
-
Get the sequence encoded as base64.
- toBinaryCollection(byte[]) - Static method in class net.morimekta.util.BinaryUtil
-
Method to convert a byte array to a Collection of Binary.
- toHexString() - Method in class net.morimekta.util.Binary
-
Make a hex string from a byte array.
- Token<Type> - Class in net.morimekta.util.lexer
-
A token parsed out of a tokenizer.
- Token(char[], int, int, Type, int, int) - Constructor for class net.morimekta.util.lexer.Token
-
Create a slice instance.
- TOKEN - net.morimekta.util.json.JsonToken.Type
- Tokenizer<TT,T extends Token<TT>> - Interface in net.morimekta.util.lexer
- TokenizerBase<TT,T extends Token<TT>> - Class in net.morimekta.util.lexer
-
Base tokenizer used around providence.
- TokenizerBase(Reader, int, boolean) - Constructor for class net.morimekta.util.lexer.TokenizerBase
- TokenizerRepeater<TT,T extends Token<TT>> - Class in net.morimekta.util.lexer
-
the tokenizer repeater is meant to repeat a set of tokens in the same sequence.
- TokenizerRepeater(List<T>) - Constructor for class net.morimekta.util.lexer.TokenizerRepeater
- TokenType - Interface in net.morimekta.util.lexer
- toList() - Static method in class net.morimekta.util.collect.Unmodifiables
- toMap(Function<E, K>, Function<E, V>) - Static method in class net.morimekta.util.collect.Unmodifiables
- toMap(Function<V, K>) - Static method in class net.morimekta.util.collect.Unmodifiables
- toSet() - Static method in class net.morimekta.util.collect.Unmodifiables
- toSortedMap(Function<E, K>, Function<E, V>) - Static method in class net.morimekta.util.collect.Unmodifiables
- toSortedMap(Function<E, K>, Function<E, V>, Comparator) - Static method in class net.morimekta.util.collect.Unmodifiables
- toSortedMap(Function<V, K>) - Static method in class net.morimekta.util.collect.Unmodifiables
- toSortedMap(Function<V, K>, Comparator) - Static method in class net.morimekta.util.collect.Unmodifiables
- toSortedSet() - Static method in class net.morimekta.util.collect.Unmodifiables
- toSortedSet(Comparator) - Static method in class net.morimekta.util.collect.Unmodifiables
- toString() - Method in class net.morimekta.util.Binary
- toString() - Method in class net.morimekta.util.CharSlice
- toString() - Method in class net.morimekta.util.collect.UnmodifiableList
- toString() - Method in class net.morimekta.util.collect.UnmodifiableSet
- toString() - Method in class net.morimekta.util.collect.UnmodifiableSortedSet
- toString() - Method in exception net.morimekta.util.json.JsonException
- toString() - Method in exception net.morimekta.util.json.UncheckedJsonException
- toString() - Method in class net.morimekta.util.lexer.Lexer
- toString() - Method in exception net.morimekta.util.lexer.LexerException
- toString() - Method in class net.morimekta.util.lexer.TokenizerBase
- toString() - Method in class net.morimekta.util.lexer.TokenizerRepeater
- toString() - Method in exception net.morimekta.util.lexer.UncheckedLexerException
- toString() - Method in class net.morimekta.util.Pair
- toString() - Method in class net.morimekta.util.Slice
- toString() - Method in class net.morimekta.util.Tuple
- toUUID() - Method in class net.morimekta.util.Binary
-
Get a UUID from the binary data.The UUID binary representation is equivalent to the hexadecimal representation of the UUID (sans dashes).
- tuple(T) - Static method in class net.morimekta.util.Tuple
- tuple(T1, T2) - Static method in class net.morimekta.util.Tuple
- tuple(T1, T2, T3) - Static method in class net.morimekta.util.Tuple
- tuple(T1, T2, T3, T4) - Static method in class net.morimekta.util.Tuple
- tuple(T1, T2, T3, T4, T5) - Static method in class net.morimekta.util.Tuple
- tuple(T1, T2, T3, T4, T5, T6) - Static method in class net.morimekta.util.Tuple
- Tuple - Class in net.morimekta.util
-
Base class for holding tuples.
- Tuple(Object...) - Constructor for class net.morimekta.util.Tuple
- Tuple.Tuple1<T> - Class in net.morimekta.util
-
A tuple class with a single value.
- Tuple.Tuple2<T1,T2> - Class in net.morimekta.util
- Tuple.Tuple3<T1,T2,T3> - Class in net.morimekta.util
- Tuple.Tuple4<T1,T2,T3,T4> - Class in net.morimekta.util
- Tuple.Tuple5<T1,T2,T3,T4,T5> - Class in net.morimekta.util
- Tuple.Tuple6<T1,T2,T3,T4,T5,T6> - Class in net.morimekta.util
- Tuple1(T) - Constructor for class net.morimekta.util.Tuple.Tuple1
-
Create a single value tuple.
- Tuple2(T1, T2) - Constructor for class net.morimekta.util.Tuple.Tuple2
- Tuple3(T1, T2, T3) - Constructor for class net.morimekta.util.Tuple.Tuple3
- Tuple4(T1, T2, T3, T4) - Constructor for class net.morimekta.util.Tuple.Tuple4
- Tuple5(T1, T2, T3, T4, T5) - Constructor for class net.morimekta.util.Tuple.Tuple5
- Tuple6(T1, T2, T3, T4, T5, T6) - Constructor for class net.morimekta.util.Tuple.Tuple6
- type - Variable in class net.morimekta.util.json.JsonToken
- type - Variable in class net.morimekta.util.lexer.Token
- type() - Method in class net.morimekta.util.lexer.Token
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
- UncheckedLexerException - Exception in net.morimekta.util.lexer
-
Exception representing problems parsing tokens or other problems with returned tokens from the
Lexer
, or how a token interacts with other in the whole structure. - UncheckedLexerException(LexerException) - Constructor for exception net.morimekta.util.lexer.UncheckedLexerException
-
Make exception cause by secondary problems.
- unescapeForEncodeUriCompatability(String) - Static method in class net.morimekta.util.Strings
-
Unescape selected chars for compatability with JavaScript's encodeURI.
- union(Set<E>...) - Static method in class net.morimekta.util.collect.SetOperations
-
Get the union of all the set's provided.
- UnmodifiableCollection<E> - Class in net.morimekta.util.collect
-
Simple unmodifiable collection base class.
- UnmodifiableCollectionBuilder<E,C extends UnmodifiableCollection<E>,B extends UnmodifiableCollectionBuilder<E,C,B>> - Interface in net.morimekta.util.collect
-
Base interface for unmodifiable collections.
- UnmodifiableList<E> - Class in net.morimekta.util.collect
-
Simple unmodifiable list implementation backed by an object array.
- UnmodifiableList.Builder<E> - Class in net.morimekta.util.collect
- UnmodifiableMap<K,V> - Class in net.morimekta.util.collect
-
Simple unmodifiable map that preserves entry order when iterating.
- UnmodifiableMap.Builder<K,V> - Class in net.morimekta.util.collect
- UnmodifiableMapBuilder<K,V,M extends net.morimekta.util.collect.UnmodifiableMapBase<K,V>,B extends UnmodifiableMapBuilder<K,V,M,B>> - Class in net.morimekta.util.collect
- UnmodifiableMapBuilder() - Constructor for class net.morimekta.util.collect.UnmodifiableMapBuilder
- Unmodifiables - Class in net.morimekta.util.collect
- UnmodifiableSet<E> - Class in net.morimekta.util.collect
-
Simple immutable set.
- UnmodifiableSet.Builder<E> - Class in net.morimekta.util.collect
- UnmodifiableSortedMap<K,V> - Class in net.morimekta.util.collect
- UnmodifiableSortedMap.Builder<K,V> - Class in net.morimekta.util.collect
- UnmodifiableSortedSet<E> - Class in net.morimekta.util.collect
- UnmodifiableSortedSet.Builder<E> - Class in net.morimekta.util.collect
- 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
- Utf8StreamReader(InputStream, boolean) - Constructor for class net.morimekta.util.io.Utf8StreamReader
- Utf8StreamWriter - Class in net.morimekta.util.io
-
Similar to java native
OutputStreamWriter
, but locked to utf-8, and explicitly with no buffering whatsoever, with one exception only, which is catching surrogate pair chars. - Utf8StreamWriter(OutputStream) - Constructor for class net.morimekta.util.io.Utf8StreamWriter
- Utf8StreamWriter(OutputStream, boolean) - Constructor for class net.morimekta.util.io.Utf8StreamWriter
V
- value(boolean) - Method in class net.morimekta.util.json.JsonWriter
-
Write boolean value.
- value(boolean) - Method in class net.morimekta.util.json.PrettyJsonWriter
- value(byte) - Method in class net.morimekta.util.json.JsonWriter
-
Write byte value.
- value(byte) - Method in class net.morimekta.util.json.PrettyJsonWriter
- value(double) - Method in class net.morimekta.util.json.JsonWriter
-
Write double value.
- value(double) - Method in class net.morimekta.util.json.PrettyJsonWriter
- value(int) - Method in class net.morimekta.util.json.JsonWriter
-
Write int value.
- value(int) - Method in class net.morimekta.util.json.PrettyJsonWriter
- value(long) - Method in class net.morimekta.util.json.JsonWriter
-
Write long value.
- value(long) - Method in class net.morimekta.util.json.PrettyJsonWriter
- value(short) - Method in class net.morimekta.util.json.JsonWriter
-
Write short value.
- value(short) - Method in class net.morimekta.util.json.PrettyJsonWriter
- value(CharSequence) - Method in class net.morimekta.util.json.JsonWriter
-
Write unicode string value.
- value(CharSequence) - Method in class net.morimekta.util.json.PrettyJsonWriter
- value(Binary) - Method in class net.morimekta.util.json.JsonWriter
-
Write binary value.
- value(Binary) - Method in class net.morimekta.util.json.PrettyJsonWriter
- valueLiteral(CharSequence) - Method in class net.morimekta.util.json.JsonWriter
-
Write a literal string as value.
- 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.
- valueUnescaped(CharSequence) - Method in class net.morimekta.util.json.JsonWriter
-
Write a string unescaped value.
- valueUnescaped(CharSequence) - Method in class net.morimekta.util.json.PrettyJsonWriter
W
- weakAddWatcher(File, FileWatcher.Listener) - Method in class net.morimekta.util.FileWatcher
-
Deprecated.
- weakAddWatcher(File, FileWatcher.Watcher) - Method in class net.morimekta.util.FileWatcher
-
Deprecated.
- weakAddWatcher(Path, FileWatcher.Listener) - Method in class net.morimekta.util.FileWatcher
-
Start watching file path and notify watcher for updates on that file.
- weakAddWatcher(Path, FileWatcher.Watcher) - Method in class net.morimekta.util.FileWatcher
-
Deprecated.
- weakAddWatcher(FileWatcher.Listener) - Method in class net.morimekta.util.FileWatcher
-
Deprecated.
- weakAddWatcher(FileWatcher.Watcher) - Method in class net.morimekta.util.FileWatcher
-
Deprecated.
- withJavaOptionsWorkaround() - Method in class net.morimekta.util.concurrent.ProcessExecutor
-
Handle a special case for java.
- wrap(byte[]) - Static method in class net.morimekta.util.Binary
-
Convenience method to wrap a byte array into a byte sequence.
- write(byte[]) - Method in class net.morimekta.util.io.BinaryWriter
- write(byte[]) - Method in class net.morimekta.util.io.ByteBufferOutputStream
- write(byte[]) - Method in class net.morimekta.util.io.CountingOutputStream
- write(byte[], int, int) - Method in class net.morimekta.util.io.BinaryWriter
- write(byte[], int, int) - Method in class net.morimekta.util.io.ByteBufferOutputStream
- write(byte[], int, int) - Method in class net.morimekta.util.io.CountingOutputStream
- write(char[], int, int) - Method in class net.morimekta.util.io.Utf8StreamWriter
- write(int) - Method in class net.morimekta.util.io.BinaryWriter
- write(int) - Method in class net.morimekta.util.io.ByteBufferOutputStream
- write(int) - Method in class net.morimekta.util.io.CountingOutputStream
- write(OutputStream) - Method in class net.morimekta.util.Binary
-
Write bytes to output stream.
- write(String, InputStream) - Method in class net.morimekta.util.TemporaryAssetFolder
- write(String, Reader) - Method in class net.morimekta.util.TemporaryAssetFolder
- 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.
- writeFloat(float) - 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.
All Classes All Packages