mondrian.rolap
Class RolapAxis.MemberArrayIterable.MIPosition

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

 class RolapAxis.MemberArrayIterable.MIPosition
extends RolapAxis.PositionBase

A List<Member> which only implements the 'iterator' method. Each Iterator<Member> two or more Members.

 

Nested Class Summary
 
Nested classes/interfaces inherited from class mondrian.util.UnsupportedList
UnsupportedList.Itr, UnsupportedList.ItrUnknownSize, UnsupportedList.ListItr
 
Field Summary
(package private)  Member[] members
           
 
Constructor Summary
RolapAxis.MemberArrayIterable.MIPosition(Member[] members)
           
 
Method Summary
 Member get(int index)
           
 Iterator<Member> iterator()
           
 int size()
           
 
Methods inherited from class mondrian.rolap.RolapAxis.PositionBase
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

members

Member[] members
Constructor Detail

RolapAxis.MemberArrayIterable.MIPosition

RolapAxis.MemberArrayIterable.MIPosition(Member[] members)
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>

iterator

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

SourceForge.net_Logo