equal
deleted
inserted
replaced
168 * method is called with the InetAddress for each InterfaceAddress. |
168 * method is called with the InetAddress for each InterfaceAddress. |
169 * Only InterfaceAddresses where the {@code checkConnect} doesn't throw |
169 * Only InterfaceAddresses where the {@code checkConnect} doesn't throw |
170 * a SecurityException will be returned in the List. |
170 * a SecurityException will be returned in the List. |
171 * |
171 * |
172 * @return a {@code List} object with all or a subset of the |
172 * @return a {@code List} object with all or a subset of the |
173 * InterfaceAddresss of this network interface |
173 * InterfaceAddress of this network interface |
174 * @since 1.6 |
174 * @since 1.6 |
175 */ |
175 */ |
176 public java.util.List<InterfaceAddress> getInterfaceAddresses() { |
176 public java.util.List<InterfaceAddress> getInterfaceAddresses() { |
177 java.util.List<InterfaceAddress> lst = new java.util.ArrayList<>(1); |
177 java.util.List<InterfaceAddress> lst = new java.util.ArrayList<>(1); |
178 if (bindings != null) { |
178 if (bindings != null) { |