Returns the bigger token. @param token first token @param compare token to be compared @return bigger token
(final byte[] token, final byte[] compare)
| 793 | * @return bigger token |
| 794 | */ |
| 795 | public static byte[] max(final byte[] token, final byte[] compare) { |
| 796 | return compare(token, compare) > 0 ? token : compare; |
| 797 | } |
| 798 | |
| 799 | /** |
| 800 | * Checks if the first token contains the second token. |