com.j256.simplemagic.entries
Class NumberOperator
java.lang.Object
com.j256.simplemagic.entries.NumberOperator
public class NumberOperator
- extends Object
Internal class that provides information about a particular test.
Constructor Summary |
NumberOperator(com.j256.simplemagic.entries.NumberOperator.TestOperator operator,
long value)
|
NumberOperator(String test)
Preprocess the test string into an operator and a value class. |
Method Summary |
boolean |
isMatch(Long andValue,
boolean unsignedType,
long extractedValue,
int offset,
byte[] bytes)
|
String |
toString()
|
NumberOperator
public NumberOperator(String test)
- Preprocess the test string into an operator and a value class.
NumberOperator
public NumberOperator(com.j256.simplemagic.entries.NumberOperator.TestOperator operator,
long value)
isMatch
public boolean isMatch(Long andValue,
boolean unsignedType,
long extractedValue,
int offset,
byte[] bytes)
toString
public String toString()
- Overrides:
toString
in class Object
This content is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.