|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RecordingList
RecordingList represents a list of recordings.
Method Summary | |
---|---|
boolean |
contains(RecordingRequest entry)
Tests if the indicated RecordingRequest object is
contained in the list. |
RecordingListIterator |
createRecordingListIterator()
Generates an iterator on the RecordingRequest elements
in this list. |
RecordingList |
filterRecordingList(RecordingListFilter filter)
Creates a new RecordingList object that is a subset of
this list, based on the conditions specified by a
RecordingListFilter object. |
RecordingRequest |
getRecordingRequest(int index)
Reports the RecordingRequest at the specified index
position. |
int |
indexOf(RecordingRequest entry)
Reports the position of the first occurrence of the indicated RecordingRequest object in the list. |
int |
size()
Reports the number of RecordingRequest objects in the list. |
RecordingList |
sortRecordingList(RecordingListComparator sortCriteria)
Creates a new RecordingList that contains all the
elements of this list sorted according to the criteria specified
by a RecordingListComparator . |
Method Detail |
---|
RecordingList filterRecordingList(RecordingListFilter filter)
RecordingList
object that is a subset of
this list, based on the conditions specified by a
RecordingListFilter
object. This method may be used
to generate increasingly specialized lists of
RecordingRequest
objects based on multiple filtering
criteria. If the filter is null
, the resulting
RecordingList
will be a duplicate of this list.
Note that the accept
method of the given
RecordingListFilter
will be invoked for each
RecordingRequest
to be filtered using the same
application thread that invokes this method.
filter
- A filter constraining the requested
recording list, or null
.
RecordingList
object created based on the
specified filtering rules.RecordingListIterator createRecordingListIterator()
RecordingRequest
elements
in this list.
RecordingListIterator
on the
RecordingRequest
s in this list.boolean contains(RecordingRequest entry)
RecordingRequest
object is
contained in the list.
entry
- The RecordingRequest
object for which
to search.
true
if the specified
RecordingRequest
is a member of the list;
false
otherwise.int indexOf(RecordingRequest entry)
RecordingRequest
object in the list.
entry
- The RecordingRequest
object for which
to search.
entry
,
or -1
if entry
is not contained in the list.int size()
RecordingRequest
objects in the list.
RecordingRequest
objects in the list.RecordingRequest getRecordingRequest(int index)
RecordingRequest
at the specified index
position.
index
- A position in the RecordingList
.
RecordingRequest
at the specified index.
java.lang.IndexOutOfBoundsException
- If
index
< 0 or index
> size()-1
.RecordingList sortRecordingList(RecordingListComparator sortCriteria)
RecordingList
that contains all the
elements of this list sorted according to the criteria specified
by a RecordingListComparator
.
sortCriteria
- the sort criteria to be applied to sort the
entries in the recording list.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |