Module swim.spatial
Package swim.spatial

Class QTreeEntry<K,S,V>

java.lang.Object
swim.spatial.QTreeEntry<K,S,V>
All Implemented Interfaces:
Map.Entry<K,V>, SpatialMap.Entry<K,S,V>

public class QTreeEntry<K,S,V> extends Object implements SpatialMap.Entry<K,S,V>
  • Constructor Details

    • QTreeEntry

      public QTreeEntry(K key, S shape, long x, long y, V value)
  • Method Details

    • getKey

      public final K getKey()
      Specified by:
      getKey in interface Map.Entry<K,S>
    • getShape

      public final S getShape()
      Specified by:
      getShape in interface SpatialMap.Entry<K,S,V>
    • x

      public final long x()
    • xRank

      public final int xRank()
    • xBase

      public final long xBase()
    • y

      public final long y()
    • yRank

      public final int yRank()
    • yBase

      public final long yBase()
    • getValue

      public final V getValue()
      Specified by:
      getValue in interface Map.Entry<K,S>
    • setValue

      public V setValue(V newValue)
      Specified by:
      setValue in interface Map.Entry<K,S>
    • equals

      public boolean equals(Object other)
      Specified by:
      equals in interface Map.Entry<K,S>
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface Map.Entry<K,S>
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object