/** * Get filter array. * * @param key the key * @return the filter [ ] */ public Filter[] getFilterArray(String key) { return getValue(Filter[].class, key); }
/** * Gets short. * * @param key the key * @return the short */ public Short getShort(String key) { return getValue(Short.class, key); }
/** * Gets class. */ public Class getClass(String key) { return getValue(Class.class, key); }
/** * Gets double. * * @param key the key * @return the double */ public Double getDouble(String key) { return getValue(Double.class, key); }
/** * Gets long. * * @param key the key * @return the long */ public Long getLong(String key) { return getValue(Long.class, key); }
/** * Gets short. * * @param key the key * @return the short */ public Short getShort(String key) { return getValue(Short.class, key); }
/** * Get byte array. * * @param key the key * @return the byte [ ] */ public Byte[] getByteArray(String key) { return getValue(Byte[].class, key); }
/** * Gets pair. * * @param key the key * @param keyClass the key class * @param valueClass the value class * @return the pair */ public <K, V> Pair<K, V> getPair(String key, Class<K> keyClass, Class<V> valueClass) { return getValue(Pair.class, key); }
/** * Get byte array. * * @param key the key * @return the byte [ ] */ public Byte[] getByteArray(String key) { return getValue(Byte[].class, key); }
/** * Gets string. * * @param key the key * @return the string */ public String getString(String key) { return getValue(String.class, key); }
/** * Gets boolean. * * @param key the key * @return the boolean */ public Boolean getBoolean(String key) { return getValue(Boolean.class, key); }
/** * Gets float. * * @param key the key * @return the float */ public Float getFloat(String key) { return getValue(Float.class, key); }
/** * Gets class. */ public Class getClass(String key) { return getValue(Class.class, key); }
/** * Gets double. * * @param key the key * @return the double */ public Double getDouble(String key) { return getValue(Double.class, key); }
/** * Gets long. * * @param key the key * @return the long */ public Long getLong(String key) { return getValue(Long.class, key); }
/** * Gets string. * * @param key the key * @return the string */ public String getString(String key) { return getValue(String.class, key); }
/** * Gets boolean. * * @param key the key * @return the boolean */ public Boolean getBoolean(String key) { return getValue(Boolean.class, key); }
/** * Get filter array. * * @param key the key * @return the filter [ ] */ public Filter[] getFilterArray(String key) { return getValue(Filter[].class, key); }
/** * Gets pair. * * @param key the key * @param keyClass the key class * @param valueClass the value class * @return the pair */ public <K, V> Pair<K, V> getPair(String key, Class<K> keyClass, Class<V> valueClass) { return getValue(Pair.class, key); }
/** * Get string array. * * @param key the key * @return the string [ ] */ public String[] getStringArray(String key) { try { return getValue(String[].class, key); } catch (ClassCastException e) { return new String[] { getString(key) }; } }