Klasse MapSnapshotNode

java.lang.Object
de.serra.so_dirty.sn.MapSnapshotNode
Alle implementierten Schnittstellen:
SnapshotNode

public class MapSnapshotNode extends Object implements SnapshotNode
Snapshot of a map and its entries.
Autor:
Peter Lamby
  • Konstruktordetails

  • Methodendetails

    • value

      public Object value()
      Beschreibung aus Schnittstelle kopiert: SnapshotNode
      The value that was used to create the snapshot.

      Please not that the interior of the object may have been modified since the snapshot was taken.

      Angegeben von:
      value in Schnittstelle SnapshotNode
      Gibt zurück:
      The value that was used to create the snapshot.
    • diff

      public DifferenceNode diff(@Nullable SnapshotNode other, String path)
      Beschreibung aus Schnittstelle kopiert: SnapshotNode
      Compare this node to the other one.

      path is used to provide context to the returned DifferenceNode.

      Angegeben von:
      diff in Schnittstelle SnapshotNode
      Parameter:
      other - The other node.
      path - The relative path of this and other.
      Gibt zurück:
      a DifferenceNode describing the differences. Never null.