|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gcube.dir.master.queries.QueryTerm
org.gcube.dir.master.queries.DefaultQueryTerm
public class DefaultQueryTerm
A weighted Query
term.
Constructor Summary | |
---|---|
DefaultQueryTerm(java.lang.String name,
float weight)
Creates an instance with a given name and weight. |
Method Summary | |
---|---|
float |
getWeight()
Returns the weight of the term. |
void |
setWeight(float weight)
Sets the weight of the term. |
Methods inherited from class org.gcube.dir.master.queries.QueryTerm |
---|
getName, setName |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultQueryTerm(java.lang.String name, float weight)
name
- the name.weight
- the weight.Method Detail |
---|
public float getWeight()
public void setWeight(float weight)
weight
- the weight.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |