Data Request Broker
2-3-release

fr.gael.drb.value
Interface Logic

All Superinterfaces:
Comparison
All Known Subinterfaces:
Numeric
All Known Implementing Classes:
BinaryInteger, Boolean, Byte, Decimal, Double, Float, Int, Integer, Long, Short, UnsignedByte, UnsignedInt, UnsignedLong, UnsignedShort

public interface Logic
extends Comparison

Generic logical operator.


Method Summary
 boolean and(Value x)
          Compute a logical AND.
 boolean booleanValue()
          Convert into a boolean value.
 boolean or(Value x)
          Compute a logical OR.
 
Methods inherited from interface fr.gael.drb.value.Comparison
compareTo
 

Method Detail

and

boolean and(Value x)
Compute a logical AND.

Parameters:
x - another value.
Returns:
logical AND of the two values.

or

boolean or(Value x)
Compute a logical OR.

Parameters:
x - another value.
Returns:
logical OR of the two values.

booleanValue

boolean booleanValue()
Convert into a boolean value.

Returns:
the equivalent boolean value.

Data Request Broker - DRB API®
2-3-release

Copyright© 2001-2009 GAEL Consultant. All rights reserved. Use is subject to license terms .