com.knowledgebooks.nlp_utils
Class SFtriple
java.lang.Object
com.knowledgebooks.nlp_utils.SFtriple
- All Implemented Interfaces:
- java.lang.Comparable
public class SFtriple
- extends java.lang.Object
- implements java.lang.Comparable
Copyright 2002-2008 by Mark Watson. All rights reserved.
This software is not public domain. It can be legally
used under either of the following licenses:
1. KnowledgeBooks.com Non Commercial Royality Free License
2. KnowledgeBooks.com Commercial Use License
see www.knowledgebooks.com for details
|
Constructor Summary |
SFtriple(java.lang.String s,
float f,
int topic_index)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SFtriple
public SFtriple(java.lang.String s,
float f,
int topic_index)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
compareTo
public int compareTo(java.lang.Object o)
- Specified by:
compareTo in interface java.lang.Comparable
getS
public java.lang.String getS()
setS
public void setS(java.lang.String s)
getF
public float getF()
setF
public void setF(float f)
getTopic_index
public int getTopic_index()
setTopic_index
public void setTopic_index(int topic_index)