|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.unikassel.android.sdcframework.data.SampleCollection
public class SampleCollection
Implementation of a collection of Samples.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface android.os.Parcelable |
---|
Parcelable.Creator<T> |
Field Summary | |
---|---|
static String |
ACTION
Our custom sample collection intent action |
static Parcelable.Creator<SampleCollection> |
CREATOR
The Parcelable creator. |
static String |
PARCELABLE_EXTRA_NAME
The parcelable extra name for intent transport. |
private List<Sample> |
samples
The collection of sensor device Samples |
Fields inherited from interface android.os.Parcelable |
---|
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE |
Constructor Summary | |
---|---|
SampleCollection()
Constructor |
|
SampleCollection(Parcel source)
Constructor |
Method Summary | ||
---|---|---|
boolean |
add(Sample sample)
|
|
boolean |
addAll(Collection<? extends Sample> samples)
|
|
void |
clear()
Method to clear the collection |
|
boolean |
contains(Object object)
|
|
boolean |
containsAll(Collection<?> samples)
|
|
int |
describeContents()
|
|
Intent |
getIntent()
Getter for an intent representation |
|
List<Sample> |
getSamples()
Access to the collection |
|
boolean |
isEmpty()
|
|
Iterator<Sample> |
iterator()
|
|
boolean |
remove(Object object)
|
|
boolean |
removeAll(Collection<?> samples)
|
|
boolean |
retainAll(Collection<?> samples)
|
|
void |
setSamples(List<Sample> samples)
Setter for the samples |
|
int |
size()
|
|
Object[] |
toArray()
|
|
|
toArray(T[] array)
|
|
String |
toString()
|
|
void |
writeToParcel(Parcel dest,
int flags)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Collection |
---|
equals, hashCode |
Field Detail |
---|
public static final String ACTION
public static final String PARCELABLE_EXTRA_NAME
public static final Parcelable.Creator<SampleCollection> CREATOR
private List<Sample> samples
Constructor Detail |
---|
public SampleCollection()
public SampleCollection(Parcel source)
source
- the parcel sourceMethod Detail |
---|
public void writeToParcel(Parcel dest, int flags)
writeToParcel
in interface Parcelable
public final void setSamples(List<Sample> samples)
samples
- the samples to setpublic List<Sample> getSamples()
public void clear()
clear
in interface Collection<Sample>
public String toString()
toString
in class Object
public boolean add(Sample sample)
add
in interface Collection<Sample>
public boolean addAll(Collection<? extends Sample> samples)
addAll
in interface Collection<Sample>
public boolean contains(Object object)
contains
in interface Collection<Sample>
public boolean containsAll(Collection<?> samples)
containsAll
in interface Collection<Sample>
public boolean isEmpty()
isEmpty
in interface Collection<Sample>
public Iterator<Sample> iterator()
iterator
in interface Iterable<Sample>
iterator
in interface Collection<Sample>
public boolean remove(Object object)
remove
in interface Collection<Sample>
public boolean removeAll(Collection<?> samples)
removeAll
in interface Collection<Sample>
public boolean retainAll(Collection<?> samples)
retainAll
in interface Collection<Sample>
public int size()
size
in interface Collection<Sample>
public Object[] toArray()
toArray
in interface Collection<Sample>
public <T> T[] toArray(T[] array)
toArray
in interface Collection<Sample>
public int describeContents()
describeContents
in interface Parcelable
public Intent getIntent()
BroadcastableEvent
getIntent
in interface BroadcastableEvent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |