public class XmlEncoderKey extends Object implements EncoderKey
Modifier and Type | Field and Description |
---|---|
private String |
namespace |
private Class<?> |
type |
Constructor and Description |
---|
XmlEncoderKey(String namespace,
Class<?> type) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getNamespace() |
int |
getSimilarity(EncoderKey key)
x = 0 ⇔ equal
x < 0 ⇔ not similar
x > 0 ⇔ similar
y > 0 & x > y ⇔ x more similar than y
|
Class<?> |
getType() |
int |
hashCode() |
String |
toString() |
public String getNamespace()
public Class<?> getType()
public String toString()
toString
in interface CodingKey<EncoderKey>
toString
in class Object
public boolean equals(Object obj)
equals
in interface CodingKey<EncoderKey>
equals
in class Object
public int hashCode()
hashCode
in interface CodingKey<EncoderKey>
hashCode
in class Object
public int getSimilarity(EncoderKey key)
Similar
x = 0 ⇔ equal x < 0 ⇔ not similar x > 0 ⇔ similar y > 0 & x > y ⇔ x more similar than y
getSimilarity
in interface CodingKey<EncoderKey>
getSimilarity
in interface Similar<EncoderKey>
Copyright © 2012-2015 52north.org. All Rights Reserved.