|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjcolibri.method.retrieve.NNretrieval.similarity.local.EqualsStringIgnoreCase
public class EqualsStringIgnoreCase
This function returns 1 if both String are the same despite case letters, 0 in the other case
Constructor Summary | |
---|---|
EqualsStringIgnoreCase()
|
Method Summary | |
---|---|
double |
compute(java.lang.Object s,
java.lang.Object t)
Applies the similarity funciton. |
boolean |
isApplicable(java.lang.Object o1,
java.lang.Object o2)
Applicable to String |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EqualsStringIgnoreCase()
Method Detail |
---|
public double compute(java.lang.Object s, java.lang.Object t) throws NoApplicableSimilarityFunctionException
compute
in interface LocalSimilarityFunction
s
- Stringt
- String
NoApplicableSimilarityFunctionException
public boolean isApplicable(java.lang.Object o1, java.lang.Object o2)
isApplicable
in interface LocalSimilarityFunction
|
GAIA - Group for Artificial Intelligence Applications http://gaia.fdi.ucm.es |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |