MCPcopy Create free account
hub / github.com/antlr/codebuff / fromInteger

Method fromInteger

output/java_guava/1.4.19/InetAddresses.java:928–930  ·  view source on GitHub ↗

Returns an Inet4Address having the integer value specified by the argument. @param address int, the 32bit integer address to be converted @return Inet4Address equivalent of the argument

(int address)

Source from the content-addressed store, hash-verified

926
927
928 public static Inet4Address fromInteger(int address) {
929 return getInet4Address(Ints.toByteArray(address));
930 }
931
932 /**
933 * Returns an address from a <b>little-endian ordered</b> byte array (the opposite of what

Callers

nothing calls this directly

Calls 2

getInet4AddressMethod · 0.95
toByteArrayMethod · 0.95

Tested by

no test coverage detected