Class AbstractBooleanMatrix

    • Constructor Detail

      • AbstractBooleanMatrix

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

      • getObject

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

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

        public final void setAsBoolean​(boolean value,
                                       long... coordinates)
        Description copied from interface: GettersAndSetters
        Sets an entry in the matrix to a boolean value. If the matrix cannot store byte values, the value will be represented as good as possible.
        Specified by:
        setAsBoolean in interface GettersAndSetters
        Overrides:
        setAsBoolean in class AbstractMatrix
        Parameters:
        value - boolean value
        coordinates - location of the entry @
      • 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 @