Class DBTreeDataRecord<DS extends BoundedShape<NS>,NS extends BoundingShape<NS>,T>

Direct Known Subclasses:
DBTraceAddressSnapRangePropertyMapTree.AbstractDBTraceAddressSnapRangePropertyMapData, DBTraceObjectValueData

public abstract class DBTreeDataRecord<DS extends BoundedShape<NS>,NS extends BoundingShape<NS>,T> extends DBTreeRecord<DS,NS>
  • Constructor Details

  • Method Details

    • shapeEquals

      protected abstract boolean shapeEquals(DS shape)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • setRecordValue

      protected abstract void setRecordValue(T value)
      Set the value of this record Note that the value is sometimes the record itself. In this case, this method expects value to be null and does nothing. See SpatialMap.put(BoundedShape, Object) for more details of this pattern.
      Parameters:
      value - the record's new value
    • getRecordValue

      protected abstract T getRecordValue()
      Get the value of this record Note that the value is sometimes the record itself, i.e., this method returns this. See SpatialMap.put(BoundedShape, Object) for more details of this pattern.
      Returns:
      the record's value
    • asEntry

      protected DBTreeDataRecord.RecordEntry<DS,NS,T> asEntry()
    • getDataCount

      protected int getDataCount()
      Description copied from class: DBTreeRecord
      Get the total number of data entries in this sub-tree For data entries, this is 1.
      Specified by:
      getDataCount in class DBTreeRecord<DS extends BoundedShape<NS>,NS extends BoundingShape<NS>>
      Returns:
      the data count