public Version find ( String versionToFind ) { for ( Version version : list ) { if ( version . version . equals ( versionToFind ) ) { return version ; } } return null ; }
find returns the version object with the version passed as argument