/** * Checks if the result contains (ignoring case) the given key. * * @param key the property name to look for * @return true if the result contains this property name */ public boolean containsKey(Object key) { return lookupKeyIgnoringCase(key) != null; }
public Object remove(Object rawKey) { return result.remove(lookupKeyIgnoringCase(rawKey)); }
/** * Retrieve the value of the property by its (case-insensitive) name. * * @param property is the name of the property to look at * @return the value of the property */ public Object getProperty(String property) { try { Object key = lookupKeyIgnoringCase(property); if (key != null) { return result.get(key); } throw new MissingPropertyException(property, GroovyRowResult.class); } catch (Exception e) { throw new MissingPropertyException(property, GroovyRowResult.class, e); } }
/** * Checks if the result contains (ignoring case) the given key. * * @param key the property name to look for * @return true if the result contains this property name */ public boolean containsKey(Object key) { return lookupKeyIgnoringCase(key) != null; }
public boolean containsKey(Object key) { return lookupKeyIgnoringCase(key) != null; }
public Object remove(Object rawKey) { return result.remove(lookupKeyIgnoringCase(rawKey)); }
public Object remove(Object rawKey) { return result.remove(lookupKeyIgnoringCase(rawKey)); }
/** * Retrieve the value of the property by its (case-insensitive) name. * * @param property is the name of the property to look at * @return the value of the property */ public Object getProperty(String property) { try { Object key = lookupKeyIgnoringCase(property); if (key != null) { return result.get(key); } throw new MissingPropertyException(property, GroovyRowResult.class); } catch (Exception e) { throw new MissingPropertyException(property, GroovyRowResult.class, e); } }
/** * Retrieve the value of the property by its name * * @param property is the name of the property to look at * @return the value of the property */ public Object getProperty(String property) { try { Object key = lookupKeyIgnoringCase(property); if (key != null) { return result.get(key); } throw new MissingPropertyException(property, GroovyRowResult.class); } catch (Exception e) { throw new MissingPropertyException(property, GroovyRowResult.class, e); } }