Module swim.runtime

Class MapDownlinkModel

    • Field Detail

      • state

        protected final swim.collections.BTreeMap<swim.structure.Value,​swim.structure.Value,​swim.structure.Value> state
      • flags

        protected int flags
    • Constructor Detail

      • MapDownlinkModel

        public MapDownlinkModel​(swim.uri.Uri meshUri,
                                swim.uri.Uri hostUri,
                                swim.uri.Uri nodeUri,
                                swim.uri.Uri laneUri,
                                float prio,
                                float rate,
                                swim.structure.Value body)
    • Method Detail

      • isStateful

        public final boolean isStateful()
      • isEmpty

        public boolean isEmpty()
      • size

        public int size()
      • containsKey

        public boolean containsKey​(Object key)
      • containsValue

        public boolean containsValue​(Object value)
      • indexOf

        public int indexOf​(Object key)
      • get

        public swim.structure.Value get​(Object key)
      • getEntry

        public Map.Entry<swim.structure.Value,​swim.structure.Value> getEntry​(Object key)
      • getIndex

        public Map.Entry<swim.structure.Value,​swim.structure.Value> getIndex​(int index)
      • firstEntry

        public Map.Entry<swim.structure.Value,​swim.structure.Value> firstEntry()
      • firstKey

        public swim.structure.Value firstKey()
      • firstValue

        public swim.structure.Value firstValue()
      • lastEntry

        public Map.Entry<swim.structure.Value,​swim.structure.Value> lastEntry()
      • lastKey

        public swim.structure.Value lastKey()
      • lastValue

        public swim.structure.Value lastValue()
      • nextEntry

        public Map.Entry<swim.structure.Value,​swim.structure.Value> nextEntry​(swim.structure.Value key)
      • nextKey

        public swim.structure.Value nextKey​(swim.structure.Value key)
      • nextValue

        public swim.structure.Value nextValue​(swim.structure.Value key)
      • previousEntry

        public Map.Entry<swim.structure.Value,​swim.structure.Value> previousEntry​(swim.structure.Value key)
      • previousKey

        public swim.structure.Value previousKey​(swim.structure.Value key)
      • previousValue

        public swim.structure.Value previousValue​(swim.structure.Value key)
      • put

        public <K,​V> V put​(MapDownlinkView<K,​V> view,
                                 K keyObject,
                                 V newObject)
      • remove

        public <K,​V> V remove​(MapDownlinkView<K,​V> view,
                                    K keyObject)
      • headMap

        public swim.util.OrderedMap<swim.structure.Value,​swim.structure.Value> headMap​(swim.structure.Value toKey)
      • tailMap

        public swim.util.OrderedMap<swim.structure.Value,​swim.structure.Value> tailMap​(swim.structure.Value fromKey)
      • subMap

        public swim.util.OrderedMap<swim.structure.Value,​swim.structure.Value> subMap​(swim.structure.Value fromKey,
                                                                                            swim.structure.Value toKey)
      • entrySet

        public Set<Map.Entry<swim.structure.Value,​swim.structure.Value>> entrySet()
      • keySet

        public Set<swim.structure.Value> keySet()
      • values

        public Collection<swim.structure.Value> values()
      • iterator

        public swim.util.OrderedMapCursor<swim.structure.Value,​swim.structure.Value> iterator()
      • keyIterator

        public swim.util.Cursor<swim.structure.Value> keyIterator()
      • valueIterator

        public swim.util.Cursor<swim.structure.Value> valueIterator()