Class VotLintCode
java.lang.Object
uk.ac.starlink.ttools.votlint.VotLintCode
Provides a label for a message passed to a VotLint context.
This is just a typed wrapper around a 3-letter string,
intended to identify message instances that are essentially
reporting problems that are the same or similar.
- Since:
- 26 May 2021
- Author:
- Mark Taylor
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
VotLintCode
Constructor.- Parameters:
txt- 3-character string identifying this code; conventionally the characters are upper case alphanumerics- Throws:
IllegalArgumentException- if it's not three characters long
-
-
Method Details
-
getCode
-
hashCode
-
equals
-
toString
-