org.millscript.office.spreadsheet.workbooks
Class WorkbookRefImpl

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

public class WorkbookRefImpl
extends org.millscript.commons.util.list.AbstractIList<WorksheetRef>
implements WorkbookRef


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
  WorkbookRefImpl(Workbook book)
           
protected WorkbookRefImpl(Workbook book, org.millscript.commons.util.IList<Worksheet> sheetList, int offset)
           
 
Method Summary
protected  WorksheetRef doGet(int pos)
           
protected  org.millscript.commons.util.IList<WorksheetRef> doSlice(int first, int last, boolean share)
           
 Workbook getWorkbook()
           
 int indexOf(WorksheetRef value)
           
 org.millscript.commons.util.ListIterator<WorksheetRef> 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

WorkbookRefImpl

public WorkbookRefImpl(Workbook book)

WorkbookRefImpl

protected WorkbookRefImpl(Workbook book,
                          org.millscript.commons.util.IList<Worksheet> sheetList,
                          int offset)
Method Detail

doGet

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

doSlice

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

getWorkbook

public Workbook getWorkbook()
Specified by:
getWorkbook in interface WorkbookRef
See Also:
WorkbookRef.getWorkbook()

indexOf

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

iterator

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

size

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


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