Révision 1072
tmp/org.txm.core/src/java/org/txm/core/results/TXMResult.java (revision 1072) | ||
---|---|---|
1878 | 1878 |
return Integer.compare(this.weight, o.weight); |
1879 | 1879 |
} |
1880 | 1880 |
|
1881 |
/** |
|
1882 |
* |
|
1883 |
* @param e1 |
|
1884 |
* @param e2 |
|
1885 |
* @return |
|
1886 |
*/ |
|
1881 | 1887 |
public static int compare(TXMResult e1, TXMResult e2) { |
1882 | 1888 |
if (e1 == null && e2 == null) return 0; |
1883 | 1889 |
if (e1 == null) return 1; |
... | ... | |
1886 | 1892 |
} |
1887 | 1893 |
|
1888 | 1894 |
/** |
1895 |
* Sets a boolean state to define if the result has already been computed at least once or not. |
|
1889 | 1896 |
* @param hasBeenComputedOnce the hasBeenComputedOnce to set |
1890 | 1897 |
*/ |
1891 | 1898 |
public void setHasBeenComputedOnce(boolean hasBeenComputedOnce) { |
Formats disponibles : Unified diff