org.millscript.office.spreadsheet.worksheets
Class WorksheetRefImpl

java.lang.Object
  extended by org.millscript.commons.util.list.AbstractIList<RowRef>
      extended by org.millscript.office.spreadsheet.worksheets.WorksheetRefImpl
All Implemented Interfaces:
org.millscript.commons.util.IList<RowRef>, org.millscript.commons.util.IMap<java.lang.Integer,RowRef>, WorksheetRef

public class WorksheetRefImpl
extends org.millscript.commons.util.list.AbstractIList<RowRef>
implements WorksheetRef


Nested Class Summary
 
Nested classes/interfaces inherited from class org.millscript.commons.util.list.AbstractIList
org.millscript.commons.util.list.AbstractIList.ListMapletIterator<V>, org.millscript.commons.util.list.AbstractIList.ListMapletList<V>
 
Constructor Summary
WorksheetRefImpl(WorkbookRef bookRef, Worksheet sheet, org.millscript.commons.util.IList<Row> rows, int offset)
           
 
Method Summary
protected  RowRef doGet(int pos)
           
protected  org.millscript.commons.util.IList<RowRef> doSlice(int first, int last, boolean share)
           
 ColumnRef getColumnRef(int pos)
           
 ColumnRef getColumnRef(java.lang.Integer pos)
           
 ColumnRef getColumnRef0(int pos)
           
 ColumnRef getColumnRef0(java.lang.Integer pos)
           
 org.millscript.commons.util.IList<ColumnRef> getColumnRefList()
           
 WorkbookRef getWorkbookRef()
           
 Worksheet getWorksheet()
           
 int indexOf(RowRef value)
           
 org.millscript.commons.util.ListIterator<RowRef> iterator(boolean share)
           
 int size()
           
 
Methods inherited from class org.millscript.commons.util.list.AbstractIList
allButFirst, allButLast, allFirst, allLast, contains, contains, contains, contains0, contains0, contains0, containsAll, containsKey, containsKey, containsKey0, containsKey0, containsSlice, containsSlice0, containsValue, decorate, equals, first, get, get, get0, get0, getDefault, hashCode, indexOf0, isEmtpy, keyList, last, mapletList, setDefault, setDefault, sharedMapletList, sharedValueList, slice, slice0, toArray, toArray, toString, valueList
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.millscript.commons.util.IList
allButFirst, allButLast, allFirst, allLast, contains, contains, contains0, contains0, contains0, containsKey, containsKey, containsKey0, containsKey0, containsSlice, containsSlice0, first, get, get, get0, get0, getDefault, indexOf0, last, setDefault, slice, slice0, toArray, toArray
 
Methods inherited from interface org.millscript.commons.util.IMap
contains, containsAll, containsValue, equals, hashCode, isEmtpy, keyList, mapletList, setDefault, valueList
 

Constructor Detail

WorksheetRefImpl

public WorksheetRefImpl(WorkbookRef bookRef,
                        Worksheet sheet,
                        org.millscript.commons.util.IList<Row> rows,
                        int offset)
Method Detail

doGet

protected RowRef doGet(int pos)
Specified by:
doGet in class org.millscript.commons.util.list.AbstractIList<RowRef>
See Also:
AbstractIList.doGet(int)

doSlice

protected org.millscript.commons.util.IList<RowRef> doSlice(int first,
                                                            int last,
                                                            boolean share)
Specified by:
doSlice in class org.millscript.commons.util.list.AbstractIList<RowRef>
See Also:
AbstractIList.doSlice(int, int, boolean)

getColumnRef

public ColumnRef getColumnRef(int pos)
Specified by:
getColumnRef in interface WorksheetRef
See Also:
WorksheetRef.getColumnRef(int)

getColumnRef

public ColumnRef getColumnRef(java.lang.Integer pos)
Specified by:
getColumnRef in interface WorksheetRef
See Also:
WorksheetRef.getColumnRef(java.lang.Integer)

getColumnRef0

public ColumnRef getColumnRef0(int pos)
Specified by:
getColumnRef0 in interface WorksheetRef
See Also:
WorksheetRef.getColumnRef0(int)

getColumnRef0

public ColumnRef getColumnRef0(java.lang.Integer pos)
Specified by:
getColumnRef0 in interface WorksheetRef
See Also:
WorksheetRef.getColumnRef0(java.lang.Integer)

getColumnRefList

public org.millscript.commons.util.IList<ColumnRef> getColumnRefList()
Specified by:
getColumnRefList in interface WorksheetRef
See Also:
WorksheetRef.getColumnRefList()

getWorkbookRef

public WorkbookRef getWorkbookRef()
Specified by:
getWorkbookRef in interface WorksheetRef
See Also:
WorksheetRef.getWorkbookRef()

getWorksheet

public Worksheet getWorksheet()
Specified by:
getWorksheet in interface WorksheetRef
See Also:
WorksheetRef.getWorksheet()

indexOf

public int indexOf(RowRef value)
Specified by:
indexOf in interface org.millscript.commons.util.IList<RowRef>
See Also:
org.millscript.commons.util.IList#indexOf(V)

iterator

public org.millscript.commons.util.ListIterator<RowRef> iterator(boolean share)
Specified by:
iterator in interface org.millscript.commons.util.IList<RowRef>
Specified by:
iterator in interface org.millscript.commons.util.IMap<java.lang.Integer,RowRef>
See Also:
IList.iterator(boolean)

size

public int size()
Specified by:
size in interface org.millscript.commons.util.IMap<java.lang.Integer,RowRef>
See Also:
IMap.size()


Copyright © 2006-2007 Open World Ltd. All Rights Reserved.