compare


Description:

public int compare (AutocryptHeader ah2)

Compare two Autocrypt Headers.

This is useful for comparison, as well as for sorting headers by:

  • address
  • effective_date
  • keydata
  • prefer_encrypt

Parameters:

this

a AutocryptHeader object

ah2

a AutocryptHeader object

Returns:

-1, 0, or 1 when this is less than, equal to, or greater than ah2.




2022 vala-language.org