com.aliasi.classify
Class RankedClassified<E>

java.lang.Object
  extended by com.aliasi.classify.Classified<E>
      extended by com.aliasi.classify.RankedClassified<E>
Type Parameters:
E - the type of object classified

public class RankedClassified<E>
extends Classified<E>

A RankedClassified represents an object that has been classified with a ranked classification.

Since:
LingPipe3.9.1
Version:
3.9.1
Author:
Bob Carpenter

Constructor Summary
RankedClassified(E object, RankedClassification c)
          Construct a classified object consisting of the specified object and classification.
 
Method Summary
 RankedClassification getClassification()
          Return the classification of the object.
 
Methods inherited from class com.aliasi.classify.Classified
getObject, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RankedClassified

public RankedClassified(E object,
                        RankedClassification c)
Construct a classified object consisting of the specified object and classification.

Parameters:
object - Object being classified.
c - Classification of object.
Method Detail

getClassification

public RankedClassification getClassification()
Return the classification of the object.

Overrides:
getClassification in class Classified<E>
Returns:
The classification.