Object
HistoryEntry

public final class HistoryEntry extends Object
  • Constructor Details

    • HistoryEntry

      public HistoryEntry(long structure, int version, int prevVersion, long timestamp, String userKey, @Nullable Long synchronizer, @NotNull List<HistoryEntry.Change> changes)
      Parameters:
      changes - immutable list of changes
  • Method Details

    • getStructure

      public long getStructure()
    • getVersion

      public int getVersion()
    • getPrevVersion

      public int getPrevVersion()
    • getTimestamp

      public long getTimestamp()
    • getUserKey

      public String getUserKey()
    • getSynchronizer

      @Nullable public Long getSynchronizer()
    • getChanges

      @NotNull public List<HistoryEntry.Change> getChanges()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object