Class AutomationDiagnostics.ScoredName
java.lang.Object
neqsim.process.automation.AutomationDiagnostics.ScoredName
- All Implemented Interfaces:
Comparable<AutomationDiagnostics.ScoredName>
- Enclosing class:
AutomationDiagnostics
private static class AutomationDiagnostics.ScoredName
extends Object
implements Comparable<AutomationDiagnostics.ScoredName>
Helper for sorting names by match score.
- Version:
- 1.0
- Author:
- Even Solbraa
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
name
-
score
final double score
-
-
Constructor Details
-
ScoredName
ScoredName(String name, double score) Creates a scored name entry.- Parameters:
name- the namescore- the match score
-
-
Method Details
-
compareTo
- Specified by:
compareToin interfaceComparable<AutomationDiagnostics.ScoredName>
-