mondrian.rolap
Class RolapAxis.MemberIterable.MemberIterPosition

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

 class RolapAxis.MemberIterable.MemberIterPosition
extends RolapAxis.PositionBase

A List<Member> which only implements the 'iterator' method. Each Iterator<Member> has only one Member.


Nested Class Summary
 
Nested classes/interfaces inherited from class mondrian.util.UnsupportedList
UnsupportedList.Itr, UnsupportedList.ItrUnknownSize, UnsupportedList.ListItr
 
Field Summary
(package private)  Member member
           
 
Constructor Summary
RolapAxis.MemberIterable.MemberIterPosition(Member member)
           
 
Method Summary
 Member get(int index)
           
 java.util.Iterator<Member> iterator()
           
 int size()
           
 
Methods inherited from class mondrian.rolap.RolapAxis.PositionBase
equals, hashCode, 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

member

Member member
Constructor Detail

RolapAxis.MemberIterable.MemberIterPosition

RolapAxis.MemberIterable.MemberIterPosition(Member member)
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>

iterator

public java.util.Iterator<Member> iterator()
Specified by:
iterator in interface java.lang.Iterable<Member>
Specified by:
iterator in interface java.util.Collection<Member>
Specified by:
iterator in interface java.util.List<Member>
Overrides:
iterator in class RolapAxis.PositionBase

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