BuildmLearn-Toolkit-Android  2.0.0
The Android version of the BuildmLearn Toolkit. BuildmLearn Toolkit is an easy-to-use program that helps the users make mobile apps without any knowledge of application development.
Public Member Functions | Public Attributes | List of all members
org.buildmlearn.toolkit.utilities.diff_match_patch.Diff Class Reference
Collaboration diagram for org.buildmlearn.toolkit.utilities.diff_match_patch.Diff:
Collaboration graph
[legend]

Public Member Functions

 Diff (Operation operation, String text)
 
String toString ()
 
int hashCode ()
 
boolean equals (Object obj)
 

Public Attributes

Operation operation
 
String text
 

Detailed Description

Class representing one diff operation.

Constructor & Destructor Documentation

org.buildmlearn.toolkit.utilities.diff_match_patch.Diff.Diff ( Operation  operation,
String  text 
)

Constructor. Initializes the diff with the provided values.

Parameters
operationOne of INSERT, DELETE or EQUAL.
textThe text being applied.

Member Function Documentation

boolean org.buildmlearn.toolkit.utilities.diff_match_patch.Diff.equals ( Object  obj)

Is this Diff equivalent to another Diff?

Parameters
objAnother Diff to compare against.
Returns
true or false.
int org.buildmlearn.toolkit.utilities.diff_match_patch.Diff.hashCode ( )

Create a numeric hash value for a Diff. This function is not used by DMP.

Returns
Hash value.
String org.buildmlearn.toolkit.utilities.diff_match_patch.Diff.toString ( )

Display a human-readable version of this Diff.

Returns
text version.

Member Data Documentation

Operation org.buildmlearn.toolkit.utilities.diff_match_patch.Diff.operation

One of: INSERT, DELETE or EQUAL.

String org.buildmlearn.toolkit.utilities.diff_match_patch.Diff.text

The text associated with this diff operation.


The documentation for this class was generated from the following file: