mondrian.rolap
Class RolapAxis.MemberIterable.MemberListPosition

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.MemberIterable.MemberListPosition
All Implemented Interfaces:
java.lang.Iterable<Member>, java.util.Collection<Member>, java.util.List<Member>, Position
Enclosing class:
RolapAxis.MemberIterable

 class RolapAxis.MemberIterable.MemberListPosition
extends RolapAxis.PositionBase

Allows access only the the Member at the given offset.


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.MemberIterable.MemberListPosition(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.MemberIterable.MemberListPosition

RolapAxis.MemberIterable.MemberListPosition(int offset)
Method Detail

size

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

get

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

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