gov.llnl.ontology.wordnet
Class DoubleVectorAttribute<T extends edu.ucla.sspace.vector.DoubleVector>

java.lang.Object
  extended by gov.llnl.ontology.wordnet.DoubleVectorAttribute<T>
All Implemented Interfaces:
Attribute<T>

public class DoubleVectorAttribute<T extends edu.ucla.sspace.vector.DoubleVector>
extends Object
implements Attribute<T>

An Attribute that stores a DoubleVector


Constructor Summary
DoubleVectorAttribute(T vector)
          Creates a new DoubleVectorAttribute.
 
Method Summary
 void merge(Attribute<T> other)
          Merges this Attribute with another Attribute.
 T object()
          Returns the underlying object for this Attribute.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DoubleVectorAttribute

public DoubleVectorAttribute(T vector)
Creates a new DoubleVectorAttribute.

Method Detail

merge

public void merge(Attribute<T> other)
Merges this Attribute with another Attribute. Merging can occur when two Synsets are merged together and have Attributes associated with the same label. This method will only be called internally when Synsets are combined together.

Specified by:
merge in interface Attribute<T extends edu.ucla.sspace.vector.DoubleVector>

object

public T object()
Returns the underlying object for this Attribute.

Specified by:
object in interface Attribute<T extends edu.ucla.sspace.vector.DoubleVector>


Copyright © 2010-2011. All Rights Reserved.