fuzzydl.milp

## Class Term

- java.lang.Object
- - fuzzydl.milp.Term

-     public class Term
      extends java.lang.Object

  Term, a pair (coefficiente, variable).
  Author:
    Fernando Bobillo

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Term(double coeff, Variable var)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(java.lang.Object term)` Indicates whether some other object is "equal to" this one.
    `double` | `getCoeff()` Gets the coefficient of the term.
    `Variable` | `getVar()` Gets the variable of the term.
    `java.lang.String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### Term

          public Term(double coeff,
                      Variable var)

  - ### Method Detail

    - #### getVar

          public Variable getVar()

      Gets the variable of the term.
      Returns:
        Variable.

    - #### getCoeff

          public double getCoeff()

      Gets the coefficient of the term.
      Returns:
        Coefficient.

    - #### equals

          public boolean equals(java.lang.Object term)

      Indicates whether some other object is "equal to" this one.
      Overrides:
        `equals` in class `java.lang.Object`
      Parameters:
        `term` - The reference object with which to compare.
      Returns:
        If this object is the same as the term argument; false otherwise.

    - #### toString

          public java.lang.String toString()

      Overrides:
        `toString` in class `java.lang.Object`