< prev index next >

src/java.base/share/classes/java/net/NetworkInterface.java

Print this page

        

*** 168,178 **** * method is called with the InetAddress for each InterfaceAddress. * Only InterfaceAddresses where the {@code checkConnect} doesn't throw * a SecurityException will be returned in the List. * * @return a {@code List} object with all or a subset of the ! * InterfaceAddresss of this network interface * @since 1.6 */ public java.util.List<InterfaceAddress> getInterfaceAddresses() { java.util.List<InterfaceAddress> lst = new java.util.ArrayList<>(1); if (bindings != null) { --- 168,178 ---- * method is called with the InetAddress for each InterfaceAddress. * Only InterfaceAddresses where the {@code checkConnect} doesn't throw * a SecurityException will be returned in the List. * * @return a {@code List} object with all or a subset of the ! * InterfaceAddress of this network interface * @since 1.6 */ public java.util.List<InterfaceAddress> getInterfaceAddresses() { java.util.List<InterfaceAddress> lst = new java.util.ArrayList<>(1); if (bindings != null) {
< prev index next >