edu.jhu.ece.iacl.jist.structures.data
Interface Indexable<E extends java.lang.Comparable<? super E>>

Type Parameters:
E - Must be comparable
All Superinterfaces:
java.lang.Comparable<E>
All Known Implementing Classes:
EdgeIndexed, VertexIndexed, VoxelIndexed, VoxelMipav

public interface Indexable<E extends java.lang.Comparable<? super E>>
extends java.lang.Comparable<E>

Indexable object used for heap.

Author:
Blake Lucas

Method Summary
 int getChainIndex()
          Gets the chain index.
 int getColumn()
          Gets the column.
 int getIndex()
          Get heap index.
 int getRow()
          Gets the row.
 int getSlice()
          Gets the slice.
 java.lang.Comparable getValue()
          Gets the value.
 void setChainIndex(int chainIndex)
          Sets the chain index.
 void setIndex(int index)
          Set index into heap.
 void setRefPosition(int i, int j, int k)
          Set position in volume.
 void setValue(java.lang.Comparable obj)
          Sets the value.
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

setRefPosition

void setRefPosition(int i,
                    int j,
                    int k)
Set position in volume.

Parameters:
i - row
j - column
k - slice

getRow

int getRow()
Gets the row.

Returns:
the row

getColumn

int getColumn()
Gets the column.

Returns:
the column

getSlice

int getSlice()
Gets the slice.

Returns:
the slice

getChainIndex

int getChainIndex()
Gets the chain index.

Returns:
the chain index

setValue

void setValue(java.lang.Comparable obj)
Sets the value.

Parameters:
obj - the new value

getValue

java.lang.Comparable getValue()
Gets the value.

Returns:
the value

setChainIndex

void setChainIndex(int chainIndex)
Sets the chain index.

Parameters:
chainIndex - the new chain index

setIndex

void setIndex(int index)
Set index into heap.

Parameters:
index - the index

getIndex

int getIndex()
Get heap index.

Returns:
the index