Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

JLibDiff
Class DiffType  view DiffType download DiffType.java

java.lang.Object
  extended byJLibDiff.DiffType

class DiffType
extends java.lang.Object


Field Summary
static DiffType ADD
           
static DiffType CHANGE
           
private static short CODE_ADD
           
private static short CODE_CHANGE
           
private static short CODE_DELETE
           
private static short CODE_DIFF_1ST
           
private static short CODE_DIFF_2ND
           
private static short CODE_DIFF_3RD
           
private static short CODE_DIFF_ALL
           
private static short CODE_ERROR
           
static DiffType DELETE
           
static DiffType DIFF_1ST
           
static DiffType DIFF_2ND
           
static DiffType DIFF_3RD
           
static DiffType DIFF_ALL
           
static DiffType ERROR
           
private  short typecode
           
 
Constructor Summary
private DiffType(short pcode)
           
 
Method Summary
(package private)  short code()
           
 int toInt()
           
 java.lang.String toString()
          Convert this Object to a human-readable String.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

DiffType

private DiffType(short pcode)
Method Detail

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()