gov.sandia.cognition.data.temporal
Interface SeekableTemporalDataReadChannel<DataType extends Temporal>

Type Parameters:
DataType - The data that is being read in.
All Superinterfaces:
Channel, Closeable, TemporalDataReadChannel<DataType>

public interface SeekableTemporalDataReadChannel<DataType extends Temporal>
extends TemporalDataReadChannel<DataType>

The SeekableTemporalDataReadChannel interface extends the TemporalDataReadChannel interface to give the ability to seek around in the temporal data based on a time coordinate.

Since:
2.1
Author:
Justin Basilico

Method Summary
 Date getMaxTime()
          The maximum time coordinate on the reader.
 Date getMinTime()
          The minimum time coordinate on the reader.
 boolean seek(Date time)
          Seeks to the given time in the data.
 
Methods inherited from interface gov.sandia.cognition.data.temporal.TemporalDataReadChannel
read
 
Methods inherited from interface java.nio.channels.Channel
close, isOpen
 

Method Detail

seek

boolean seek(Date time)
Seeks to the given time in the data.

Parameters:
time - The time to seek to.
Returns:
True if the reader

getMinTime

Date getMinTime()
The minimum time coordinate on the reader.

Returns:
The minimum time coordinate.

getMaxTime

Date getMaxTime()
The maximum time coordinate on the reader.

Returns:
The maximum time coordinate.