mondrian.rolap
Class RolapAxis.MemberArrayList.MemberArrayListPosition

java.lang.Object
  extended by mondrian.util.UnsupportedList<Member>
      extended by mondrian.rolap.RolapAxis.PositionUnsupported
          extended by mondrian.rolap.RolapAxis.PositionBase
              extended by mondrian.rolap.RolapAxis.MemberArrayList.MemberArrayListPosition
All Implemented Interfaces:
Iterable<Member>, Collection<Member>, List<Member>, Position
Enclosing class:
RolapAxis.MemberArrayList

 class RolapAxis.MemberArrayList.MemberArrayListPosition
extends RolapAxis.PositionBase

Allows access only the the Member at the given offset plus index.


Nested Class Summary
 
Nested classes/interfaces inherited from class mondrian.util.UnsupportedList
UnsupportedList.Itr, UnsupportedList.ItrUnknownSize, UnsupportedList.ListItr
 
Field Summary
protected  int offset
           
 
Constructor Summary
RolapAxis.MemberArrayList.MemberArrayListPosition(int offset)
           
 
Method Summary
 Member get(int index)
           
 int size()
           
 
Methods inherited from class mondrian.rolap.RolapAxis.PositionBase
equals, hashCode, iterator, listIterator, listIterator
 
Methods inherited from class mondrian.util.UnsupportedList
add, add, addAll, addAll, clear, contains, containsAll, indexOf, isEmpty, lastIndexOf, remove, remove, removeAll, retainAll, set, subList, toArray, toArray
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, indexOf, isEmpty, lastIndexOf, remove, remove, removeAll, retainAll, set, subList, toArray, toArray
 

Field Detail

offset

protected final int offset
Constructor Detail

RolapAxis.MemberArrayList.MemberArrayListPosition

RolapAxis.MemberArrayList.MemberArrayListPosition(int offset)
Method Detail

size

public int size()
Specified by:
size in interface Collection<Member>
Specified by:
size in interface List<Member>
Overrides:
size in class UnsupportedList<Member>

get

public Member get(int index)
Specified by:
get in interface List<Member>
Overrides:
get in class UnsupportedList<Member>

Get Mondrian at SourceForge.net. Fast, secure and free Open Source software downloads