FileDocCategorySizeDatePackage
IntArrayWrapper.javaAPI DocAndroid 1.5 API1324Wed May 06 22:41:10 BST 2009com.android.ide.eclipse.editors.resources.manager

IntArrayWrapper

public final class IntArrayWrapper extends Object
Wrapper around a int[] to provide hashCode/equals support.

Fields Summary
private int[]
mData
Constructors Summary
public IntArrayWrapper(int[] data)

        mData = data;
    
Methods Summary
public booleanequals(java.lang.Object obj)

        if (getClass().equals(obj.getClass())) {
            return Arrays.equals(mData, ((IntArrayWrapper)obj).mData);
        }

        return super.equals(obj);
    
public inthashCode()

        return Arrays.hashCode(mData);
    
public voidset(int[] data)

        mData = data;