public class DiffOperation extends Object implements com.aspose.ms.System.IEquatable<DiffOperation>
Represents a class of diff operation.
Constructor and Description |
---|
DiffOperation(Operation operation,
String text)
Creates a
DiffOperation instance. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(DiffOperation op) |
boolean |
equals(Object other) |
Operation |
getOperation()
Gets and sets operation type.
|
String |
getText()
Get and set operation text.
|
int |
hashCode() |
void |
setText(String value)
Get and set operation text.
|
String |
toString() |
public DiffOperation(Operation operation, String text)
Creates a DiffOperation
instance.
operation
- An operation type.text
- An operation text.public final Operation getOperation()
Gets and sets operation type.
public final String getText()
Get and set operation text.
public final void setText(String value)
Get and set operation text.
value
- String valuepublic boolean equals(Object other)
equals
in interface com.aspose.ms.System.IEquatable<DiffOperation>
equals
in class Object
public final boolean equals(DiffOperation op)
Copyright © 2025 Aspose. All Rights Reserved.