com.clarkparsia.pellint.model
Class Severity
java.lang.Object
com.clarkparsia.pellint.model.Severity
- All Implemented Interfaces:
- java.lang.Comparable<Severity>
public class Severity
- extends java.lang.Object
- implements java.lang.Comparable<Severity>
Title: Severity
Description: The severity for a Lint
relative to all the Lint
found within a particular LintPattern
.
It currently wraps Double, and a higer value represents higher severity.
Copyright: Copyright (c) 2008
Company: Clark & Parsia, LLC.
- Author:
- Harris Lin
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Severity
public Severity(double v)
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
doubleValue
public double doubleValue()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
compareTo
public int compareTo(Severity other)
- Specified by:
compareTo
in interface java.lang.Comparable<Severity>
Copyright © 2004 Evren Sirin. All Rights Reserved.