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

A

AbstractMultimap<K,V,C extends Collection<V>> - Class in de.greenrobot.common
Combines a Map with List values to provide simple way to store multiple values for a key (multimap).
AbstractMultimap(Map<K, C>) - Constructor for class de.greenrobot.common.AbstractMultimap
 
add(long) - Method in class de.greenrobot.common.LongHashSet
 
addDays(long, int) - Static method in class de.greenrobot.common.DateUtils
 
addDays(Calendar, int) - Static method in class de.greenrobot.common.DateUtils
 
available() - Method in class de.greenrobot.common.io.LimitedInputStream
 

B

Base64 - Class in de.greenrobot.common
Encodes and decodes to and from Base64 notation.
Base64.InputStream - Class in de.greenrobot.common
A Base64.InputStream will read data from another java.io.InputStream, given in the constructor, and encode/decode to/from Base64 notation on the fly.
Base64.InputStream(InputStream) - Constructor for class de.greenrobot.common.Base64.InputStream
Constructs a Base64.InputStream in DECODE mode.
Base64.InputStream(InputStream, int) - Constructor for class de.greenrobot.common.Base64.InputStream
Constructs a Base64.InputStream in either ENCODE or DECODE mode.
Base64.OutputStream - Class in de.greenrobot.common
A Base64.OutputStream will write data to another java.io.OutputStream, given in the constructor, and encode/decode to/from Base64 notation on the fly.
Base64.OutputStream(OutputStream) - Constructor for class de.greenrobot.common.Base64.OutputStream
Constructs a Base64.OutputStream in ENCODE mode.
Base64.OutputStream(OutputStream, int) - Constructor for class de.greenrobot.common.Base64.OutputStream
Constructs a Base64.OutputStream in either ENCODE or DECODE mode.

C

Checksum128 - Interface in de.greenrobot.common.hash
Checksum interface to access 128 bit in various ways.
cleanUpObsoleteEntries() - Method in class de.greenrobot.common.ObjectCache
Iterates over all entries to check for obsolete ones (time expired or reference cleared).
clear() - Method in class de.greenrobot.common.AbstractMultimap
 
clear() - Method in class de.greenrobot.common.LongHashMap
 
clear() - Method in class de.greenrobot.common.LongHashSet
 
clear() - Method in class de.greenrobot.common.ObjectCache
Clears all cached entries.
close() - Method in class de.greenrobot.common.Base64.OutputStream
Flushes and closes (I think, in the superclass) the stream.
close() - Method in class de.greenrobot.common.io.LimitedInputStream
 
CombinedChecksum - Class in de.greenrobot.common.hash
Combines two 32 bit hashes into a 64 bit hash.
CombinedChecksum(Checksum, Checksum) - Constructor for class de.greenrobot.common.hash.CombinedChecksum
 
concatLines(List<String>) - Static method in class de.greenrobot.common.StringUtils
Returns a concatenated string consisting of the given lines seperated by a new line character \n.
contains(long) - Method in class de.greenrobot.common.LongHashSet
 
containsElement(K, V) - Method in class de.greenrobot.common.AbstractMultimap
 
containsElement(V) - Method in class de.greenrobot.common.AbstractMultimap
 
containsKey(Object) - Method in class de.greenrobot.common.AbstractMultimap
 
containsKey(long) - Method in class de.greenrobot.common.LongHashMap
 
containsKey(KEY) - Method in class de.greenrobot.common.ObjectCache
 
containsKeyWithValue(KEY) - Method in class de.greenrobot.common.ObjectCache
 
containsValue(Object) - Method in class de.greenrobot.common.AbstractMultimap
 
copyAllBytes(InputStream, OutputStream) - Static method in class de.greenrobot.common.io.IoUtils
Copies all available data from in to out without closing any stream.
copyFile(File, File) - Static method in class de.greenrobot.common.io.FileUtils
Copies a file to another location.
copyFile(String, String) - Static method in class de.greenrobot.common.io.FileUtils
Copies a file to another location.
createGZIPInputStream(InputStream, int) - Static method in class de.greenrobot.common.io.LimitedInputStream
 
createNewCollection() - Method in class de.greenrobot.common.AbstractMultimap
 
createNewCollection() - Method in class de.greenrobot.common.ListMap
 
createNewCollection() - Method in class de.greenrobot.common.SetMap
 

D

DateUtils - Class in de.greenrobot.common
Simple Date and time utils.
DateUtils() - Constructor for class de.greenrobot.common.DateUtils
 
DateUtils.DefaultCalendarThreadLocal - Class in de.greenrobot.common
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.
DateUtils.DefaultCalendarThreadLocal() - Constructor for class de.greenrobot.common.DateUtils.DefaultCalendarThreadLocal
 
de.greenrobot.common - package de.greenrobot.common
 
de.greenrobot.common.hash - package de.greenrobot.common.hash
 
de.greenrobot.common.io - package de.greenrobot.common.io
 
DECODE - Static variable in class de.greenrobot.common.Base64
Specify decoding in first bit.
decode(byte[]) - Static method in class de.greenrobot.common.Base64
Low-level access to decoding ASCII characters in the form of a byte array.
decode(byte[], int, int, int) - Static method in class de.greenrobot.common.Base64
Low-level access to decoding ASCII characters in the form of a byte array.
decode(String) - Static method in class de.greenrobot.common.Base64
Decodes data from Base64 notation, automatically detecting gzip-compressed data and decompressing it.
decode(String, int) - Static method in class de.greenrobot.common.Base64
Decodes data from Base64 notation, automatically detecting gzip-compressed data and decompressing it.
decodeFileToFile(String, String) - Static method in class de.greenrobot.common.Base64
Reads infile and decodes it to outfile.
decodeFromFile(String) - Static method in class de.greenrobot.common.Base64
Convenience method for reading a base64-encoded file and decoding it.
decodeToFile(String, String) - Static method in class de.greenrobot.common.Base64
Convenience method for decoding data to a file.
decodeToObject(String) - Static method in class de.greenrobot.common.Base64
Attempts to decode Base64 data and deserialize a Java Object within.
decodeToObject(String, int, ClassLoader) - Static method in class de.greenrobot.common.Base64
Attempts to decode Base64 data and deserialize a Java Object within.
decodeUrl(String) - Static method in class de.greenrobot.common.StringUtils
URL-Decodes a given string using UTF-8.
decodeUrlIso(String) - Static method in class de.greenrobot.common.StringUtils
URL-Decodes a given string using ISO-8859-1.
DO_BREAK_LINES - Static variable in class de.greenrobot.common.Base64
Do break lines when encoding.
DONT_GUNZIP - Static variable in class de.greenrobot.common.Base64
Specify that gzipped data should not be automatically gunzipped.

E

ellipsize(String, int) - Static method in class de.greenrobot.common.StringUtils
Cuts the string at the end if it's longer than maxLength and appends "..." to it.
ENCODE - Static variable in class de.greenrobot.common.Base64
Specify encoding in first bit.
encode(ByteBuffer, ByteBuffer) - Static method in class de.greenrobot.common.Base64
Performs Base64 encoding on the raw ByteBuffer, writing it to the encoded ByteBuffer.
encode(ByteBuffer, CharBuffer) - Static method in class de.greenrobot.common.Base64
Performs Base64 encoding on the raw ByteBuffer, writing it to the encoded CharBuffer.
encodeBytes(byte[]) - Static method in class de.greenrobot.common.Base64
Encodes a byte array into Base64 notation.
encodeBytes(byte[], int) - Static method in class de.greenrobot.common.Base64
Encodes a byte array into Base64 notation.
encodeBytes(byte[], int, int) - Static method in class de.greenrobot.common.Base64
Encodes a byte array into Base64 notation.
encodeBytes(byte[], int, int, int) - Static method in class de.greenrobot.common.Base64
Encodes a byte array into Base64 notation.
encodeBytesToBytes(byte[]) - Static method in class de.greenrobot.common.Base64
Similar to Base64.encodeBytes(byte[]) but returns a byte array instead of instantiating a String.
encodeBytesToBytes(byte[], int, int, int) - Static method in class de.greenrobot.common.Base64
Similar to Base64.encodeBytes(byte[], int, int, int) but returns a byte array instead of instantiating a String.
encodeFileToFile(String, String) - Static method in class de.greenrobot.common.Base64
Reads infile and encodes it to outfile.
encodeFromFile(String) - Static method in class de.greenrobot.common.Base64
Convenience method for reading a binary file and base64-encoding it.
encodeObject(Serializable) - Static method in class de.greenrobot.common.Base64
Serializes an object and returns the Base64-encoded version of that serialized object.
encodeObject(Serializable, int) - Static method in class de.greenrobot.common.Base64
Serializes an object and returns the Base64-encoded version of that serialized object.
encodeToFile(byte[], String) - Static method in class de.greenrobot.common.Base64
Convenience method for encoding data to a file.
encodeUrl(String) - Static method in class de.greenrobot.common.StringUtils
URL-Encodes a given string using UTF-8 (some web pages have problems with UTF-8 and umlauts, consider StringUtils.encodeUrlIso(String) also).
encodeUrlIso(String) - Static method in class de.greenrobot.common.StringUtils
URL-encodes a given string using ISO-8859-1, which may work better with web pages and umlauts compared to UTF-8.
entrySet() - Method in class de.greenrobot.common.AbstractMultimap
 
equals(Object) - Method in class de.greenrobot.common.AbstractMultimap
 
evictToTargetSize(int) - Method in class de.greenrobot.common.ObjectCache
 

F

fastSplit(String, char) - Static method in class de.greenrobot.common.StringUtils
Splits a String based on a single character, which is usually faster than regex-based String.split().
FileUtils - Class in de.greenrobot.common.io
Utils for dealing with files.
FileUtils() - Constructor for class de.greenrobot.common.io.FileUtils
 
findLinesContaining(String, String) - Static method in class de.greenrobot.common.StringUtils
 
flushBase64() - Method in class de.greenrobot.common.Base64.OutputStream
Method added by PHIL.
FNV32 - Class in de.greenrobot.common.hash
Hash function FNV-1a (http://www.isthe.com/chongo/tech/comp/fnv).
FNV32() - Constructor for class de.greenrobot.common.hash.FNV32
 
FNV64 - Class in de.greenrobot.common.hash
Hash function FNV-1a (http://www.isthe.com/chongo/tech/comp/fnv).
FNV64() - Constructor for class de.greenrobot.common.hash.FNV64
 
FNVJ32 - Class in de.greenrobot.common.hash
Custom 32-bit hash function favoring speed over quality.
FNVJ32() - Constructor for class de.greenrobot.common.hash.FNVJ32
 
FNVJ32(int) - Constructor for class de.greenrobot.common.hash.FNVJ32
 
FNVJ64 - Class in de.greenrobot.common.hash
Custom 64-bit hash function favoring speed over quality.
FNVJ64() - Constructor for class de.greenrobot.common.hash.FNVJ64
 
FNVJ64(long) - Constructor for class de.greenrobot.common.hash.FNVJ64
 

G

generateDigestString(String, String, String, int) - Static method in class de.greenrobot.common.StringUtils
 
generateMD5String(String) - Static method in class de.greenrobot.common.StringUtils
Generates the MD5 digest for a given String based on UTF-8.
generateSHA1String(String) - Static method in class de.greenrobot.common.StringUtils
Generates the SHA-1 digest for a given String based on UTF-8.
get(Object) - Method in class de.greenrobot.common.AbstractMultimap
 
get(long) - Method in class de.greenrobot.common.LongHashMap
 
get(KEY) - Method in class de.greenrobot.common.ObjectCache
Get the cached entry or null if no valid cached entry is found.
getBytesLeft() - Method in class de.greenrobot.common.io.LimitedInputStream
 
getCountEvicted() - Method in class de.greenrobot.common.ObjectCache
 
getCountExpired() - Method in class de.greenrobot.common.ObjectCache
 
getCountHit() - Method in class de.greenrobot.common.ObjectCache
 
getCountMiss() - Method in class de.greenrobot.common.ObjectCache
 
getCountPut() - Method in class de.greenrobot.common.ObjectCache
 
getCountRefCleared() - Method in class de.greenrobot.common.ObjectCache
 
getDayAsReadableInt(long) - Static method in class de.greenrobot.common.DateUtils
Readable yyyyMMdd int representation of a day, which is also sortable.
getDayAsReadableInt(Calendar) - Static method in class de.greenrobot.common.DateUtils
Readable yyyyMMdd representation of a day, which is also sortable.
getDayDifference(long, long) - Static method in class de.greenrobot.common.DateUtils
 
getDayDifferenceOfReadableInts(int, int) - Static method in class de.greenrobot.common.DateUtils
 
getDigest(InputStream, String) - Static method in class de.greenrobot.common.io.IoUtils
 
getInstance() - Static method in class de.greenrobot.common.PrimitiveArrayUtils
 
getInstanceSafe() - Static method in class de.greenrobot.common.PrimitiveArrayUtils
 
getIntBE(byte[], int) - Method in class de.greenrobot.common.PrimitiveArrayUtils
 
getIntLE(byte[], int) - Method in class de.greenrobot.common.PrimitiveArrayUtils
 
getIntLE(char[], int) - Method in class de.greenrobot.common.PrimitiveArrayUtils
 
getLength() - Method in class de.greenrobot.common.hash.FNVJ32
 
getLength() - Method in class de.greenrobot.common.hash.FNVJ64
 
getLoadFactor() - Method in class de.greenrobot.common.LongHashSet
 
getLongBE(byte[], int) - Method in class de.greenrobot.common.PrimitiveArrayUtils
 
getLongLE(byte[], int) - Method in class de.greenrobot.common.PrimitiveArrayUtils
 
getMaxSize() - Method in class de.greenrobot.common.ObjectCache
 
getMd5(File) - Static method in class de.greenrobot.common.io.FileUtils
 
getMd5(InputStream) - Static method in class de.greenrobot.common.io.IoUtils
 
getSha1(File) - Static method in class de.greenrobot.common.io.FileUtils
 
getSha1(InputStream) - Static method in class de.greenrobot.common.io.IoUtils
 
getStatsStringRemoved() - Method in class de.greenrobot.common.ObjectCache
Often used in addition to ObjectCache.toString() to print out states: details why entries were removed.
getTimeForDay(int, int, int) - Static method in class de.greenrobot.common.DateUtils
 
getTimeForDay(Calendar, int, int, int) - Static method in class de.greenrobot.common.DateUtils
 
getTimeFromDayReadableInt(int) - Static method in class de.greenrobot.common.DateUtils
Returns midnight of the given day.
getTimeFromDayReadableInt(Calendar, int, int) - Static method in class de.greenrobot.common.DateUtils
 
getValue() - Method in class de.greenrobot.common.hash.CombinedChecksum
 
getValue() - Method in class de.greenrobot.common.hash.FNV32
 
getValue() - Method in class de.greenrobot.common.hash.FNV64
 
getValue() - Method in class de.greenrobot.common.hash.FNVJ32
 
getValue() - Method in class de.greenrobot.common.hash.FNVJ64
 
getValue() - Method in class de.greenrobot.common.hash.Murmur3A
 
getValue() - Method in class de.greenrobot.common.hash.Murmur3F
 
getValue() - Method in class de.greenrobot.common.hash.PrimitiveDataChecksum
 
getValueBigInteger() - Method in interface de.greenrobot.common.hash.Checksum128
Positive value.
getValueBigInteger() - Method in class de.greenrobot.common.hash.Murmur3F
Positive value.
getValueBytesBigEndian() - Method in interface de.greenrobot.common.hash.Checksum128
Big endian is the default in Java / network byte order.
getValueBytesBigEndian() - Method in class de.greenrobot.common.hash.Murmur3F
 
getValueBytesLittleEndian() - Method in interface de.greenrobot.common.hash.Checksum128
Big endian is used by most machines natively.
getValueBytesLittleEndian() - Method in class de.greenrobot.common.hash.Murmur3F
 
getValueHexString() - Method in interface de.greenrobot.common.hash.Checksum128
Padded with leading 0s to ensure length of 32.
getValueHexString() - Method in class de.greenrobot.common.hash.Murmur3F
Padded with leading 0s to ensure length of 32.
getValueHigh() - Method in interface de.greenrobot.common.hash.Checksum128
Returns the higher 64 bits of the 128 bit hash.
getValueHigh() - Method in class de.greenrobot.common.hash.Murmur3F
Returns the higher 64 bits of the 128 bit hash.
GZIP - Static variable in class de.greenrobot.common.Base64
Specify that data should be gzip-compressed in second bit.

H

hashCode() - Method in class de.greenrobot.common.AbstractMultimap
 

I

initialValue() - Method in class de.greenrobot.common.DateUtils.DefaultCalendarThreadLocal
 
IoUtils - Class in de.greenrobot.common.io
Utils for dealing with IO (streams, readers, ...).
IoUtils() - Constructor for class de.greenrobot.common.io.IoUtils
 
isEmpty() - Method in class de.greenrobot.common.AbstractMultimap
 

J

joinArrayOnComma(int[]) - Static method in class de.greenrobot.common.StringUtils
 
joinArrayOnComma(String[]) - Static method in class de.greenrobot.common.StringUtils
 
joinIterableOnComma(Iterable<?>) - Static method in class de.greenrobot.common.StringUtils
 

K

keySet() - Method in class de.greenrobot.common.AbstractMultimap
 
keySet() - Method in class de.greenrobot.common.ObjectCache
 

L

LimitedInputStream - Class in de.greenrobot.common.io
Wraps around an InputStream and limits the amount of bytes that can be read from it.
LimitedInputStream(InputStream, int) - Constructor for class de.greenrobot.common.io.LimitedInputStream
 
ListMap<K,V> - Class in de.greenrobot.common
Combines a Map with List values to provide simple way to store multiple values for a key (multimap).
ListMap() - Constructor for class de.greenrobot.common.ListMap
 
ListMap(Map<K, List<V>>, boolean) - Constructor for class de.greenrobot.common.ListMap
 
LongHashMap<T> - Class in de.greenrobot.common
An minimalistic hash map optimized for long keys.
LongHashMap() - Constructor for class de.greenrobot.common.LongHashMap
 
LongHashMap(int) - Constructor for class de.greenrobot.common.LongHashMap
 
LongHashSet - Class in de.greenrobot.common
An minimalistic hash set optimized for long values.
LongHashSet() - Constructor for class de.greenrobot.common.LongHashSet
 
LongHashSet(int) - Constructor for class de.greenrobot.common.LongHashSet
 

M

map - Variable in class de.greenrobot.common.AbstractMultimap
 
mark(int) - Method in class de.greenrobot.common.io.RepeaterInputStream
 
markSupported() - Method in class de.greenrobot.common.io.RepeaterInputStream
 
Murmur3A - Class in de.greenrobot.common.hash
Murmur3A (murmurhash3_x86_32)
Murmur3A() - Constructor for class de.greenrobot.common.hash.Murmur3A
 
Murmur3A(int) - Constructor for class de.greenrobot.common.hash.Murmur3A
 
Murmur3F - Class in de.greenrobot.common.hash
Murmur3F (MurmurHash3_x64_128)
Murmur3F() - Constructor for class de.greenrobot.common.hash.Murmur3F
 
Murmur3F(int) - Constructor for class de.greenrobot.common.hash.Murmur3F
 

N

NO_OPTIONS - Static variable in class de.greenrobot.common.Base64
No options specified.

O

ObjectCache<KEY,VALUE> - Class in de.greenrobot.common
An in-memory object cache supporting soft/weak/strong references, maximum size (clearing the entries putted first), and time-based expiration.
ObjectCache(ObjectCache.ReferenceType, int, long) - Constructor for class de.greenrobot.common.ObjectCache
Create a cache according to the given configuration.
ObjectCache.ReferenceType - Enum in de.greenrobot.common
 
ORDERED - Static variable in class de.greenrobot.common.Base64
Encode using the special "ordered" dialect of Base64 described here: http://www.faqs.org/qa/rfcc-1940.html.

P

PrimitiveArrayUtils - Class in de.greenrobot.common
 
PrimitiveArrayUtils() - Constructor for class de.greenrobot.common.PrimitiveArrayUtils
 
PrimitiveDataChecksum - Class in de.greenrobot.common.hash
Wrapper for Checksum that accepts all kind of primitive data to update the hash.
PrimitiveDataChecksum(Checksum) - Constructor for class de.greenrobot.common.hash.PrimitiveDataChecksum
 
put(K, C) - Method in class de.greenrobot.common.AbstractMultimap
 
put(long, T) - Method in class de.greenrobot.common.LongHashMap
 
put(KEY, VALUE) - Method in class de.greenrobot.common.ObjectCache
Stores an new entry in the cache.
putAll(Map<? extends K, ? extends C>) - Method in class de.greenrobot.common.AbstractMultimap
 
putAll(Map<KEY, VALUE>) - Method in class de.greenrobot.common.ObjectCache
Stores all entries contained in the given map in the cache.
putElement(K, V) - Method in class de.greenrobot.common.AbstractMultimap
 
putElements(K, Collection<V>) - Method in class de.greenrobot.common.AbstractMultimap
 

R

read() - Method in class de.greenrobot.common.Base64.InputStream
Reads enough of the input stream to convert to/from Base64 and returns the next byte.
read(byte[], int, int) - Method in class de.greenrobot.common.Base64.InputStream
Calls Base64.InputStream.read() repeatedly until the end of stream is reached or len bytes are read.
read() - Method in class de.greenrobot.common.io.LimitedInputStream
 
read(byte[], int, int) - Method in class de.greenrobot.common.io.LimitedInputStream
 
read(byte[]) - Method in class de.greenrobot.common.io.LimitedInputStream
 
read() - Method in class de.greenrobot.common.io.RepeaterInputStream
 
read(byte[], int, int) - Method in class de.greenrobot.common.io.RepeaterInputStream
 
read(byte[]) - Method in class de.greenrobot.common.io.RepeaterInputStream
 
readAllBytes(InputStream) - Static method in class de.greenrobot.common.io.IoUtils
 
readAllBytesAndClose(InputStream) - Static method in class de.greenrobot.common.io.IoUtils
 
readAllChars(Reader) - Static method in class de.greenrobot.common.io.IoUtils
 
readAllCharsAndClose(Reader) - Static method in class de.greenrobot.common.io.IoUtils
 
readBytes(File) - Static method in class de.greenrobot.common.io.FileUtils
 
readChars(File, String) - Static method in class de.greenrobot.common.io.FileUtils
 
readObject(File) - Static method in class de.greenrobot.common.io.FileUtils
To read an object in a quick & dirty way.
readUtf8(File) - Static method in class de.greenrobot.common.io.FileUtils
 
remove(Object) - Method in class de.greenrobot.common.AbstractMultimap
 
remove(long) - Method in class de.greenrobot.common.LongHashMap
 
remove(long) - Method in class de.greenrobot.common.LongHashSet
 
remove(KEY) - Method in class de.greenrobot.common.ObjectCache
Removes an entry from the cache.
removeElement(K, V) - Method in class de.greenrobot.common.AbstractMultimap
 
RepeaterInputStream - Class in de.greenrobot.common.io
Repeats an input stream to an additional OutputStream.
RepeaterInputStream(InputStream, OutputStream) - Constructor for class de.greenrobot.common.io.RepeaterInputStream
 
reserveRoom(int) - Method in class de.greenrobot.common.LongHashMap
Target load: 0,6
reserveRoom(int) - Method in class de.greenrobot.common.LongHashSet
Target load: 0,6
reset() - Method in class de.greenrobot.common.hash.CombinedChecksum
 
reset() - Method in class de.greenrobot.common.hash.FNV32
 
reset() - Method in class de.greenrobot.common.hash.FNV64
 
reset() - Method in class de.greenrobot.common.hash.FNVJ32
 
reset() - Method in class de.greenrobot.common.hash.FNVJ64
 
reset() - Method in class de.greenrobot.common.hash.Murmur3A
 
reset() - Method in class de.greenrobot.common.hash.Murmur3F
 
reset() - Method in class de.greenrobot.common.hash.PrimitiveDataChecksum
 
reset() - Method in class de.greenrobot.common.io.RepeaterInputStream
 
resolveEntity(String) - Static method in class de.greenrobot.common.StringUtils
Simple HTML/XML entity resolving: Only supports unicode enitities and a very limited number text represented entities (apos, quot, gt, lt, and amp).
resumeEncoding() - Method in class de.greenrobot.common.Base64.OutputStream
Resumes encoding of the stream.

S

safeClose(InputStream) - Static method in class de.greenrobot.common.io.IoUtils
Closes the given stream inside a try/catch.
safeClose(OutputStream) - Static method in class de.greenrobot.common.io.IoUtils
Closes the given stream inside a try/catch.
safeClose(Reader) - Static method in class de.greenrobot.common.io.IoUtils
Closes the given stream inside a try/catch.
safeClose(Writer) - Static method in class de.greenrobot.common.io.IoUtils
Closes the given stream inside a try/catch.
setCapacity(int) - Method in class de.greenrobot.common.LongHashMap
 
setCapacity(int) - Method in class de.greenrobot.common.LongHashSet
 
setLoadFactor(float) - Method in class de.greenrobot.common.LongHashSet
 
SetMap<K,V> - Class in de.greenrobot.common
Combines a Map with Set values to provide simple way to store multiple values for a key (multimap).
SetMap() - Constructor for class de.greenrobot.common.SetMap
 
SetMap(Map<K, Set<V>>, boolean) - Constructor for class de.greenrobot.common.SetMap
 
setTime(Calendar, int, int, int, int) - Static method in class de.greenrobot.common.DateUtils
Sets hour, minutes, seconds and milliseconds to the given values.
size() - Method in class de.greenrobot.common.AbstractMultimap
 
size() - Method in class de.greenrobot.common.LongHashMap
 
size() - Method in class de.greenrobot.common.LongHashSet
 
size() - Method in class de.greenrobot.common.ObjectCache
 
skip(long) - Method in class de.greenrobot.common.io.LimitedInputStream
 
splitLines(String, boolean) - Static method in class de.greenrobot.common.StringUtils
 
StringUtils - Class in de.greenrobot.common
Utilities for working with strings, like splitting, url-encoding, and MD5 digests.
StringUtils() - Constructor for class de.greenrobot.common.StringUtils
 
suspendEncoding() - Method in class de.greenrobot.common.Base64.OutputStream
Suspends encoding of the stream.

T

toHexString(byte[], int) - Static method in class de.greenrobot.common.StringUtils
 
toString() - Method in class de.greenrobot.common.ObjectCache
 

U

update(int) - Method in class de.greenrobot.common.hash.CombinedChecksum
 
update(byte[], int, int) - Method in class de.greenrobot.common.hash.CombinedChecksum
 
update(int) - Method in class de.greenrobot.common.hash.FNV32
 
update(byte[], int, int) - Method in class de.greenrobot.common.hash.FNV32
 
update(int) - Method in class de.greenrobot.common.hash.FNV64
 
update(byte[], int, int) - Method in class de.greenrobot.common.hash.FNV64
 
update(int) - Method in class de.greenrobot.common.hash.FNVJ32
 
update(byte[], int, int) - Method in class de.greenrobot.common.hash.FNVJ32
 
update(int) - Method in class de.greenrobot.common.hash.FNVJ64
 
update(byte[], int, int) - Method in class de.greenrobot.common.hash.FNVJ64
 
update(int) - Method in class de.greenrobot.common.hash.Murmur3A
 
update(byte[], int, int) - Method in class de.greenrobot.common.hash.Murmur3A
 
update(byte[]) - Method in class de.greenrobot.common.hash.Murmur3A
 
update(int) - Method in class de.greenrobot.common.hash.Murmur3F
 
update(byte[]) - Method in class de.greenrobot.common.hash.Murmur3F
 
update(byte[], int, int) - Method in class de.greenrobot.common.hash.Murmur3F
 
update(int) - Method in class de.greenrobot.common.hash.PrimitiveDataChecksum
 
update(byte[], int, int) - Method in class de.greenrobot.common.hash.PrimitiveDataChecksum
 
update(byte[]) - Method in class de.greenrobot.common.hash.PrimitiveDataChecksum
Note: leaves the checksum untouched if given value is null (provide a special value for stronger hashing).
update(short[]) - Method in class de.greenrobot.common.hash.PrimitiveDataChecksum
Note: leaves the checksum untouched if given value is null (provide a special value for stronger hashing).
update(int[]) - Method in class de.greenrobot.common.hash.PrimitiveDataChecksum
Note: leaves the checksum untouched if given value is null (provide a special value for stronger hashing).
update(long[]) - Method in class de.greenrobot.common.hash.PrimitiveDataChecksum
Note: leaves the checksum untouched if given value is null (provide a special value for stronger hashing).
update(float[]) - Method in class de.greenrobot.common.hash.PrimitiveDataChecksum
Note: leaves the checksum untouched if given value is null (provide a special value for stronger hashing).
update(double[]) - Method in class de.greenrobot.common.hash.PrimitiveDataChecksum
Note: leaves the checksum untouched if given value is null (provide a special value for stronger hashing).
updateBoolean(boolean) - Method in class de.greenrobot.common.hash.Murmur3A
updates a byte with 0 for false and 1 for true
updateBoolean(boolean) - Method in class de.greenrobot.common.hash.PrimitiveDataChecksum
updates a byte with 0 for false and 1 for true
updateChecksum(File, Checksum) - Static method in class de.greenrobot.common.io.FileUtils
 
updateChecksum(InputStream, Checksum) - Static method in class de.greenrobot.common.io.IoUtils
 
updateDouble(double) - Method in class de.greenrobot.common.hash.Murmur3A
 
updateDouble(double) - Method in class de.greenrobot.common.hash.PrimitiveDataChecksum
 
updateFloat(float) - Method in class de.greenrobot.common.hash.Murmur3A
 
updateFloat(float) - Method in class de.greenrobot.common.hash.PrimitiveDataChecksum
 
updateInt(int) - Method in class de.greenrobot.common.hash.Murmur3A
 
updateInt(int...) - Method in class de.greenrobot.common.hash.Murmur3A
 
updateInt(int) - Method in class de.greenrobot.common.hash.PrimitiveDataChecksum
 
updateLong(long) - Method in class de.greenrobot.common.hash.Murmur3A
 
updateLong(long...) - Method in class de.greenrobot.common.hash.Murmur3A
 
updateLong(long) - Method in class de.greenrobot.common.hash.PrimitiveDataChecksum
 
updateLongBE(long) - Method in class de.greenrobot.common.hash.Murmur3F
Consider Murmur3F.updateLongLE(long) for better performance if you do not rely on big endian (BE) byte order.
updateLongLE(long) - Method in class de.greenrobot.common.hash.Murmur3F
Special update method to hash long values very efficiently using Java's native little endian (LE) byte order.
updateShort(short) - Method in class de.greenrobot.common.hash.Murmur3A
 
updateShort(short...) - Method in class de.greenrobot.common.hash.Murmur3A
 
updateShort(short) - Method in class de.greenrobot.common.hash.PrimitiveDataChecksum
 
updateUtf8(String) - Method in class de.greenrobot.common.hash.PrimitiveDataChecksum
Note: leaves the checksum untouched if given value is null (provide a special value for stronger hashing).
updateUtf8(String[]) - Method in class de.greenrobot.common.hash.PrimitiveDataChecksum
Note: leaves the checksum untouched if given value is null (provide a special value for stronger hashing).
URL_SAFE - Static variable in class de.greenrobot.common.Base64
Encode using Base64-like encoding that is URL- and Filename-safe as described in Section 4 of RFC3548: http://www.faqs.org/rfcs/rfc3548.html.

V

valueOf(String) - Static method in enum de.greenrobot.common.ObjectCache.ReferenceType
Returns the enum constant of this type with the specified name.
values() - Method in class de.greenrobot.common.AbstractMultimap
 
values() - Static method in enum de.greenrobot.common.ObjectCache.ReferenceType
Returns an array containing the constants of this enum type, in the order they are declared.
valuesElements() - Method in class de.greenrobot.common.AbstractMultimap
 

W

write(int) - Method in class de.greenrobot.common.Base64.OutputStream
Writes the byte to the output stream after converting to/from Base64 notation.
write(byte[], int, int) - Method in class de.greenrobot.common.Base64.OutputStream
Calls Base64.OutputStream.write(int) repeatedly until len bytes are written.
writeAllCharsAndClose(Writer, CharSequence) - Static method in class de.greenrobot.common.io.IoUtils
 
writeBytes(File, byte[]) - Static method in class de.greenrobot.common.io.FileUtils
 
writeChars(File, String, CharSequence) - Static method in class de.greenrobot.common.io.FileUtils
 
writeObject(File, Object) - Static method in class de.greenrobot.common.io.FileUtils
To store an object in a quick & dirty way.
writeUtf8(File, CharSequence) - Static method in class de.greenrobot.common.io.FileUtils
 
A B C D E F G H I J K L M N O P R S T U V W 

Copyright © 2016. All rights reserved.