public class InfiniteSignedIntegerTape extends AbstractInfiniteTape<Integer>
| Constructor and Description |
|---|
InfiniteSignedIntegerTape(TapeEofBehaviour eofBehaviour) |
| Modifier and Type | Method and Description |
|---|---|
protected TapeSegment<Integer> |
createSegment() |
void |
decrement() |
void |
increment() |
boolean |
isZero() |
void |
readTo(DataOutput output) |
void |
writeFrom(DataInput input) |
createNextSegment, getOrCreateNextSegment, getOrCreatePreviousSegment, moveBackward, moveForward, read, writepublic InfiniteSignedIntegerTape(TapeEofBehaviour eofBehaviour)
protected TapeSegment<Integer> createSegment()
createSegment in class AbstractInfiniteTape<Integer>public void increment()
public void decrement()
public void readTo(DataOutput output) throws TapeIOException
TapeIOExceptionpublic void writeFrom(DataInput input) throws TapeIOException
TapeIOExceptionpublic boolean isZero()
Copyright © 2018. All rights reserved.