com.timeindexing.appl.playlist
Class PlayList

java.lang.Object
  extended by com.timeindexing.appl.playlist.PlayList

public class PlayList
extends java.lang.Object

A play list. It contains a list of PlayListItems.


Constructor Summary
PlayList()
          Construct a PlayList.
 
Method Summary
 void add(int pos, PlayListItem item)
          Add a PlayItem at the specified position in the PlayList.
 void add(PlayListItem item)
          Add a PlayItem to the end of the PlayList.
 PlayListItem get(int pos)
          Get the nth element of the PlayList.
 java.util.Iterator iterator()
          Get an iterator over the PlayList
 int size()
          Get the size of the PlayList.
 java.lang.String toString()
          Create a String view of a PlayList.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PlayList

public PlayList()
Construct a PlayList.

Method Detail

add

public void add(PlayListItem item)
Add a PlayItem to the end of the PlayList.


add

public void add(int pos,
                PlayListItem item)
Add a PlayItem at the specified position in the PlayList.


get

public PlayListItem get(int pos)
Get the nth element of the PlayList.


size

public int size()
Get the size of the PlayList.


iterator

public java.util.Iterator iterator()
Get an iterator over the PlayList


toString

public java.lang.String toString()
Create a String view of a PlayList.

Overrides:
toString in class java.lang.Object


Timeindexing 2008