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

UnmodifiableSparseIntArray

public final class UnmodifiableSparseIntArray extends Object
Unmodifiable version of {@link SparseIntArray}.

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


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

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

        return mArray.get(key, valueIfKeyNotFound);
    
public intindexOfValue(int 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 intvalueAt(int index)

        return mArray.valueAt(index);