returns the first interface from the list of discovered interfaces that has an address . if no such interface can be found or if no interfaces were discovered , null is returned . concode_field_sep Map<String,InterfaceAssociation> mainAddress concode_elem_sep NetworkInterface iface concode_elem_sep Logger LOGGER concode_elem_sep Map<String,Set<InetAddress>> addressMap concode_elem_sep String parentName concode_elem_sep List<InterfaceAssociation> interfaces concode_elem_sep List<String> skipNetworkInterfaces concode_elem_sep InetAddress addr concode_elem_sep NetworkConfiguration config concode_field_sep String getParentName concode_elem_sep NetworkInterface getIface concode_elem_sep NetworkInterface getNetworkInterfaceByServerName concode_elem_sep Set<InetAddress> getAllAvailableAddresses concode_elem_sep InterfaceAssociation getDefaultNetworkInterfaceAddress concode_elem_sep InterfaceAssociation getAddressForNetworkInterfaceName concode_elem_sep List<String> getKeys concode_elem_sep Set<InetAddress> addAvailableAddresses concode_elem_sep String getDisplayName concode_elem_sep void forgetConfiguration concode_elem_sep String getShortName concode_elem_sep void checkNetworkInterface concode_elem_sep void checkNetworkInterface concode_elem_sep boolean skipNetworkInterface concode_elem_sep InetAddress getAddr concode_elem_sep String toString concode_elem_sep boolean isRelevantAddress concode_elem_sep NetworkConfiguration getInstance concode_elem_sep List<String> getDisplayNames
InterfaceAssociation function ( ) { for ( InterfaceAssociation loc0 : interfaces ) { if ( loc0 . getAddr ( ) != null ) { return loc0 ; } } return null ; }