public synchronized boolean contains ( EvidenceType type , Evidence e ) { if ( null != type ) { switch ( type ) { case VENDOR : return vendors . contains ( e ) ; case PRODUCT : return products . contains ( e ) ; case VERSION : return versions . contains ( e ) ; default : break ; } } return false ; }
Tests if the evidence collection contains the given evidence .