FileDocCategorySizeDatePackage
UnmodifiableSparseArray.javaAPI DocAndroid 5.1 API1549Thu Mar 12 22:22:42 GMT 2015com.android.server.hdmi

UnmodifiableSparseArray

public final class UnmodifiableSparseArray extends Object
Unmodifiable version of {@link SparseArray}.

Fields Summary
private static final String
TAG
private final android.util.SparseArray
mArray
Constructors Summary
public UnmodifiableSparseArray(android.util.SparseArray array)


       
       mArray = array;
    
Methods Summary
public Eget(int key)

        return mArray.get(key);
    
public Eget(int key, E valueIfKeyNotFound)

        return mArray.get(key, valueIfKeyNotFound);
    
public intindexOfValue(E value)

        return mArray.indexOfValue(value);
    
public intkeyAt(int index)

        return mArray.keyAt(index);
    
public intsize()

        return mArray.size();
    
public java.lang.StringtoString()

        return mArray.toString();
    
public EvalueAt(int index)

        return mArray.valueAt(index);