mondrian.olap.fun
Class CrossJoinFunDef.BaseMutableList

java.lang.Object
  extended by mondrian.util.UnsupportedList<Member[]>
      extended by mondrian.olap.fun.CrossJoinFunDef.BaseMutableList
All Implemented Interfaces:
Iterable<Member[]>, Collection<Member[]>, List<Member[]>
Enclosing class:
CrossJoinFunDef

public abstract class CrossJoinFunDef.BaseMutableList
extends UnsupportedList<Member[]>

A BaseMutableList can be sorted, its elements rearranged, but its size can not be changed (the add or remove methods are not supported).

 

Nested Class Summary
 
Nested classes/interfaces inherited from class mondrian.util.UnsupportedList
UnsupportedList.Itr, UnsupportedList.ItrUnknownSize, UnsupportedList.ListItr
 
Field Summary
protected  List<Member> members
           
 
Constructor Summary
protected CrossJoinFunDef.BaseMutableList(List<Member> members)
           
 
Method Summary
abstract  Member[] get(int index)
           
 Iterator<Member[]> iterator()
           
 ListIterator<Member[]> listIterator()
           
 ListIterator<Member[]> listIterator(int index)
           
abstract  Member[] remove(int index)
           
abstract  Member[] set(int index, Member[] element)
           
abstract  int size()
           
abstract  List<Member[]> subList(int fromIndex, int toIndex)
           
 Object[] toArray()
           
 List<Member[]> toArrayList()
           
 
Methods inherited from class mondrian.util.UnsupportedList
add, add, addAll, addAll, clear, contains, containsAll, equals, hashCode, indexOf, isEmpty, lastIndexOf, remove, removeAll, retainAll, toArray
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

members

protected final List<Member> members
Constructor Detail

CrossJoinFunDef.BaseMutableList

protected CrossJoinFunDef.BaseMutableList(List<Member> members)
Method Detail

size

public abstract int size()
Specified by:
size in interface Collection<Member[]>
Specified by:
size in interface List<Member[]>
Overrides:
size in class UnsupportedList<Member[]>

get

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

set

public abstract Member[] set(int index,
                             Member[] element)
Specified by:
set in interface List<Member[]>
Overrides:
set in class UnsupportedList<Member[]>

remove

public abstract Member[] remove(int index)
Specified by:
remove in interface List<Member[]>
Overrides:
remove in class UnsupportedList<Member[]>

subList

public abstract List<Member[]> subList(int fromIndex,
                                       int toIndex)
Specified by:
subList in interface List<Member[]>
Overrides:
subList in class UnsupportedList<Member[]>

toArray

public Object[] toArray()
Specified by:
toArray in interface Collection<Member[]>
Specified by:
toArray in interface List<Member[]>
Overrides:
toArray in class UnsupportedList<Member[]>

toArrayList

public List<Member[]> toArrayList()

listIterator

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

listIterator

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

SourceForge.net_Logo