vcr.components
Class Tape
java.lang.Object
|
+--vcr.components.Tape
- All Implemented Interfaces:
- Device
- public class Tape
- extends java.lang.Object
- implements Device
Constructor Summary |
Tape()
|
Tape(Time position)
|
Tape(Time position,
Time length)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DEFAULT_POSITION
public static final Time DEFAULT_POSITION
DEFAULT_LENGTH
public static final Time DEFAULT_LENGTH
START
public static final Time START
Tape
public Tape()
Tape
public Tape(Time position)
Tape
public Tape(Time position,
Time length)
isAtEnd
public boolean isAtEnd()
isAtStart
public boolean isAtStart()
forward
public Event forward(Time t)
- Specified by:
forward
in interface Device
reverse
public Event reverse(Time t)
- Specified by:
reverse
in interface Device
record
public void record(char c)
- Specified by:
record
in interface Device
position
public Time position()
- Specified by:
position
in interface Device
show
public char show()
- Specified by:
show
in interface Device
toString
public java.lang.String toString()
- Specified by:
toString
in interface Device
- Overrides:
toString
in class java.lang.Object
Copyright © 2002 University of Ottawa. All Rights Reserved.