Module swim.db
Package swim.db

Class STreeListView

  • All Implemented Interfaces:
    Iterable<swim.structure.Value>, Collection<swim.structure.Value>, List<swim.structure.Value>

    public class STreeListView
    extends Object
    implements List<swim.structure.Value>
    • Field Detail

      • tree

        protected final STree tree
    • Constructor Detail

      • STreeListView

        public STreeListView​(STree tree)
    • Method Detail

      • getTree

        public STree getTree()
      • isResident

        public boolean isResident()
      • isTransient

        public boolean isTransient()
      • valueForm

        public <V> swim.structure.collections.ValueList<V> valueForm​(swim.structure.Form<V> valueForm)
      • valueClass

        public <V> swim.structure.collections.ValueList<V> valueClass​(Class<V> valueClass)
      • isEmpty

        public boolean isEmpty()
        Specified by:
        isEmpty in interface Collection<swim.structure.Value>
        Specified by:
        isEmpty in interface List<swim.structure.Value>
      • size

        public int size()
        Specified by:
        size in interface Collection<swim.structure.Value>
        Specified by:
        size in interface List<swim.structure.Value>
      • contains

        public boolean contains​(Object value)
        Specified by:
        contains in interface Collection<swim.structure.Value>
        Specified by:
        contains in interface List<swim.structure.Value>
      • indexOf

        public int indexOf​(Object object)
        Specified by:
        indexOf in interface List<swim.structure.Value>
      • lastIndexOf

        public int lastIndexOf​(Object object)
        Specified by:
        lastIndexOf in interface List<swim.structure.Value>
      • get

        public swim.structure.Value get​(int index)
        Specified by:
        get in interface List<swim.structure.Value>
      • set

        public swim.structure.Value set​(int index,
                                        swim.structure.Value newValue)
        Specified by:
        set in interface List<swim.structure.Value>
      • add

        public boolean add​(swim.structure.Value newValue)
        Specified by:
        add in interface Collection<swim.structure.Value>
        Specified by:
        add in interface List<swim.structure.Value>
      • addAll

        public boolean addAll​(Collection<? extends swim.structure.Value> newValues)
        Specified by:
        addAll in interface Collection<swim.structure.Value>
        Specified by:
        addAll in interface List<swim.structure.Value>
      • add

        public void add​(int index,
                        swim.structure.Value newValue)
        Specified by:
        add in interface List<swim.structure.Value>
      • addAll

        public boolean addAll​(int index,
                              Collection<? extends swim.structure.Value> newValues)
        Specified by:
        addAll in interface List<swim.structure.Value>
      • remove

        public swim.structure.Value remove​(int index)
        Specified by:
        remove in interface List<swim.structure.Value>
      • remove

        public boolean remove​(Object value)
        Specified by:
        remove in interface Collection<swim.structure.Value>
        Specified by:
        remove in interface List<swim.structure.Value>
      • clear

        public void clear()
        Specified by:
        clear in interface Collection<swim.structure.Value>
        Specified by:
        clear in interface List<swim.structure.Value>
      • toArray

        public Object[] toArray()
        Specified by:
        toArray in interface Collection<swim.structure.Value>
        Specified by:
        toArray in interface List<swim.structure.Value>
      • toArray

        public <T> T[] toArray​(T[] array)
        Specified by:
        toArray in interface Collection<swim.structure.Value>
        Specified by:
        toArray in interface List<swim.structure.Value>
      • iterator

        public swim.util.Cursor<swim.structure.Value> iterator()
        Specified by:
        iterator in interface Collection<swim.structure.Value>
        Specified by:
        iterator in interface Iterable<swim.structure.Value>
        Specified by:
        iterator in interface List<swim.structure.Value>
      • listIterator

        public swim.util.Cursor<swim.structure.Value> listIterator()
        Specified by:
        listIterator in interface List<swim.structure.Value>
      • listIterator

        public swim.util.Cursor<swim.structure.Value> listIterator​(int index)
        Specified by:
        listIterator in interface List<swim.structure.Value>
      • subList

        public List<swim.structure.Value> subList​(int fromIndex,
                                                  int toIndex)
        Specified by:
        subList in interface List<swim.structure.Value>