List of usage examples for org.apache.commons.collections4 MapUtils getIntValue
public static <K> int getIntValue(final Map<? super K, ?> map, final K key, final int defaultValue)
From source file:com.crosstreelabs.jaxrs.api.versioned.fixtures.vo.UserV2.java
@Override public ValueObject consume(final Map data) { name = MapUtils.getString(data, "name"); username = MapUtils.getString(data, "username"); email = MapUtils.getString(data, "email"); age = MapUtils.getIntValue(data, "age", 0); return this; }