public abstract class LLRPNumberType extends LLRPType
Modifier and Type | Field and Description |
---|---|
protected boolean |
signed |
Constructor and Description |
---|
LLRPNumberType() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object other)
compare two numbers.
|
int |
hashCode() |
abstract boolean |
inRange(long value) |
abstract int |
intValue() |
abstract java.lang.Integer |
toInteger()
LLRPNumberType is super type of all types representing a number.
|
java.lang.String |
toString()
String representation
|
decodeBinary, decodeXML, encodeBinary, encodeXML, inRange, toString, toXMLString
public abstract java.lang.Integer toInteger()
public abstract int intValue()
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
other
- to comparepublic int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
LLRPType
public abstract boolean inRange(long value)
Copyright © 2007 ETH Zurich.