Class AbstractGenericMatrix<T>

    • Constructor Detail

      • AbstractGenericMatrix

        protected AbstractGenericMatrix​(long... size)
    • Method Detail

      • getAsObject

        public final T getAsObject​(long... coordinates)
        Description copied from interface: GettersAndSetters
        Returns a raw entry in the matrix as it is stored. If the matrix supports Generics, the return type will match the type that is stored.
        Specified by:
        getAsObject in interface GettersAndSetters
        Parameters:
        coordinates - location of the entry
        Returns:
        entry object @
      • setObject

        public void setObject​(T value,
                              long row,
                              long column)
        Specified by:
        setObject in interface GenericMatrix2D<T>
      • setAsObject

        public final void setAsObject​(java.lang.Object o,
                                      long... coordinates)
        Description copied from interface: GettersAndSetters
        Sets an entry in the matrix to an object. If the matrix cannot store this object type, the value will be represented as good as possible.
        Specified by:
        setAsObject in interface GettersAndSetters
        Parameters:
        o - the object to store
        coordinates - location of the entry @