Class AbstractStringMatrix

    • Constructor Detail

      • AbstractStringMatrix

        public AbstractStringMatrix​(long... size)
    • Method Detail

      • getObject

        public final java.lang.String getObject​(long... coordinates)
        Specified by:
        getObject in interface GenericMatrixMultiD<java.lang.String>
      • getAsDouble

        public final double getAsDouble​(long... coordinates)
        Description copied from interface: GettersAndSetters
        Returns a double representation of an entry in the matrix. The stored value will be converted to a double as good as possible.
        Specified by:
        getAsDouble in interface GettersAndSetters
        Overrides:
        getAsDouble in class AbstractMatrix
        Parameters:
        coordinates - location of the entry
        Returns:
        a double representation of the entry @
      • setAsDouble

        public final void setAsDouble​(double value,
                                      long... coordinates)
        Description copied from interface: GettersAndSetters
        Sets an entry in the matrix to a double value. If the matrix cannot store double values, the value will be represented as good as possible.
        Specified by:
        setAsDouble in interface GettersAndSetters
        Overrides:
        setAsDouble in class AbstractMatrix
        Parameters:
        value - double value
        coordinates - location of the entry @
      • getAsString

        public final java.lang.String getAsString​(long... coordinates)
        Description copied from interface: GettersAndSetters
        Returns a String representation of an entry in the matrix. The stored value will be converted to a String as good as possible.
        Specified by:
        getAsString in interface GettersAndSetters
        Overrides:
        getAsString in class AbstractMatrix
        Parameters:
        coordinates - location of the entry
        Returns:
        a String representation of the entry @
      • setAsString

        public final void setAsString​(java.lang.String string,
                                      long... coordinates)
        Description copied from interface: GettersAndSetters
        Sets an entry in the matrix to a String value. If the matrix cannot store Strings, the value will be represented as good as possible.
        Specified by:
        setAsString in interface GettersAndSetters
        Overrides:
        setAsString in class AbstractMatrix
        coordinates - location of the entry @