Package uk.ac.starlink.ttools.task
Class CredibleString
- java.lang.Object
-
- uk.ac.starlink.ttools.task.CredibleString
-
public class CredibleString extends java.lang.Object
Aggregates a string value and a credibility assessment.- Since:
- 20 Sep 2017
- Author:
- Mark Taylor
-
-
Constructor Summary
Constructors Constructor Description CredibleString(java.lang.String value, Credibility cred)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Credibility
getCredibility()
Returns the credibility.java.lang.String
getValue()
Returns the value.java.lang.String
toString()
-
-
-
Constructor Detail
-
CredibleString
public CredibleString(java.lang.String value, Credibility cred)
Constructor.- Parameters:
value
- string value to usecred
- credibility for usage
-
-
Method Detail
-
getValue
public java.lang.String getValue()
Returns the value.- Returns:
- value
-
getCredibility
public Credibility getCredibility()
Returns the credibility.- Returns:
- value credibility
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-