Class MjSparseMatrix.Index

  • Enclosing class:
    MjSparseMatrix

    public static class MjSparseMatrix.Index
    extends java.lang.Object
    Used to reference a single element in the matrix.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      int m_iCol
      DOCUMENT ME!
      int m_iRow
      DOCUMENT ME!
    • Constructor Summary

      Constructors 
      Constructor Description
      Index​(int iRow, int iCol)
      Creates a new Index object.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object kObject)
      override for Object method used for hashing.
      int hashCode()
      override for Object method used for hashing.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • m_iCol

        public int m_iCol
        DOCUMENT ME!
      • m_iRow

        public int m_iRow
        DOCUMENT ME!
    • Constructor Detail

      • Index

        public Index​(int iRow,
                     int iCol)
        Creates a new Index object.
        Parameters:
        iRow - DOCUMENT ME!
        iCol - DOCUMENT ME!
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object kObject)
        override for Object method used for hashing.
        Overrides:
        equals in class java.lang.Object
        Parameters:
        kObject - DOCUMENT ME!
        Returns:
        DOCUMENT ME!
      • hashCode

        public int hashCode()
        override for Object method used for hashing.
        Overrides:
        hashCode in class java.lang.Object
        Returns:
        DOCUMENT ME!