gov.sandia.cognition.math.matrix
Interface VectorEntry

All Superinterfaces:
VectorSpace.Entry

@CodeReview(reviewer="Jonathan McClain",
            date="2006-05-17",
            changesNeeded=false,
            comments={"Why doesn\'t the Vector interface have methods that allow you to use VectorEntry directly?","Interface looks fine."})
public interface VectorEntry
extends VectorSpace.Entry

Interface the specifies the functionality that a VectorEntry should have

Since:
1.0
Author:
Kevin R. Dixon

Method Summary
 int getIndex()
          Gets the current index into the Vector to which this entry points
 void setIndex(int index)
          Sets the current index into the Vector to which this entry points
 
Methods inherited from interface gov.sandia.cognition.math.matrix.VectorSpace.Entry
getValue, setValue
 

Method Detail

getIndex

int getIndex()
Gets the current index into the Vector to which this entry points

Returns:
current zero-based index

setIndex

void setIndex(int index)
Sets the current index into the Vector to which this entry points

Parameters:
index - zero-based index into the Vector