- java.lang.Object
-
- org.kordamp.jarviz.core.model.Checksum
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classChecksum.Outcome
-
Field Summary
Fields Modifier and Type Field Description private Algorithmalgorithmprivate Checksum.Outcomeoutcome
-
Constructor Summary
Constructors Modifier Constructor Description privateChecksum(Algorithm algorithm, Checksum.Outcome outcome)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(Checksum o)booleanequals(java.lang.Object o)static Checksumfailure(Algorithm algorithm)AlgorithmgetAlgorithm()Checksum.OutcomegetOutcome()inthashCode()static Checksumsuccess(Algorithm algorithm)static Checksumunavailable(Algorithm algorithm)
-
-
-
Field Detail
-
algorithm
private final Algorithm algorithm
-
outcome
private final Checksum.Outcome outcome
-
-
Constructor Detail
-
Checksum
private Checksum(Algorithm algorithm, Checksum.Outcome outcome)
-
-
Method Detail
-
getAlgorithm
public Algorithm getAlgorithm()
-
getOutcome
public Checksum.Outcome getOutcome()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-