MCPcopy Index your code
hub / github.com/antlr/codebuff / valueOf

Method valueOf

output/java_guava/1.4.17/UnsignedLong.java:90–94  ·  view source on GitHub ↗

Returns an UnsignedLong representing the same value as the specified long. @throws IllegalArgumentException if value is negative @since 14.0

(long value)

Source from the content-addressed store, hash-verified

88 */
89
90 @CanIgnoreReturnValue
91 public static UnsignedLong valueOf(long value) {
92 checkArgument(value >= 0, "value (%s) is outside the range for an unsigned long value", value);
93 return fromLongBits(value);
94 }
95
96 /**
97 * Returns a {@code UnsignedLong} representing the same value as the specified {@code BigInteger}.

Callers 15

UNICODEMethod · 0.45
strMethod · 0.45
UNICODEMethod · 0.45
strMethod · 0.45
UNICODEMethod · 0.45
strMethod · 0.45
UNICODEMethod · 0.45
strMethod · 0.45

Calls 5

fromLongBitsMethod · 0.95
parseUnsignedLongMethod · 0.95
checkArgumentMethod · 0.45
checkNotNullMethod · 0.45
longValueMethod · 0.45

Tested by

no test coverage detected