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

A

acquire() - Method in interface android.support.v4.util.Pools.Pool
 
acquire() - Method in class android.support.v4.util.Pools.SimplePool
 
acquire() - Method in class android.support.v4.util.Pools.SynchronizedPool
 
addFirst(E) - Method in class android.support.v4.util.CircularArray
Add an element in front of the CircularArray.
addFirst(int) - Method in class android.support.v4.util.CircularIntArray
Add an integer in front of the CircularIntArray.
addLast(E) - Method in class android.support.v4.util.CircularArray
Add an element at end of the CircularArray.
addLast(int) - Method in class android.support.v4.util.CircularIntArray
Add an integer at end of the CircularIntArray.
android.support.v4.util - package android.support.v4.util
 
android.util - package android.util
 
append(long, E) - Method in class android.support.v4.util.LongSparseArray
Puts a key/value pair into the array, optimizing for the case where the key is greater than all existing keys in the array.
append(int, E) - Method in class android.support.v4.util.SparseArrayCompat
Puts a key/value pair into the array, optimizing for the case where the key is greater than all existing keys in the array.
ArrayMap<K,V> - Class in android.support.v4.util
ArrayMap is a generic key->value mapping data structure that is designed to be more memory efficient than a traditional HashMap, this implementation is a version of the platform's {android.util.ArrayMap} that can be used on older versions of the platform.
ArrayMap() - Constructor for class android.support.v4.util.ArrayMap
 
ArrayMap(int) - Constructor for class android.support.v4.util.ArrayMap
Create a new ArrayMap with a given initial capacity.
ArrayMap(SimpleArrayMap) - Constructor for class android.support.v4.util.ArrayMap
Create a new ArrayMap with the mappings from the given ArrayMap.
AtomicFile - Class in android.support.v4.util
Static library support version of the framework's {android.util.AtomicFile}, a helper class for performing atomic operations on a file by creating a backup file until a write has successfully completed.
AtomicFile(File) - Constructor for class android.support.v4.util.AtomicFile
Create a new AtomicFile for a file located at the given File path.

B

buildShortClassTag(Object, StringBuilder) - Static method in class android.support.v4.util.DebugUtils
 

C

CircularArray<E> - Class in android.support.v4.util
CircularArray is a generic circular array data structure that provides O(1) random read, O(1) prepend and O(1) append.
CircularArray() - Constructor for class android.support.v4.util.CircularArray
Create a CircularArray with default capacity.
CircularArray(int) - Constructor for class android.support.v4.util.CircularArray
Create a CircularArray with capacity for at least minCapacity elements.
CircularIntArray - Class in android.support.v4.util
CircularIntArray is a circular integer array data structure that provides O(1) random read, O(1) prepend and O(1) append.
CircularIntArray() - Constructor for class android.support.v4.util.CircularIntArray
Create a CircularIntArray with default capacity.
CircularIntArray(int) - Constructor for class android.support.v4.util.CircularIntArray
Create a CircularIntArray with capacity for at least minCapacity elements.
clear() - Method in class android.support.v4.util.CircularArray
Remove all elements from the CircularArray.
clear() - Method in class android.support.v4.util.CircularIntArray
Remove all integers from the CircularIntArray.
clear() - Method in class android.support.v4.util.LongSparseArray
Removes all key-value mappings from this LongSparseArray.
clear() - Method in class android.support.v4.util.SimpleArrayMap
Make the array map empty.
clear() - Method in class android.support.v4.util.SparseArrayCompat
Removes all key-value mappings from this SparseArray.
clone() - Method in class android.support.v4.util.LongSparseArray
 
clone() - Method in class android.support.v4.util.SparseArrayCompat
 
close() - Method in class android.support.v4.util.LogWriter
 
containsAll(Collection<?>) - Method in class android.support.v4.util.ArrayMap
Determine if the array map contains all of the keys in the given collection.
containsKey(Object) - Method in class android.support.v4.util.SimpleArrayMap
Check whether a key exists in the array.
containsValue(Object) - Method in class android.support.v4.util.SimpleArrayMap
Check whether a value exists in the array.
create(K) - Method in class android.support.v4.util.LruCache
Called after a cache miss to compute a value for the corresponding key.
create(A, B) - Static method in class android.support.v4.util.Pair
Convenience method for creating an appropriately typed pair.
createCount() - Method in class android.support.v4.util.LruCache
Returns the number of times LruCache.create(Object) returned a value.

D

d(String, String) - Static method in class android.util.Log
 
d(String, String, Throwable) - Static method in class android.util.Log
 
DebugUtils - Class in android.support.v4.util
Helper for accessing features in { android.util.DebugUtils} introduced after API level 4 in a backwards compatible fashion.
DebugUtils() - Constructor for class android.support.v4.util.DebugUtils
 
delete() - Method in class android.support.v4.util.AtomicFile
Delete the atomic file.
delete(long) - Method in class android.support.v4.util.LongSparseArray
Removes the mapping from the specified key, if there was any.
delete(int) - Method in class android.support.v4.util.SparseArrayCompat
Removes the mapping from the specified key, if there was any.

E

e(String, String) - Static method in class android.util.Log
 
e(String, String, Throwable) - Static method in class android.util.Log
 
ensureCapacity(int) - Method in class android.support.v4.util.SimpleArrayMap
Ensure the array map can hold at least minimumCapacity items.
entryRemoved(boolean, K, V, V) - Method in class android.support.v4.util.LruCache
Called for entries that have been evicted or removed.
entrySet() - Method in class android.support.v4.util.ArrayMap
Return a Set for iterating over and interacting with all mappings in the array map.
equals(Object) - Method in class android.support.v4.util.Pair
Checks the two objects for equality by delegating to their respective Object.equals(Object) methods.
equals(Object) - Method in class android.support.v4.util.SimpleArrayMap
This implementation returns false if the object is not a map, or if the maps have different sizes.
evictAll() - Method in class android.support.v4.util.LruCache
Clear the cache, calling LruCache.entryRemoved(boolean, K, V, V) on each removed entry.
evictionCount() - Method in class android.support.v4.util.LruCache
Returns the number of values that have been evicted.

F

failWrite(FileOutputStream) - Method in class android.support.v4.util.AtomicFile
Call when you have failed for some reason at writing to the stream returned by AtomicFile.startWrite().
finishWrite(FileOutputStream) - Method in class android.support.v4.util.AtomicFile
Call when you have successfully finished writing to the stream returned by AtomicFile.startWrite().
first - Variable in class android.support.v4.util.Pair
 
flush() - Method in class android.support.v4.util.LogWriter
 
formatDuration(long, StringBuilder) - Static method in class android.support.v4.util.TimeUtils
 
formatDuration(long, PrintWriter, int) - Static method in class android.support.v4.util.TimeUtils
 
formatDuration(long, PrintWriter) - Static method in class android.support.v4.util.TimeUtils
 
formatDuration(long, long, PrintWriter) - Static method in class android.support.v4.util.TimeUtils
 

G

get(int) - Method in class android.support.v4.util.CircularArray
Get nth (0 <= n <= size()-1) element of the CircularArray.
get(int) - Method in class android.support.v4.util.CircularIntArray
Get nth (0 <= n <= size()-1) integer of the CircularIntArray.
get(long) - Method in class android.support.v4.util.LongSparseArray
Gets the Object mapped from the specified key, or null if no such mapping has been made.
get(long, E) - Method in class android.support.v4.util.LongSparseArray
Gets the Object mapped from the specified key, or the specified Object if no such mapping has been made.
get(K) - Method in class android.support.v4.util.LruCache
Returns the value for key if it exists in the cache or can be created by #create.
get(Object) - Method in class android.support.v4.util.SimpleArrayMap
Retrieve a value from the array.
get(int) - Method in class android.support.v4.util.SparseArrayCompat
Gets the Object mapped from the specified key, or null if no such mapping has been made.
get(int, E) - Method in class android.support.v4.util.SparseArrayCompat
Gets the Object mapped from the specified key, or the specified Object if no such mapping has been made.
getBaseFile() - Method in class android.support.v4.util.AtomicFile
Return the path to the base file.
getFirst() - Method in class android.support.v4.util.CircularArray
Get first element of the CircularArray.
getFirst() - Method in class android.support.v4.util.CircularIntArray
Get first integer of the CircularIntArray.
getLast() - Method in class android.support.v4.util.CircularArray
Get last element of the CircularArray.
getLast() - Method in class android.support.v4.util.CircularIntArray
Get last integer of the CircularIntArray.
getStackTraceString(Throwable) - Static method in class android.util.Log
 

H

hashCode() - Method in class android.support.v4.util.Pair
Compute a hash code using the hash codes of the underlying objects
hashCode() - Method in class android.support.v4.util.SimpleArrayMap
hitCount() - Method in class android.support.v4.util.LruCache
Returns the number of times LruCache.get(K) returned a value that was already present in the cache.
HUNDRED_DAY_FIELD_LEN - Static variable in class android.support.v4.util.TimeUtils
 

I

i(String, String) - Static method in class android.util.Log
 
i(String, String, Throwable) - Static method in class android.util.Log
 
indexOfKey(long) - Method in class android.support.v4.util.LongSparseArray
Returns the index for which LongSparseArray.keyAt(int) would return the specified key, or a negative number if the specified key is not mapped.
indexOfKey(Object) - Method in class android.support.v4.util.SimpleArrayMap
Returns the index of a key in the set.
indexOfKey(int) - Method in class android.support.v4.util.SparseArrayCompat
Returns the index for which SparseArrayCompat.keyAt(int) would return the specified key, or a negative number if the specified key is not mapped.
indexOfValue(E) - Method in class android.support.v4.util.LongSparseArray
Returns an index for which LongSparseArray.valueAt(int) would return the specified key, or a negative number if no keys map to the specified value.
indexOfValue(E) - Method in class android.support.v4.util.SparseArrayCompat
Returns an index for which SparseArrayCompat.valueAt(int) would return the specified key, or a negative number if no keys map to the specified value.
isEmpty() - Method in class android.support.v4.util.CircularArray
Return true if size() is 0.
isEmpty() - Method in class android.support.v4.util.CircularIntArray
Return true if size() is 0.
isEmpty() - Method in class android.support.v4.util.SimpleArrayMap
Return true if the array map contains no items.

K

keyAt(int) - Method in class android.support.v4.util.LongSparseArray
Given an index in the range 0...size()-1, returns the key from the indexth key-value mapping that this LongSparseArray stores.
keyAt(int) - Method in class android.support.v4.util.SimpleArrayMap
Return the key at the given index in the array.
keyAt(int) - Method in class android.support.v4.util.SparseArrayCompat
Given an index in the range 0...size()-1, returns the key from the indexth key-value mapping that this SparseArray stores.
keySet() - Method in class android.support.v4.util.ArrayMap
Return a Set for iterating over and interacting with all keys in the array map.

L

Log - Class in android.util
Dummy wrapper for android logger
Log() - Constructor for class android.util.Log
 
LogWriter - Class in android.support.v4.util
Helper for accessing features in {android.util.LogWriter} introduced after API level 4 in a backwards compatible fashion.
LogWriter(String) - Constructor for class android.support.v4.util.LogWriter
Create a new Writer that sends to the log with the given priority and tag.
LongSparseArray<E> - Class in android.support.v4.util
SparseArray mapping longs to Objects, a version of the platform's {android.util.LongSparseArray} that can be used on older versions of the platform.
LongSparseArray() - Constructor for class android.support.v4.util.LongSparseArray
Creates a new LongSparseArray containing no mappings.
LongSparseArray(int) - Constructor for class android.support.v4.util.LongSparseArray
Creates a new LongSparseArray containing no mappings that will not require any additional memory allocation to store the specified number of mappings.
LruCache<K,V> - Class in android.support.v4.util
Static library version of {android.util.LruCache}.
LruCache(int) - Constructor for class android.support.v4.util.LruCache
 

M

maxSize() - Method in class android.support.v4.util.LruCache
For caches that do not override LruCache.sizeOf(K, V), this returns the maximum number of entries in the cache.
missCount() - Method in class android.support.v4.util.LruCache
Returns the number of times LruCache.get(K) returned null or required a new value to be created.

O

openRead() - Method in class android.support.v4.util.AtomicFile
Open the atomic file for reading.

P

Pair<F,S> - Class in android.support.v4.util
Container to ease passing around a tuple of two objects.
Pair(F, S) - Constructor for class android.support.v4.util.Pair
Constructor for a Pair.
Pools - Class in android.support.v4.util
Helper class for crating pools of objects.
Pools.Pool<T> - Interface in android.support.v4.util
Interface for managing a pool of objects.
Pools.SimplePool<T> - Class in android.support.v4.util
Simple (non-synchronized) pool of objects.
Pools.SynchronizedPool<T> - Class in android.support.v4.util
Synchronized) pool of objects.
popFirst() - Method in class android.support.v4.util.CircularArray
Remove first element from front of the CircularArray and return it.
popFirst() - Method in class android.support.v4.util.CircularIntArray
Remove first integer from front of the CircularIntArray and return it.
popLast() - Method in class android.support.v4.util.CircularArray
Remove last element from end of the CircularArray and return it.
popLast() - Method in class android.support.v4.util.CircularIntArray
Remove last integer from end of the CircularIntArray and return it.
put(long, E) - Method in class android.support.v4.util.LongSparseArray
Adds a mapping from the specified key to the specified value, replacing the previous mapping from the specified key if there was one.
put(K, V) - Method in class android.support.v4.util.LruCache
Caches value for key.
put(K, V) - Method in class android.support.v4.util.SimpleArrayMap
Add a new value to the array map.
put(int, E) - Method in class android.support.v4.util.SparseArrayCompat
Adds a mapping from the specified key to the specified value, replacing the previous mapping from the specified key if there was one.
putAll(Map<? extends K, ? extends V>) - Method in class android.support.v4.util.ArrayMap
Perform a SimpleArrayMap.put(Object, Object) of all key/value pairs in map
putAll(SimpleArrayMap<? extends K, ? extends V>) - Method in class android.support.v4.util.SimpleArrayMap
Perform a SimpleArrayMap.put(Object, Object) of all key/value pairs in array
putCount() - Method in class android.support.v4.util.LruCache
Returns the number of times LruCache.put(K, V) was called.

R

readFully() - Method in class android.support.v4.util.AtomicFile
A convenience for AtomicFile.openRead() that also reads all of the file contents into a byte array which is returned.
release(T) - Method in interface android.support.v4.util.Pools.Pool
Release an instance to the pool.
release(T) - Method in class android.support.v4.util.Pools.SimplePool
 
release(T) - Method in class android.support.v4.util.Pools.SynchronizedPool
 
remove(long) - Method in class android.support.v4.util.LongSparseArray
remove(K) - Method in class android.support.v4.util.LruCache
Removes the entry for key if it exists.
remove(Object) - Method in class android.support.v4.util.SimpleArrayMap
Remove an existing key from the array map.
remove(int) - Method in class android.support.v4.util.SparseArrayCompat
removeAll(Collection<?>) - Method in class android.support.v4.util.ArrayMap
Remove all keys in the array map that exist in the given collection.
removeAt(int) - Method in class android.support.v4.util.LongSparseArray
Removes the mapping at the specified index.
removeAt(int) - Method in class android.support.v4.util.SimpleArrayMap
Remove the key/value mapping at the given index.
removeAt(int) - Method in class android.support.v4.util.SparseArrayCompat
Removes the mapping at the specified index.
removeAtRange(int, int) - Method in class android.support.v4.util.SparseArrayCompat
Remove a range of mappings as a batch.
removeFromEnd(int) - Method in class android.support.v4.util.CircularArray
Remove multiple elements from end of the CircularArray, ignore when numOfElements is less than or equals to 0.
removeFromEnd(int) - Method in class android.support.v4.util.CircularIntArray
Remove multiple elements from end of the CircularIntArray, ignore when numOfElements is less than or equals to 0.
removeFromStart(int) - Method in class android.support.v4.util.CircularArray
Remove multiple elements from front of the CircularArray, ignore when numOfElements is less than or equals to 0.
removeFromStart(int) - Method in class android.support.v4.util.CircularIntArray
Remove multiple integers from front of the CircularIntArray, ignore when numOfElements is less than or equals to 0.
resize(int) - Method in class android.support.v4.util.LruCache
Sets the size of the cache.
retainAll(Collection<?>) - Method in class android.support.v4.util.ArrayMap
Remove all keys in the array map that do not exist in the given collection.

S

second - Variable in class android.support.v4.util.Pair
 
setValueAt(int, E) - Method in class android.support.v4.util.LongSparseArray
Given an index in the range 0...size()-1, sets a new value for the indexth key-value mapping that this LongSparseArray stores.
setValueAt(int, V) - Method in class android.support.v4.util.SimpleArrayMap
Set the value at a given index in the array.
setValueAt(int, E) - Method in class android.support.v4.util.SparseArrayCompat
Given an index in the range 0...size()-1, sets a new value for the indexth key-value mapping that this SparseArray stores.
SimpleArrayMap<K,V> - Class in android.support.v4.util
Base implementation of ArrayMap that doesn't include any standard Java container API interoperability.
SimpleArrayMap() - Constructor for class android.support.v4.util.SimpleArrayMap
Create a new empty ArrayMap.
SimpleArrayMap(int) - Constructor for class android.support.v4.util.SimpleArrayMap
Create a new ArrayMap with a given initial capacity.
SimpleArrayMap(SimpleArrayMap) - Constructor for class android.support.v4.util.SimpleArrayMap
Create a new ArrayMap with the mappings from the given ArrayMap.
SimplePool(int) - Constructor for class android.support.v4.util.Pools.SimplePool
Creates a new instance.
size() - Method in class android.support.v4.util.CircularArray
Get number of elements in the CircularArray.
size() - Method in class android.support.v4.util.CircularIntArray
Get number of integers in the CircularIntArray.
size() - Method in class android.support.v4.util.LongSparseArray
Returns the number of key-value mappings that this LongSparseArray currently stores.
size() - Method in class android.support.v4.util.LruCache
For caches that do not override LruCache.sizeOf(K, V), this returns the number of entries in the cache.
size() - Method in class android.support.v4.util.SimpleArrayMap
Return the number of items in this array map.
size() - Method in class android.support.v4.util.SparseArrayCompat
Returns the number of key-value mappings that this SparseArray currently stores.
sizeOf(K, V) - Method in class android.support.v4.util.LruCache
Returns the size of the entry for key and value in user-defined units.
snapshot() - Method in class android.support.v4.util.LruCache
Returns a copy of the current contents of the cache, ordered from least recently accessed to most recently accessed.
SparseArrayCompat<E> - Class in android.support.v4.util
A copy of the current platform (currently { android.os.Build.VERSION_CODES#KITKAT} version of { android.util.SparseArray}; provides a removeAt() method and other things.
SparseArrayCompat() - Constructor for class android.support.v4.util.SparseArrayCompat
Creates a new SparseArray containing no mappings.
SparseArrayCompat(int) - Constructor for class android.support.v4.util.SparseArrayCompat
Creates a new SparseArray containing no mappings that will not require any additional memory allocation to store the specified number of mappings.
startWrite() - Method in class android.support.v4.util.AtomicFile
Start a new write operation on the file.
SynchronizedPool(int) - Constructor for class android.support.v4.util.Pools.SynchronizedPool
Creates a new instance.

T

TimeUtils - Class in android.support.v4.util
Helper for accessing features in {android.util.TimeUtils} introduced after API level 4 in a backwards compatible fashion.
TimeUtils() - Constructor for class android.support.v4.util.TimeUtils
 
toString() - Method in class android.support.v4.util.LongSparseArray
This implementation composes a string by iterating over its mappings.
toString() - Method in class android.support.v4.util.LruCache
 
toString() - Method in class android.support.v4.util.SimpleArrayMap
This implementation composes a string by iterating over its mappings.
toString() - Method in class android.support.v4.util.SparseArrayCompat
This implementation composes a string by iterating over its mappings.
trimToSize(int) - Method in class android.support.v4.util.LruCache
Remove the eldest entries until the total of remaining entries is at or below the requested size.

V

v(String, String) - Static method in class android.util.Log
 
v(String, String, Throwable) - Static method in class android.util.Log
 
valueAt(int) - Method in class android.support.v4.util.LongSparseArray
Given an index in the range 0...size()-1, returns the value from the indexth key-value mapping that this LongSparseArray stores.
valueAt(int) - Method in class android.support.v4.util.SimpleArrayMap
Return the value at the given index in the array.
valueAt(int) - Method in class android.support.v4.util.SparseArrayCompat
Given an index in the range 0...size()-1, returns the value from the indexth key-value mapping that this SparseArray stores.
values() - Method in class android.support.v4.util.ArrayMap
Return a Collection for iterating over and interacting with all values in the array map.

W

w(String, String) - Static method in class android.util.Log
 
w(String, String, Throwable) - Static method in class android.util.Log
 
write(char[], int, int) - Method in class android.support.v4.util.LogWriter
 
A B C D E F G H I K L M O P R S T V W 
Skip navigation links

Copyright © 2015. All rights reserved.