interface XAnyCompare in module com::sun::star::ucb::

(Global Index)

Syntax

interface XAnyCompare : com::sun::star::uno::XInterface ;

Description

compares two any s.

Method Summary

compare allows comparision of two any s.

Method Details



compare

Syntax

short compare (
any Any1,
any Any2 );

Description

allows comparision of two any s.

Parameter Any1

is the first compare value

Parameter Any2

is the second compare value

Returns

  • -1 , if the first any is less than the second ( Any1 < Any2 )
  • 0 , if the first any is equal to the second ( Any1 == Any2 )
  • +1 , if the first any is greater than the second ( Any1 > Any2 )
Top of Page