com.j256.simplemagic.entries
Class NumberOperator

java.lang.Object
  extended by 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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)
Method Detail

isMatch

public boolean isMatch(Long andValue,
                       boolean unsignedType,
                       long extractedValue,
                       int offset,
                       byte[] bytes)


This content is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.