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:
Iterable<Position>, Collection<Position>, List<Position>
Direct Known Subclasses:
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)
           
 boolean isEmpty()
           
 Iterator<Position> iterator()
           
 ListIterator<Position> listIterator()
           
 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 Collection<Position>
Specified by:
size in interface List<Position>
Overrides:
size in class UnsupportedList<Position>

get

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

isEmpty

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

listIterator

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

listIterator

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

iterator

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

SourceForge.net_Logo