public String getValue ( final String field ) { FieldValue fieldValue = Iterables . find ( fieldValues , new Predicate < FieldValue > ( ) { @ Override public boolean apply ( FieldValue fv ) { return fv . getField ( ) . equals ( field ) ; } } , null ) ; return ( fieldValue != null ) ? fieldValue . getValue ( ) : null ; }
Return the value for the given field or null