mondrian.rolap
Class RolapAxis.MemberList.MLPosition

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.MemberList.MLPosition
All Implemented Interfaces:
Iterable<Member>, Collection<Member>, List<Member>, Position
Enclosing class:
RolapAxis.MemberList

 class RolapAxis.MemberList.MLPosition
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.MemberList.MLPosition(int offset)
           
 
Method Summary
 Member get(int index)
           
 int size()
           
 
Methods inherited from class mondrian.rolap.RolapAxis.PositionBase
iterator, listIterator, listIterator
 
Methods inherited from class mondrian.util.UnsupportedList
add, add, addAll, addAll, clear, contains, containsAll, equals, hashCode, 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, equals, hashCode, indexOf, isEmpty, lastIndexOf, remove, remove, removeAll, retainAll, set, subList, toArray, toArray
 

Field Detail

offset

protected final int offset
Constructor Detail

RolapAxis.MemberList.MLPosition

RolapAxis.MemberList.MLPosition(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>

SourceForge.net_Logo