public interface BinaryDelta
DataType implementations that support binary deltas by
returning a DeltaType implementation as the result of
deltaType(BinaryDelta.class). Two values of
such a data type can be diffed to
create a binary delta. The binary delta can later be
applied to the first value to
calculate the second value.
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasChanges()
Returns whether the two values used to create this instance are
different.
|
int |
length() |
boolean hasChanges()
!DeltaType.noChange().equals(this)
.int length()
serialize the deltaCopyright © 2024 DiffusionData Limited. All rights reserved.