public class PrintablePair
extends java.lang.Object
PrintableSnapshot
.Constructor and Description |
---|
PrintablePair(PrintableSnapshot reference)
Instantiates a
PrintablePair . |
PrintablePair(Snapshot snapshot,
java.lang.Integer level)
Instantiates a
PrintablePair . |
Modifier and Type | Method and Description |
---|---|
PrintableSnapshot |
getReference()
Gets the
PrintableSnapshot used as reference. |
PrintableSnapshot |
getSecond()
Gets the second
PrintableSnapshot . |
void |
setSecond(PrintableSnapshot second)
Sets the second element of the
PrintablePair . |
public PrintablePair(PrintableSnapshot reference)
PrintablePair
.reference
- the snapshot used as reference.public PrintablePair(Snapshot snapshot, java.lang.Integer level)
PrintablePair
.snapshot
- the snapshot used as reference.level
- the stack's level.public void setSecond(PrintableSnapshot second)
PrintablePair
.second
- the second PrintableSnapshot
.public PrintableSnapshot getSecond()
PrintableSnapshot
.PrintableSnapshot
.public PrintableSnapshot getReference()
PrintableSnapshot
used as reference.PrintableSnapshot
used as reference.