Class View<T>
- java.lang.Object
-
- org.daisy.dotify.formatter.impl.search.View<T>
-
- Type Parameters:
T- TODO: Write java doc.
public class View<T> extends Object
TODO: Write java doc.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Tget(int index)intgetGlobalStartIndex()Gets the index for the first item in this sequence, counting all preceding items in the document, zero-based.List<T>getItems()intgetToIndex()voidsetToIndex(int toIndex)intsize()Gets the number of items in this sequence.
-
-
-
Method Detail
-
size
public int size()
Gets the number of items in this sequence.- Returns:
- returns the number of items in this sequence
-
get
public T get(int index)
-
getGlobalStartIndex
public int getGlobalStartIndex()
Gets the index for the first item in this sequence, counting all preceding items in the document, zero-based.- Returns:
- returns the first index
-
getToIndex
public int getToIndex()
-
setToIndex
public void setToIndex(int toIndex)
-
-