Module swim.store
Package swim.store

Class SpatialDataProxy<S>

    • Method Detail

      • name

        public swim.structure.Value name()
        Specified by:
        name in interface DataBinding
        Specified by:
        name in interface swim.api.data.SpatialData<swim.structure.Value,​S,​swim.structure.Value>
      • keyForm

        public swim.structure.Form<swim.structure.Value> keyForm()
        Specified by:
        keyForm in interface swim.api.data.SpatialData<swim.structure.Value,​S,​swim.structure.Value>
      • keyForm

        public <K> swim.api.data.SpatialData<K,​S,​swim.structure.Value> keyForm​(swim.structure.Form<K> keyForm)
        Specified by:
        keyForm in interface swim.api.data.SpatialData<swim.structure.Value,​S,​swim.structure.Value>
      • keyClass

        public <K> swim.api.data.SpatialData<K,​S,​swim.structure.Value> keyClass​(Class<K> keyClass)
        Specified by:
        keyClass in interface swim.api.data.SpatialData<swim.structure.Value,​S,​swim.structure.Value>
      • shapeForm

        public swim.math.Z2Form<S> shapeForm()
        Specified by:
        shapeForm in interface swim.api.data.SpatialData<swim.structure.Value,​S,​swim.structure.Value>
      • valueForm

        public swim.structure.Form<swim.structure.Value> valueForm()
        Specified by:
        valueForm in interface swim.api.data.SpatialData<swim.structure.Value,​S,​swim.structure.Value>
      • valueForm

        public <V> swim.api.data.SpatialData<swim.structure.Value,​S,​V> valueForm​(swim.structure.Form<V> valueForm)
        Specified by:
        valueForm in interface swim.api.data.SpatialData<swim.structure.Value,​S,​swim.structure.Value>
      • valueClass

        public <V> swim.api.data.SpatialData<swim.structure.Value,​S,​V> valueClass​(Class<V> valueClass)
        Specified by:
        valueClass in interface swim.api.data.SpatialData<swim.structure.Value,​S,​swim.structure.Value>
      • isResident

        public boolean isResident()
        Specified by:
        isResident in interface DataBinding
        Specified by:
        isResident in interface swim.api.data.SpatialData<swim.structure.Value,​S,​swim.structure.Value>
      • isTransient

        public boolean isTransient()
        Specified by:
        isTransient in interface DataBinding
        Specified by:
        isTransient in interface swim.api.data.SpatialData<swim.structure.Value,​S,​swim.structure.Value>
      • isEmpty

        public boolean isEmpty()
        Specified by:
        isEmpty in interface swim.spatial.SpatialMap<swim.structure.Value,​S,​swim.structure.Value>
      • size

        public int size()
        Specified by:
        size in interface swim.spatial.SpatialMap<swim.structure.Value,​S,​swim.structure.Value>
      • containsKey

        public boolean containsKey​(swim.structure.Value key,
                                   S shape)
        Specified by:
        containsKey in interface swim.spatial.SpatialMap<swim.structure.Value,​S,​swim.structure.Value>
      • containsKey

        public boolean containsKey​(Object key)
        Specified by:
        containsKey in interface swim.spatial.SpatialMap<swim.structure.Value,​S,​swim.structure.Value>
      • containsValue

        public boolean containsValue​(Object value)
        Specified by:
        containsValue in interface swim.spatial.SpatialMap<swim.structure.Value,​S,​swim.structure.Value>
      • get

        public swim.structure.Value get​(swim.structure.Value key,
                                        S shape)
        Specified by:
        get in interface swim.spatial.SpatialMap<swim.structure.Value,​S,​swim.structure.Value>
      • get

        public swim.structure.Value get​(Object key)
        Specified by:
        get in interface swim.spatial.SpatialMap<swim.structure.Value,​S,​swim.structure.Value>
      • put

        public swim.structure.Value put​(swim.structure.Value key,
                                        S shape,
                                        swim.structure.Value newValue)
        Specified by:
        put in interface swim.spatial.SpatialMap<swim.structure.Value,​S,​swim.structure.Value>
      • move

        public swim.structure.Value move​(swim.structure.Value key,
                                         S oldShape,
                                         S newShape,
                                         swim.structure.Value newValue)
        Specified by:
        move in interface swim.spatial.SpatialMap<swim.structure.Value,​S,​swim.structure.Value>
      • remove

        public swim.structure.Value remove​(swim.structure.Value key,
                                           S shape)
        Specified by:
        remove in interface swim.spatial.SpatialMap<swim.structure.Value,​S,​swim.structure.Value>
      • clear

        public void clear()
        Specified by:
        clear in interface swim.spatial.SpatialMap<swim.structure.Value,​S,​swim.structure.Value>
      • iterator

        public Iterator<swim.spatial.SpatialMap.Entry<swim.structure.Value,​S,​swim.structure.Value>> iterator​(S shape)
        Specified by:
        iterator in interface swim.spatial.SpatialMap<swim.structure.Value,​S,​swim.structure.Value>
      • iterator

        public Iterator<swim.spatial.SpatialMap.Entry<swim.structure.Value,​S,​swim.structure.Value>> iterator()
        Specified by:
        iterator in interface Iterable<S>
      • keyIterator

        public Iterator<swim.structure.Value> keyIterator()
        Specified by:
        keyIterator in interface swim.spatial.SpatialMap<swim.structure.Value,​S,​swim.structure.Value>
      • valueIterator

        public Iterator<swim.structure.Value> valueIterator()
        Specified by:
        valueIterator in interface swim.spatial.SpatialMap<swim.structure.Value,​S,​swim.structure.Value>
      • snapshot

        public swim.spatial.SpatialMap<swim.structure.Value,​S,​swim.structure.Value> snapshot()
        Specified by:
        snapshot in interface swim.api.data.SpatialData<swim.structure.Value,​S,​swim.structure.Value>
      • close

        public void close()
        Specified by:
        close in interface DataBinding
        Specified by:
        close in interface swim.api.data.SpatialData<swim.structure.Value,​S,​swim.structure.Value>
      • didUpdate

        public void didUpdate​(swim.structure.Value key,
                              long x,
                              long y,
                              swim.structure.Value newValue,
                              swim.structure.Value oldValue)
        Specified by:
        didUpdate in interface SpatialDataContext<S>
      • didMove

        public void didMove​(swim.structure.Value key,
                            long newX,
                            long newY,
                            swim.structure.Value newValue,
                            long oldX,
                            long oldY,
                            swim.structure.Value oldValue)
        Specified by:
        didMove in interface SpatialDataContext<S>
      • didRemove

        public void didRemove​(swim.structure.Value key,
                              long x,
                              long y,
                              swim.structure.Value oldValue)
        Specified by:
        didRemove in interface SpatialDataContext<S>