@LevelUpApi(contract=PUBLIC) public final class CreditCardsList extends ParcelableArrayList<CreditCard>
CreditCard
s.ParcelableArrayList.ImmutableClassException
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
Modifier and Type | Field and Description |
---|---|
static Parcelable.Creator<CreditCardsList> |
CREATOR
Implements the
Parcelable interface. |
modCount
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
Constructor and Description |
---|
CreditCardsList()
Creates a new, empty list.
|
CreditCardsList(Collection<CreditCard> cards)
Creates a list with a copy of the given collection.
|
CreditCardsList(Parcel in)
Parcelable constructor.
|
Modifier and Type | Method and Description |
---|---|
protected Parcelable.Creator<CreditCard> |
getCreator()
Subclasses must implement this, returning the CREATOR of the array's Parcelable item.
|
add, add, addAll, addAll, clear, describeContents, ensureCapacity, remove, remove, removeAll, removeRange, retainAll, set, trimToSize, writeToParcel
clone, contains, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, removeIf, replaceAll, size, sort, spliterator, subList, toArray, toArray
equals, hashCode
containsAll, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
containsAll, equals, hashCode
parallelStream, stream
public static final Parcelable.Creator<CreditCardsList> CREATOR
Parcelable
interface.public CreditCardsList()
public CreditCardsList(Collection<CreditCard> cards)
cards
- source list.public CreditCardsList(Parcel in)
in
- source parcel.protected Parcelable.Creator<CreditCard> getCreator()
ParcelableArrayList
getCreator
in class ParcelableArrayList<CreditCard>