- capacity() - Method in class org.greenrobot.essentials.io.CircularByteBuffer
-
The capacity (size) is the maximum of bytes that can be stored inside this buffer.
- Checksum128 - Interface in org.greenrobot.essentials.hash
-
Checksum interface to access 128 bit in various ways.
- CircularByteBuffer - Class in org.greenrobot.essentials.io
-
A circular byte buffer (also called ring buffer) allows putting and and getting bytes in a FIFO way.
- CircularByteBuffer() - Constructor for class org.greenrobot.essentials.io.CircularByteBuffer
-
- CircularByteBuffer(int) - Constructor for class org.greenrobot.essentials.io.CircularByteBuffer
-
- cleanUpObsoleteEntries() - Method in class org.greenrobot.essentials.ObjectCache
-
Iterates over all entries to check for obsolete ones (time expired or reference cleared).
- clear() - Method in class org.greenrobot.essentials.collections.AbstractMultimap
-
- clear() - Method in class org.greenrobot.essentials.collections.LongHashMap
-
- clear() - Method in class org.greenrobot.essentials.collections.LongHashMap.Synchronized
-
- clear() - Method in class org.greenrobot.essentials.collections.LongHashSet
-
- clear() - Method in class org.greenrobot.essentials.collections.LongHashSet.Synchronized
-
- clear() - Method in class org.greenrobot.essentials.io.CircularByteBuffer
-
Clears all data from the buffer.
- clear() - Method in class org.greenrobot.essentials.ObjectCache
-
Clears all cached entries.
- close() - Method in class org.greenrobot.essentials.Base64.OutputStream
-
Flushes and closes (I think, in the superclass) the stream.
- close() - Method in class org.greenrobot.essentials.io.LimitedInputStream
-
- close() - Method in class org.greenrobot.essentials.io.PipelineOutputStream
-
- close() - Method in class org.greenrobot.essentials.io.PipelineOutputStream.PipelineInputStream
-
- contains(long) - Method in class org.greenrobot.essentials.collections.LongHashSet
-
- contains(long) - Method in class org.greenrobot.essentials.collections.LongHashSet.Synchronized
-
- containsElement(K, V) - Method in class org.greenrobot.essentials.collections.AbstractMultimap
-
- containsElement(V) - Method in class org.greenrobot.essentials.collections.AbstractMultimap
-
- containsKey(Object) - Method in class org.greenrobot.essentials.collections.AbstractMultimap
-
- containsKey(long) - Method in class org.greenrobot.essentials.collections.LongHashMap
-
- containsKey(long) - Method in class org.greenrobot.essentials.collections.LongHashMap.Synchronized
-
- containsKey(KEY) - Method in class org.greenrobot.essentials.ObjectCache
-
- containsKeyWithValue(KEY) - Method in class org.greenrobot.essentials.ObjectCache
-
- containsValue(Object) - Method in class org.greenrobot.essentials.collections.AbstractMultimap
-
- copyAllBytes(InputStream, OutputStream) - Static method in class org.greenrobot.essentials.io.IoUtils
-
Copies all available data from in to out without closing any stream.
- copyFile(File, File) - Static method in class org.greenrobot.essentials.io.FileUtils
-
Copies a file to another location.
- copyFile(String, String) - Static method in class org.greenrobot.essentials.io.FileUtils
-
Copies a file to another location.
- countElements(K) - Method in class org.greenrobot.essentials.collections.AbstractMultimap
-
- countElements() - Method in class org.greenrobot.essentials.collections.AbstractMultimap
-
- create() - Static method in class org.greenrobot.essentials.collections.Multimap
-
- create(Multimap.ListType) - Static method in class org.greenrobot.essentials.collections.Multimap
-
- create() - Static method in class org.greenrobot.essentials.collections.MultimapSet
-
- create(MultimapSet.SetType) - Static method in class org.greenrobot.essentials.collections.MultimapSet
-
- createGZIPInputStream(InputStream, int) - Static method in class org.greenrobot.essentials.io.LimitedInputStream
-
- createNewCollection() - Method in class org.greenrobot.essentials.collections.AbstractMultimap
-
- createNewCollection() - Method in class org.greenrobot.essentials.collections.Multimap
-
- createNewCollection() - Method in class org.greenrobot.essentials.collections.MultimapSet
-
- createSynchronized() - Static method in class org.greenrobot.essentials.collections.LongHashMap
-
Creates a synchronized (thread-safe) LongHashSet.
- createSynchronized(int) - Static method in class org.greenrobot.essentials.collections.LongHashMap
-
Creates a synchronized (thread-safe) LongHashSet using the given initial capacity.
- createSynchronized() - Static method in class org.greenrobot.essentials.collections.LongHashSet
-
Creates a synchronized (thread-safe) LongHashSet.
- createSynchronized(int) - Static method in class org.greenrobot.essentials.collections.LongHashSet
-
Creates a synchronized (thread-safe) LongHashSet using the given initial capacity.
- DateUtils - Class in org.greenrobot.essentials
-
Simple Date and time utils.
- DateUtils() - Constructor for class org.greenrobot.essentials.DateUtils
-
- DateUtils.DefaultCalendarThreadLocal - Class in org.greenrobot.essentials
-
Calendar objects are rather expensive: for heavy usage it's a good idea to use a single instance per thread
instead of calling Calendar.getInstance() multiple times.
- DECODE - Static variable in class org.greenrobot.essentials.Base64
-
Specify decoding in first bit.
- decode(byte[]) - Static method in class org.greenrobot.essentials.Base64
-
Low-level access to decoding ASCII characters in the form of a byte array.
- decode(byte[], int, int, int) - Static method in class org.greenrobot.essentials.Base64
-
Low-level access to decoding ASCII characters in the form of a byte array.
- decode(String) - Static method in class org.greenrobot.essentials.Base64
-
Decodes data from Base64 notation, automatically detecting gzip-compressed data and decompressing it.
- decode(String, int) - Static method in class org.greenrobot.essentials.Base64
-
Decodes data from Base64 notation, automatically detecting gzip-compressed data and decompressing it.
- decodeFileToFile(String, String) - Static method in class org.greenrobot.essentials.Base64
-
Reads infile and decodes it to outfile.
- decodeFromFile(String) - Static method in class org.greenrobot.essentials.Base64
-
Convenience method for reading a base64-encoded file and decoding it.
- decodeToFile(String, String) - Static method in class org.greenrobot.essentials.Base64
-
Convenience method for decoding data to a file.
- decodeToObject(String) - Static method in class org.greenrobot.essentials.Base64
-
Attempts to decode Base64 data and deserialize a Java Object within.
- decodeToObject(String, int, ClassLoader) - Static method in class org.greenrobot.essentials.Base64
-
Attempts to decode Base64 data and deserialize a Java Object within.
- decodeUrl(String) - Static method in class org.greenrobot.essentials.StringUtils
-
URL-Decodes a given string using UTF-8.
- decodeUrlIso(String) - Static method in class org.greenrobot.essentials.StringUtils
-
URL-Decodes a given string using ISO-8859-1.
- DEFAULT_CAPACITY - Static variable in class org.greenrobot.essentials.collections.LongHashMap
-
- DEFAULT_CAPACITY - Static variable in class org.greenrobot.essentials.collections.LongHashSet
-
- DefaultCalendarThreadLocal() - Constructor for class org.greenrobot.essentials.DateUtils.DefaultCalendarThreadLocal
-
- digest(String, String, String) - Static method in class org.greenrobot.essentials.StringUtils
-
Generates a digest (hex string) for the given string
- DO_BREAK_LINES - Static variable in class org.greenrobot.essentials.Base64
-
Do break lines when encoding.
- DONT_GUNZIP - Static variable in class org.greenrobot.essentials.Base64
-
Specify that gzipped data should not be automatically gunzipped.
- ellipsize(String, int) - Static method in class org.greenrobot.essentials.StringUtils
-
Cuts the string at the end if it's longer than maxLength and appends "..." to it.
- ellipsize(String, int, String) - Static method in class org.greenrobot.essentials.StringUtils
-
Cuts the string at the end if it's longer than maxLength and appends the given end string to it.
- ENCODE - Static variable in class org.greenrobot.essentials.Base64
-
Specify encoding in first bit.
- encode(ByteBuffer, ByteBuffer) - Static method in class org.greenrobot.essentials.Base64
-
Performs Base64 encoding on the raw
ByteBuffer, writing it to the encoded
ByteBuffer.
- encode(ByteBuffer, CharBuffer) - Static method in class org.greenrobot.essentials.Base64
-
Performs Base64 encoding on the raw
ByteBuffer, writing it to the encoded
CharBuffer.
- encodeBytes(byte[]) - Static method in class org.greenrobot.essentials.Base64
-
Encodes a byte array into Base64 notation.
- encodeBytes(byte[], int) - Static method in class org.greenrobot.essentials.Base64
-
Encodes a byte array into Base64 notation.
- encodeBytes(byte[], int, int) - Static method in class org.greenrobot.essentials.Base64
-
Encodes a byte array into Base64 notation.
- encodeBytes(byte[], int, int, int) - Static method in class org.greenrobot.essentials.Base64
-
Encodes a byte array into Base64 notation.
- encodeBytesToBytes(byte[]) - Static method in class org.greenrobot.essentials.Base64
-
- encodeBytesToBytes(byte[], int, int, int) - Static method in class org.greenrobot.essentials.Base64
-
- encodeFileToFile(String, String) - Static method in class org.greenrobot.essentials.Base64
-
Reads infile and encodes it to outfile.
- encodeFromFile(String) - Static method in class org.greenrobot.essentials.Base64
-
Convenience method for reading a binary file and base64-encoding it.
- encodeObject(Serializable) - Static method in class org.greenrobot.essentials.Base64
-
Serializes an object and returns the Base64-encoded version of that serialized object.
- encodeObject(Serializable, int) - Static method in class org.greenrobot.essentials.Base64
-
Serializes an object and returns the Base64-encoded version of that serialized object.
- encodeToFile(byte[], String) - Static method in class org.greenrobot.essentials.Base64
-
Convenience method for encoding data to a file.
- encodeUrl(String) - Static method in class org.greenrobot.essentials.StringUtils
-
- encodeUrlIso(String) - Static method in class org.greenrobot.essentials.StringUtils
-
URL-encodes a given string using ISO-8859-1, which may work better with web pages and umlauts compared to UTF-8.
- entries() - Method in class org.greenrobot.essentials.collections.LongHashMap
-
Returns all entries in no particular order.
- entries() - Method in class org.greenrobot.essentials.collections.LongHashMap.Synchronized
-
- entrySet() - Method in class org.greenrobot.essentials.collections.AbstractMultimap
-
- equals(Object) - Method in class org.greenrobot.essentials.collections.AbstractMultimap
-
- evictToTargetSize(int) - Method in class org.greenrobot.essentials.ObjectCache
-
- get(Object) - Method in class org.greenrobot.essentials.collections.AbstractMultimap
-
- get(long) - Method in class org.greenrobot.essentials.collections.LongHashMap
-
- get(long) - Method in class org.greenrobot.essentials.collections.LongHashMap.Synchronized
-
- get() - Method in class org.greenrobot.essentials.io.CircularByteBuffer
-
Gets a single byte return or -1 if no data is available.
- get(byte[]) - Method in class org.greenrobot.essentials.io.CircularByteBuffer
-
Gets as many of the requested bytes as available from this buffer.
- get(byte[], int, int) - Method in class org.greenrobot.essentials.io.CircularByteBuffer
-
Gets as many of the requested bytes as available from this buffer.
- get(KEY) - Method in class org.greenrobot.essentials.ObjectCache
-
Get the cached entry or null if no valid cached entry is found.
- getBytesLeft() - Method in class org.greenrobot.essentials.io.LimitedInputStream
-
- getCountEvicted() - Method in class org.greenrobot.essentials.ObjectCache
-
- getCountExpired() - Method in class org.greenrobot.essentials.ObjectCache
-
- getCountHit() - Method in class org.greenrobot.essentials.ObjectCache
-
- getCountMiss() - Method in class org.greenrobot.essentials.ObjectCache
-
- getCountPut() - Method in class org.greenrobot.essentials.ObjectCache
-
- getCountRefCleared() - Method in class org.greenrobot.essentials.ObjectCache
-
- getDayAsReadableInt(long) - Static method in class org.greenrobot.essentials.DateUtils
-
Readable yyyyMMdd int representation of a day, which is also sortable.
- getDayAsReadableInt(Calendar) - Static method in class org.greenrobot.essentials.DateUtils
-
Readable yyyyMMdd representation of a day, which is also sortable.
- getDayDifference(long, long) - Static method in class org.greenrobot.essentials.DateUtils
-
- getDayDifferenceOfReadableInts(int, int) - Static method in class org.greenrobot.essentials.DateUtils
-
- getDigest(InputStream, String) - Static method in class org.greenrobot.essentials.io.IoUtils
-
- getInputStream() - Method in class org.greenrobot.essentials.io.PipelineOutputStream
-
- getInstance() - Static method in class org.greenrobot.essentials.PrimitiveArrayUtils
-
- getInstanceSafe() - Static method in class org.greenrobot.essentials.PrimitiveArrayUtils
-
- getIntBE(byte[], int) - Method in class org.greenrobot.essentials.PrimitiveArrayUtils
-
- getIntLE(byte[], int) - Method in class org.greenrobot.essentials.PrimitiveArrayUtils
-
- getIntLE(char[], int) - Method in class org.greenrobot.essentials.PrimitiveArrayUtils
-
- getLongBE(byte[], int) - Method in class org.greenrobot.essentials.PrimitiveArrayUtils
-
- getLongLE(byte[], int) - Method in class org.greenrobot.essentials.PrimitiveArrayUtils
-
- getMaxSize() - Method in class org.greenrobot.essentials.ObjectCache
-
- getMd5(File) - Static method in class org.greenrobot.essentials.io.FileUtils
-
- getMd5(InputStream) - Static method in class org.greenrobot.essentials.io.IoUtils
-
- getSha1(File) - Static method in class org.greenrobot.essentials.io.FileUtils
-
- getSha1(InputStream) - Static method in class org.greenrobot.essentials.io.IoUtils
-
- getStatsStringRemoved() - Method in class org.greenrobot.essentials.ObjectCache
-
- getTimeForDay(int, int, int) - Static method in class org.greenrobot.essentials.DateUtils
-
- getTimeForDay(Calendar, int, int, int) - Static method in class org.greenrobot.essentials.DateUtils
-
- getTimeFromDayReadableInt(int) - Static method in class org.greenrobot.essentials.DateUtils
-
Returns midnight of the given day.
- getTimeFromDayReadableInt(Calendar, int, int) - Static method in class org.greenrobot.essentials.DateUtils
-
- getValue() - Method in class org.greenrobot.essentials.hash.FNV32
-
- getValue() - Method in class org.greenrobot.essentials.hash.FNV64
-
- getValue() - Method in class org.greenrobot.essentials.hash.Murmur3A
-
- getValue() - Method in class org.greenrobot.essentials.hash.Murmur3F
-
- getValue() - Method in class org.greenrobot.essentials.hash.PrimitiveDataChecksum
-
- getValueBigInteger() - Method in interface org.greenrobot.essentials.hash.Checksum128
-
Positive value.
- getValueBigInteger() - Method in class org.greenrobot.essentials.hash.Murmur3F
-
Positive value.
- getValueBytesBigEndian() - Method in interface org.greenrobot.essentials.hash.Checksum128
-
Big endian is the default in Java / network byte order.
- getValueBytesBigEndian() - Method in class org.greenrobot.essentials.hash.Murmur3F
-
- getValueBytesLittleEndian() - Method in interface org.greenrobot.essentials.hash.Checksum128
-
Big endian is used by most machines natively.
- getValueBytesLittleEndian() - Method in class org.greenrobot.essentials.hash.Murmur3F
-
- getValueHexString() - Method in interface org.greenrobot.essentials.hash.Checksum128
-
Padded with leading 0s to ensure length of 32.
- getValueHexString() - Method in class org.greenrobot.essentials.hash.Murmur3F
-
Padded with leading 0s to ensure length of 32.
- getValueHigh() - Method in interface org.greenrobot.essentials.hash.Checksum128
-
Returns the higher 64 bits of the 128 bit hash.
- getValueHigh() - Method in class org.greenrobot.essentials.hash.Murmur3F
-
Returns the higher 64 bits of the 128 bit hash.
- GZIP - Static variable in class org.greenrobot.essentials.Base64
-
Specify that data should be gzip-compressed in second bit.