java.lang.Object
JLibDiff.DiffType
- class DiffType
- extends java.lang.Object
|
Constructor Summary |
private |
DiffType(short pcode)
|
CODE_ERROR
private static final short CODE_ERROR
- See Also:
- Constant Field Values
CODE_ADD
private static final short CODE_ADD
- See Also:
- Constant Field Values
CODE_CHANGE
private static final short CODE_CHANGE
- See Also:
- Constant Field Values
CODE_DELETE
private static final short CODE_DELETE
- See Also:
- Constant Field Values
CODE_DIFF_ALL
private static final short CODE_DIFF_ALL
- See Also:
- Constant Field Values
CODE_DIFF_1ST
private static final short CODE_DIFF_1ST
- See Also:
- Constant Field Values
CODE_DIFF_2ND
private static final short CODE_DIFF_2ND
- See Also:
- Constant Field Values
CODE_DIFF_3RD
private static final short CODE_DIFF_3RD
- See Also:
- Constant Field Values
typecode
private short typecode
ERROR
public static DiffType ERROR
ADD
public static DiffType ADD
CHANGE
public static DiffType CHANGE
DELETE
public static DiffType DELETE
DIFF_ALL
public static DiffType DIFF_ALL
DIFF_1ST
public static DiffType DIFF_1ST
DIFF_2ND
public static DiffType DIFF_2ND
DIFF_3RD
public static DiffType DIFF_3RD
DiffType
private DiffType(short pcode)
code
short code()
toString
public java.lang.String toString()
- Description copied from class:
java.lang.Object
- Convert this Object to a human-readable String.
There are no limits placed on how long this String
should be or what it should contain. We suggest you
make it as intuitive as possible to be able to place
it into System.out.println() 55
and such.
It is typical, but not required, to ensure that this method
never completes abruptly with a java.lang.RuntimeException.
This method will be called when performing string
concatenation with this object. If the result is
null, string concatenation will instead
use "null".
The default implementation returns
getClass().getName() + "@" +
Integer.toHexString(hashCode()).
toInt
public int toInt()