mondrian.rolap
Class RolapAxis.PositionListBase

java.lang.Object
  extended by mondrian.util.UnsupportedList<Position>
      extended by mondrian.rolap.RolapAxis.PositionListUnsupported
          extended by mondrian.rolap.RolapAxis.PositionListBase
All Implemented Interfaces:
java.lang.Iterable<Position>, java.util.Collection<Position>, java.util.List<Position>
Direct Known Subclasses:
ModulosTest.PositionList, RolapAxis.MemberArrayIterable.PositionList, RolapAxis.MemberArrayList.PositionList, RolapAxis.MemberIterable.PositionList, RolapAxis.MemberList.PositionList
Enclosing class:
RolapAxis

protected abstract static class RolapAxis.PositionListBase
extends RolapAxis.PositionListUnsupported

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


Nested Class Summary
 
Nested classes/interfaces inherited from class mondrian.util.UnsupportedList
UnsupportedList.Itr, UnsupportedList.ItrUnknownSize, UnsupportedList.ListItr
 
Constructor Summary
protected RolapAxis.PositionListBase()
           
 
Method Summary
abstract  Position get(int index)
           
abstract  boolean isEmpty()
           
 java.util.Iterator<Position> iterator()
           
 java.util.ListIterator<Position> listIterator()
           
 java.util.ListIterator<Position> listIterator(int index)
           
abstract  int size()
           
 
Methods inherited from class mondrian.util.UnsupportedList
add, add, addAll, addAll, clear, contains, containsAll, equals, hashCode, indexOf, 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
 

Constructor Detail

RolapAxis.PositionListBase

protected RolapAxis.PositionListBase()
Method Detail

size

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

isEmpty

public abstract boolean isEmpty()
Specified by:
isEmpty in interface java.util.Collection<Position>
Specified by:
isEmpty in interface java.util.List<Position>
Overrides:
isEmpty in class UnsupportedList<Position>

get

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

listIterator

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

listIterator

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

iterator

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

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