public FileAnnotation getLink ( final long linkHashCode ) { for ( FileAnnotation link : links ) { if ( link . getKey ( ) == linkHashCode ) { return link ; } } throw new NoSuchElementException ( "Linked annotation not found: key=" + linkHashCode ) ; }
Returns the link with the specified hash code .