mondrian.rolap
Class RolapAxis.PositionBase

java.lang.Object
  extended by mondrian.util.UnsupportedList<Member>
      extended by mondrian.rolap.RolapAxis.PositionUnsupported
          extended by mondrian.rolap.RolapAxis.PositionBase
All Implemented Interfaces:
java.lang.Iterable<Member>, java.util.Collection<Member>, java.util.List<Member>, Position
Direct Known Subclasses:
RolapAxis.MemberArrayIterable.MemberArrayListPosition, RolapAxis.MemberArrayIterable.MemberIterPosition, RolapAxis.MemberArrayList.MemberArrayListPosition, RolapAxis.MemberIterable.MemberIterPosition, RolapAxis.MemberIterable.MemberListPosition, RolapAxis.MemberList.MemberListPosition, RolapAxis.SingleEmptyPosition.EmptyPosition
Enclosing class:
RolapAxis

protected abstract static class RolapAxis.PositionBase
extends RolapAxis.PositionUnsupported

The PositionBase is an abstract implementation of the Position interface and provides both Iterator<Member> and ListIterator<Member> implementations.


Nested Class Summary
 
Nested classes/interfaces inherited from class mondrian.util.UnsupportedList
UnsupportedList.Itr, UnsupportedList.ItrUnknownSize, UnsupportedList.ListItr
 
Constructor Summary
protected RolapAxis.PositionBase()
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 int hashCode()
           
 java.util.Iterator<Member> iterator()
           
 java.util.ListIterator<Member> listIterator()
           
 java.util.ListIterator<Member> listIterator(int index)
           
 
Methods inherited from class mondrian.util.UnsupportedList
add, add, addAll, addAll, clear, contains, containsAll, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeAll, retainAll, set, size, 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, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray
 

Constructor Detail

RolapAxis.PositionBase

protected RolapAxis.PositionBase()
Method Detail

equals

public boolean equals(java.lang.Object o)
Specified by:
equals in interface java.util.Collection<Member>
Specified by:
equals in interface java.util.List<Member>
Overrides:
equals in class UnsupportedList<Member>

hashCode

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

listIterator

public java.util.ListIterator<Member> listIterator()
Specified by:
listIterator in interface java.util.List<Member>
Overrides:
listIterator in class UnsupportedList<Member>

listIterator

public java.util.ListIterator<Member> listIterator(int index)
Specified by:
listIterator in interface java.util.List<Member>
Overrides:
listIterator 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 UnsupportedList<Member>

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