|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vividsolutions.jcs.conflate.polygonmatch.Matches
A FeatureCollection that stores the "score" of each Feature. The score is a number between 0.0 and 1.0 that indicates the confidence of a match.
| Constructor Summary | |
Matches(com.vividsolutions.jump.feature.FeatureSchema schema)
Creates a Matches object. |
|
Matches(com.vividsolutions.jump.feature.FeatureSchema schema,
java.util.List features)
Creates a Matches object, initialized with the given Feature's. |
|
| Method Summary | |
void |
add(com.vividsolutions.jump.feature.Feature feature)
This method is not supported, because added features need to be associated with a score. |
void |
add(com.vividsolutions.jump.feature.Feature feature,
double score)
Adds a match. |
void |
add(int index,
com.vividsolutions.jump.feature.Feature feature)
This method is not supported, because added features need to be associated with a score. |
void |
addAll(java.util.Collection features)
This method is not supported, because added features need to be associated with a score. |
void |
clear()
This method is not supported, because Matches should not normally need to have matches removed. |
protected java.lang.Object |
clone()
|
com.vividsolutions.jts.geom.Envelope |
getEnvelope()
|
com.vividsolutions.jump.feature.Feature |
getFeature(int index)
|
java.util.List |
getFeatures()
|
com.vividsolutions.jump.feature.FeatureSchema |
getFeatureSchema()
|
double |
getScore(int i)
Returns the score of the ith feature |
com.vividsolutions.jump.feature.Feature |
getTopMatch()
|
double |
getTopScore()
|
boolean |
isEmpty()
|
java.util.Iterator |
iterator()
|
java.util.List |
query(com.vividsolutions.jts.geom.Envelope envelope)
|
java.util.Collection |
remove(com.vividsolutions.jts.geom.Envelope envelope)
This method is not supported, because Matches should not normally need to have matches removed. |
void |
remove(com.vividsolutions.jump.feature.Feature feature)
This method is not supported, because Matches should not normally need to have matches removed. |
void |
removeAll(java.util.Collection features)
This method is not supported, because Matches should not normally need to have matches removed. |
int |
size()
|
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Matches(com.vividsolutions.jump.feature.FeatureSchema schema)
schema - metadata applicable to the features that will be stored in
this Matches object
public Matches(com.vividsolutions.jump.feature.FeatureSchema schema,
java.util.List features)
schema - metadata applicable to the features that will be stored in
this Matches objectfeatures - added to the Matches, each with the max score (1.0)| Method Detail |
protected java.lang.Object clone()
public void add(com.vividsolutions.jump.feature.Feature feature)
add in interface com.vividsolutions.jump.feature.FeatureCollectionfeature - a feature to add as a matchadd(Feature, double)public void addAll(java.util.Collection features)
addAll in interface com.vividsolutions.jump.feature.FeatureCollection
public void add(int index,
com.vividsolutions.jump.feature.Feature feature)
feature - a feature to add as a matchadd(Feature, double)public java.util.Collection remove(com.vividsolutions.jts.geom.Envelope envelope)
remove in interface com.vividsolutions.jump.feature.FeatureCollectionpublic void clear()
clear in interface com.vividsolutions.jump.feature.FeatureCollectionpublic void removeAll(java.util.Collection features)
removeAll in interface com.vividsolutions.jump.feature.FeatureCollectionpublic void remove(com.vividsolutions.jump.feature.Feature feature)
remove in interface com.vividsolutions.jump.feature.FeatureCollectionfeature - a feature to remove
public void add(com.vividsolutions.jump.feature.Feature feature,
double score)
feature - a feature to add as a matchscore - the confidence of the match, ranging from 0 to 1public double getTopScore()
public com.vividsolutions.jump.feature.Feature getTopMatch()
public double getScore(int i)
i - 0, 1, 2, ...
public com.vividsolutions.jump.feature.FeatureSchema getFeatureSchema()
getFeatureSchema in interface com.vividsolutions.jump.feature.FeatureCollectionpublic com.vividsolutions.jts.geom.Envelope getEnvelope()
getEnvelope in interface com.vividsolutions.jump.feature.FeatureCollectionpublic int size()
size in interface com.vividsolutions.jump.feature.FeatureCollectionpublic boolean isEmpty()
isEmpty in interface com.vividsolutions.jump.feature.FeatureCollectionpublic com.vividsolutions.jump.feature.Feature getFeature(int index)
public java.util.List getFeatures()
getFeatures in interface com.vividsolutions.jump.feature.FeatureCollectionpublic java.util.Iterator iterator()
iterator in interface com.vividsolutions.jump.feature.FeatureCollectionpublic java.util.List query(com.vividsolutions.jts.geom.Envelope envelope)
query in interface com.vividsolutions.jump.feature.FeatureCollection
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||