Class ACount<T>

java.lang.Object
org.apache.sysds.runtime.compress.utils.ACount<T>
Direct Known Subclasses:
ACount.DArrCounts, ACount.DCounts

public abstract class ACount<T> extends Object
  • Field Details

    • count

      public int count
      The current count of this element
    • id

      public int id
      The current ID of this element should be unique for the user.
  • Constructor Details

    • ACount

      public ACount()
  • Method Details

    • next

      public abstract ACount<T> next()
    • setNext

      public abstract void setNext(ACount<T> e)
    • key

      public abstract T key()
    • get

      public abstract ACount<T> get(T key)
    • inc

      public abstract ACount<T> inc(T key, int c, int id)
    • get

      public ACount<T> get(double key)
    • inc

      public ACount<T> inc(double key, int c, int id)
    • sort

      public ACount<T> sort()
    • toString

      public String toString()
      Overrides:
      toString in class Object