de.fu_berlin.ties.context
Class PriorRecognitions.Pair

java.lang.Object
  extended byde.fu_berlin.ties.context.PriorRecognitions.Pair
Enclosing class:
PriorRecognitions

public static class PriorRecognitions.Pair
extends Object

An inner class wrapping a recognition and optionally a feature vector representing the recognition.


Constructor Summary
PriorRecognitions.Pair(Recognition recog)
          Creates a new instance.
 
Method Summary
 LinkedList getCachedFeatures()
          Returns the list of features representing the recognition, initially null.
 Recognition getRecognition()
          Returns the recognition wrapped in this pair.
 void setCachedFeatures(LinkedList features)
          Sets the list of features representing the recognition.
 String toString()
          Returns a string representation of this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PriorRecognitions.Pair

public PriorRecognitions.Pair(Recognition recog)
Creates a new instance.

Parameters:
recog - the recognition to wrap
Method Detail

getCachedFeatures

public LinkedList getCachedFeatures()
Returns the list of features representing the recognition, initially null.

Returns:
the value of the attribute

getRecognition

public Recognition getRecognition()
Returns the recognition wrapped in this pair.

Returns:
the value of the attribute

setCachedFeatures

public void setCachedFeatures(LinkedList features)
Sets the list of features representing the recognition.

Parameters:
features - the new value of the attribute

toString

public String toString()
Returns a string representation of this object.

Returns:
a textual representation


Copyright © 2003-2004 Christian Siefkes. All Rights Reserved.