Package 

Class DeferredIntegerArray.Constant

  • All Implemented Interfaces:
    android.os.Parcelable , com.backbase.deferredresources.DeferredIntegerArray , com.backbase.deferredresources.integer.ParcelableDeferredIntegerArray

    
    public final class DeferredIntegerArray.Constant
     implements ParcelableDeferredIntegerArray
                        

    A wrapper for a constant array of integer values.

    This class protects against array mutability by holding a copy of the input values and by always returning a new copy of those values when resolved.

    • Method Summary

      Modifier and Type Method Description
      IntArray resolve(Context context) Always resolves to a new array copied from values.
      • Methods inherited from class com.backbase.deferredresources.integer.ParcelableDeferredIntegerArray

        describeContents, writeToParcel
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DeferredIntegerArray.Constant

        DeferredIntegerArray.Constant(Integer values)
        Initialize with the given integer values.
      • DeferredIntegerArray.Constant

        DeferredIntegerArray.Constant(Collection<Integer> values)
        Convenience for initializing with a Collection of integer values.