public interface Tape<T>
| Modifier and Type | Method and Description |
|---|---|
void |
decrement() |
void |
increment() |
boolean |
isZero() |
void |
moveBackward() |
void |
moveForward() |
void |
readTo(DataOutput output) |
void |
writeFrom(DataInput input) |
void moveForward()
throws OutOfTapeBoundsException
OutOfTapeBoundsExceptionvoid moveBackward()
throws OutOfTapeBoundsException
OutOfTapeBoundsExceptionvoid increment()
void decrement()
void readTo(DataOutput output) throws TapeIOException
TapeIOExceptionvoid writeFrom(DataInput input) throws TapeIOException
TapeIOExceptionboolean isZero()
Copyright © 2018. All rights reserved.