Lines Matching refs:getAddress
70 assertEquals(V4_ADDRESS, address.getAddress());
76 assertEquals(V6_ADDRESS, address.getAddress());
83 assertEquals(V6_ADDRESS, address.getAddress());
89 assertEquals(V4_ADDRESS, address.getAddress());
100 if (addrs.get(0).getAddress() instanceof Inet4Address) {
108 assertEquals(NetworkUtils.numericToInetAddress("127.0.0.1"), ipv4Loopback.getAddress());
111 assertEquals(NetworkUtils.numericToInetAddress("::1"), ipv6Loopback.getAddress());
272 byte[] ipv4Bytes = l1.getAddress().getAddress();
273 byte[] l2FirstIPv6Bytes = Arrays.copyOf(l2.getAddress().getAddress(), 4);
274 byte[] l3LastIPv6Bytes = Arrays.copyOfRange(l3.getAddress().getAddress(), 12, 16);