Data Request Broker
2-3-release

fr.gael.drb.value
Interface Comparison

All Known Subinterfaces:
Logic, Numeric, NumericArray
All Known Implementing Classes:
AbstractNumericArray, AbstractValueArray, BinaryInteger, Boolean, BooleanArray, Byte, ByteArray, DateTime, DayTimeDuration, Decimal, DefaultValueArray, Double, DoubleArray, Duration, Float, FloatArray, Int, IntArray, Integer, Long, LongArray, Short, ShortArray, String, UnsignedByte, UnsignedByteArray, UnsignedInt, UnsignedIntArray, UnsignedLong, UnsignedLongArray, UnsignedShort, UnsignedShortArray, YearMonthDuration

public interface Comparison

Generic comparison operator.


Method Summary
 int compareTo(Value v)
          Compare this value with another value.
 

Method Detail

compareTo

int compareTo(Value v)
Compare this value with another value.

Parameters:
v - another value.
Returns:
The returned value is :
  • negative if this value is lower than another value
  • zero if the two values are equal
  • positive if this value is greater than another value

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

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