MCPcopy Create free account
hub / github.com/BaseXdb/basex / max

Method max

basex-core/src/main/java/org/basex/util/Token.java:795–797  ·  view source on GitHub ↗

Returns the bigger token. @param token first token @param compare token to be compared @return bigger token

(final byte[] token, final byte[] compare)

Source from the content-addressed store, hash-verified

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.

Callers 15

mergeEbvMethod · 0.95
bestQfMethod · 0.45
createIdMethod · 0.45
resizeFunction · 0.45
heightFunction · 0.45
iterateBidiSectionsFunction · 0.45
clipLineFunction · 0.45
getLineStylesFunction · 0.45
coordsBidiPartWrappedFunction · 0.45
estimateHeightFunction · 0.45
posFromMouseFunction · 0.45
drawSelectionCursorFunction · 0.45

Calls 1

compareMethod · 0.95

Tested by 2

runMethod · 0.36