ch.ethz.mxquery.datamodel
Class MXQueryBinary
java.lang.Object
ch.ethz.mxquery.datamodel.MXQueryBinary
public class MXQueryBinary
- extends java.lang.Object
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
UNDEFINED
public static final int UNDEFINED
- See Also:
- Constant Field Values
MXQueryBinary
public MXQueryBinary(byte[] value,
int type)
MXQueryBinary
public MXQueryBinary(java.lang.String value,
int type)
throws MXQueryException
- Throws:
MXQueryException
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
equals
public boolean equals(MXQueryBinary b)
- Compares two Binary values of the same type
- Parameters:
b
- - Binary value to compare with
- Returns:
- true if the values are equal
compareTo
public int compareTo(MXQueryBinary arg)
throws MXQueryException
- Compares too Binary values of the same type
- Parameters:
arg
- - Binary value to compare with
- Returns:
- 0 if the argument Binary is equal to this Binary
ONLY FOR EQ/NEQ COMPARISON
- Throws:
MXQueryException
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getType
public int getType()
setType
public void setType(int t)
getValue
public byte[] getValue()
MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich