src/main/java/com/ning/metrics/goodwill/access/GoodwillSchema.java
public GoodwillSchemaField getFieldByName(final String name)
    {
        for (final GoodwillSchemaField field : thriftItems.values()) {
            if (field.getName().equals(name)) {
                return field;
            }
        }

        return null;
    }
public GoodwillSchemaField getFieldByName(final String name)
    {
        for (final GoodwillSchemaField field : thriftItems.values()) {
            if (field.getName().equals(name)) {
                return field;
            }
        }

        return null;
    }
public GoodwillSchemaField getFieldByName ( final String name ) { for ( final GoodwillSchemaField field : thriftItems . values ( ) ) { if ( field . getName ( ) . equals ( name ) ) { return field ; } } return null ; }
Given a name, return the field matching the name.

@param name GoodwillSchemaField name
@return the GoodwillSchemaField object
Given a name return the field matching the name .