public class XmlNamespaceDecoderKey extends NamespaceDecoderKey
Constructor and Description |
---|
XmlNamespaceDecoderKey(String namespace,
Class<?> type) |
Modifier and Type | Method and Description |
---|---|
int |
getSimilarity(DecoderKey key)
x = 0 ⇔ equal
x < 0 ⇔ not similar
x > 0 ⇔ similar
y > 0 & x > y ⇔ x more similar than y
|
equals, getNamespace, getSimilarity, getType, hashCode, toString
public int getSimilarity(DecoderKey key)
Similar
x = 0 ⇔ equal x < 0 ⇔ not similar x > 0 ⇔ similar y > 0 & x > y ⇔ x more similar than y
Copyright © 2012-2015 52north.org. All Rights Reserved.