compare


Description:

public int compare (SecurityContext ctx2)

Compare two SecurityContext items in a similar way to strcmp.

Parameters:

this

first item to compare.

ctx2

second item to compare.

Returns:

negative if ctx1 < ctx2, 0 if ctx1 == ctx2 and positive if ctx1 > ctx2.