Class SubstitutingMemberReader.SubstitutingMemberList

  • All Implemented Interfaces:
    java.lang.Iterable<RolapMember>, java.util.Collection<RolapMember>, java.util.List<RolapMember>
    Enclosing class:
    SubstitutingMemberReader

    class SubstitutingMemberReader.SubstitutingMemberList
    extends java.util.AbstractList<RolapMember>
    List which writes through to an underlying list, substituting members as they are written and desubstituting as they are read.
    • Field Summary

      • Fields inherited from class java.util.AbstractList

        modCount
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void add​(int index, RolapMember element)  
      RolapMember get​(int index)  
      RolapMember remove​(int index)  
      RolapMember set​(int index, RolapMember element)  
      int size()  
      • Methods inherited from class java.util.AbstractList

        add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, subList
      • Methods inherited from class java.util.AbstractCollection

        addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.util.Collection

        parallelStream, removeIf, stream, toArray
      • Methods inherited from interface java.lang.Iterable

        forEach
      • Methods inherited from interface java.util.List

        addAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
    • Constructor Detail

      • SubstitutingMemberList

        SubstitutingMemberList​(java.util.List<RolapMember> list)
    • Method Detail

      • get

        public RolapMember get​(int index)
        Specified by:
        get in interface java.util.List<RolapMember>
        Specified by:
        get in class java.util.AbstractList<RolapMember>
      • size

        public int size()
        Specified by:
        size in interface java.util.Collection<RolapMember>
        Specified by:
        size in interface java.util.List<RolapMember>
        Specified by:
        size in class java.util.AbstractCollection<RolapMember>
      • add

        public void add​(int index,
                        RolapMember element)
        Specified by:
        add in interface java.util.List<RolapMember>
        Overrides:
        add in class java.util.AbstractList<RolapMember>
      • remove

        public RolapMember remove​(int index)
        Specified by:
        remove in interface java.util.List<RolapMember>
        Overrides:
        remove in class java.util.AbstractList<RolapMember>