public class BinaryDataWrapperStore<C extends BinaryChannel,S extends BinaryDataStructure> extends SimpleLogSupportAdapter implements BinaryDataStructure
Constructor and Description |
---|
BinaryDataWrapperStore(C binaryChannel) |
Modifier and Type | Method and Description |
---|---|
protected <B extends S> |
add(B wrapper) |
protected void |
ensureSetup() |
protected void |
ensureSetup(int index) |
protected C |
getBinaryChannel() |
long |
getEndPosition()
Returns the end-position of this structure in the file-channel.
|
S |
getEntry(int index) |
int |
getEntryCount() |
BinaryDataStructure |
getPredecessor() |
void |
reset()
This method is called by the ResetButton on it's registered target.
|
void |
setPredecessor(BinaryDataStructure predecessor)
Sets a reference to the previous structure.
|
getLogChannel, isLogDebug, isLogVerbose, logDebug, logDump, logError, logError, logFatal, logInfo, logVerbose, logWarning, setLogChannel
configureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toDumpString, toString, toString
public BinaryDataWrapperStore(C binaryChannel)
protected final C getBinaryChannel()
public final int getEntryCount() throws java.io.IOException
java.io.IOException
public final S getEntry(int index) throws java.io.IOException
java.io.IOException
protected final <B extends S> B add(B wrapper)
public final void setPredecessor(BinaryDataStructure predecessor)
BinaryDataStructure
setPredecessor
in interface BinaryDataStructure
BinaryDataStructure.getEndPosition()
public final BinaryDataStructure getPredecessor()
protected void ensureSetup(int index) throws java.io.IOException
java.io.IOException
protected void ensureSetup() throws java.io.IOException
java.io.IOException
public final long getEndPosition() throws java.io.IOException
BinaryDataStructure
getEndPosition
in interface BinaryDataStructure
java.io.IOException
public void reset()
Resettable
reset
in interface Resettable
Copyright © 2014 EsprIT-Systems. All Rights Reserved.