question: private Comparable < ? > castToComparable ( Object value ) { try { return ( Comparable < ? > ) value ; } catch ( ClassCastException e ) { throw new IllegalArgumentException ( "Contains operator requires a Comparable class type." , e ) ; } }
target:  Cast the provided object to Comparable. Relevant for ">", "<", "<=" & ">=" operators.