Class Slice.DimensionValue<NAMETYPE extends Name>

java.lang.Object
com.yahoo.tensor.functions.Slice.DimensionValue<NAMETYPE>
Enclosing class:
Slice<NAMETYPE extends Name>

public static class Slice.DimensionValue<NAMETYPE extends Name> extends Object
  • Constructor Details

  • Method Details

    • dimension

      public Optional<String> dimension()
      Returns the given name of the dimension, or null if dense form is used, such that name must be inferred from order
    • label

      public Optional<String> label()
      Returns the label for this dimension or empty if it is provided by an index function
    • index

      public Optional<ScalarFunction<NAMETYPE>> index()
      Returns the index expression for this dimension, or empty if it is not a number
    • toString

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

      public int hashCode()
      Overrides:
      hashCode in class Object