public class MarkListsVector extends Vector<MarkList>
capacityIncrement, elementCount, elementData
modCount
Constructor and Description |
---|
MarkListsVector() |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(Program p) |
MarkList |
getListAt(int index) |
MarkList |
getListForId(String id) |
MarkList |
getListForName(String name) |
MarkList |
getMarkListForTarget(ProgramReceiveTarget target)
Gets the the MarkList of the given taget.
|
String[] |
getMarkListNames() |
String[] |
getNamesOfListsContainingProgram(Program p) |
ProgramReceiveTarget[] |
getReceiveTargets()
Gets the available ProgramReceiveTargets
|
void |
removeListForName(String name) |
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, iterator, lastElement, lastIndexOf, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize
public boolean contains(Program p)
p
- The Program to find.public String[] getNamesOfListsContainingProgram(Program p)
p
- The Program to findpublic MarkList getListForName(String name)
name
- The name of the requested list.public void removeListForName(String name)
name
- The name of the list to remove.public MarkList getListAt(int index)
index
- The index of the list.public String[] getMarkListNames()
public ProgramReceiveTarget[] getReceiveTargets()
public MarkList getMarkListForTarget(ProgramReceiveTarget target)
target
- The target to get the MarkList for.null
if the
list for the target was not found.TV-Browser 2.7.6, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)