|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gov.nist.nlpir.irf.proxy.VirtualProxy | +--gov.nist.nlpir.irf.de.ProxyDataElem | +--gov.nist.nlpir.irf.de.ProxyDeDouble
This class represents a DeDouble by proxy.
Inner classes inherited from class gov.nist.nlpir.irf.proxy.VirtualProxy |
VirtualProxy.IMP_Entry |
Fields inherited from class gov.nist.nlpir.irf.proxy.VirtualProxy |
broker,
handles,
inMemoryProxiesByOid,
iS,
objectIdentifier,
realObject,
serialVersionUID |
Constructor Summary | |
ProxyDeDouble()
Constructs an instance from no arguments |
|
ProxyDeDouble(DeDouble v)
Builds a ProxyDeDouble that represents the given a DeDouble. |
|
ProxyDeDouble(double v)
Builds a ProxyDeDouble that represents the given value. |
|
ProxyDeDouble(java.lang.String v)
Builds a ProxyDeDouble that represents the given a string representing a double |
Method Summary | |
void |
addHTML(java.lang.StringBuffer baseString,
int i,
boolean form)
Adds the value of the real DeDouble to the HTML text given. |
int |
compareTo(DataElem o)
Scores the comparison between the real DeDouble and the given one. |
PersistenceBroker |
createBroker()
Creates a broker for the real DeDouble and remember it |
boolean |
exactMatch(DataElem de)
Compares the real DeDouble to another. |
java.util.Vector |
getIndexingFeatures(ProxyDocument source,
IndexingModalities im,
DataElem field)
Extract indexing features from the real DeDouble |
double |
getValue()
Returns the value of the real DeDouble |
java.lang.String |
getValueAsString()
Returns a string representation of the real DeDouble |
int |
hashCode()
Redefines the default object.hashCode(). |
void |
HTML_ShowDoc(java.lang.StringBuffer baseString)
Appends the value to the given string in order to create an HTML doc. |
float |
match(DataElem de)
Scores the match of the real DeDouble with another. |
void |
present()
Displays the real DeDouble (surrounded with spaces) |
void |
presentBrief()
Same as present(), but with no space. |
void |
setValue(double v)
Sets the value of the real DeDouble |
java.lang.String |
toString()
Returns a string representation of the real DeDouble |
Methods inherited from class gov.nist.nlpir.irf.de.ProxyDataElem |
equals |
Methods inherited from class java.lang.Object |
|
Constructor Detail |
public ProxyDeDouble()
public ProxyDeDouble(DeDouble v)
v
- the value that the DeDouble will represent.public ProxyDeDouble(double v)
v
- the value that the DeDouble will represent.public ProxyDeDouble(java.lang.String v)
v
- the value that the DeDouble will represent, represented as
a string.Method Detail |
public double getValue()
public final void setValue(double v)
v
- the new value the DeDouble represents.public final void present()
public void presentBrief()
public float match(DataElem de)
de
- the DeDouble this is compared with.public boolean exactMatch(DataElem de)
de
- the DeDouble this is compared with.public java.util.Vector getIndexingFeatures(ProxyDocument source, IndexingModalities im, DataElem field)
s
- source document of data element.im
- the controlling indexing modalitiesfield
- the document field from which the real data element camepublic java.lang.String getValueAsString()
public java.lang.String toString()
public int compareTo(DataElem o)
o
- the DeDouble to compare to.public int hashCode()
Hashtable
,
Object
public void addHTML(java.lang.StringBuffer baseString, int i, boolean form)
string
- the HTML text the value will be appended to.i
- unused.form
- unused.public void HTML_ShowDoc(java.lang.StringBuffer baseString)
baseString
- the string which the value is added to.public PersistenceBroker createBroker()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |