/** * Remove the property under the given key as a float. * * @throws NumberFormatException on parse error */ public float removeFloatProperty(String key) { String val = removeProperty(key); return (val == null) ? 0F : Float.parseFloat(val); }
/** * Remove the property under the given key as a float. * * @throws NumberFormatException on parse error */ public float removeFloatProperty(String key) { String val = removeProperty(key); return (val == null) ? 0F : Float.parseFloat(val); }
/** * Remove the property under the given key as a float. * * @throws NumberFormatException on parse error */ public float removeFloatProperty(String key) { String val = removeProperty(key); return (val == null) ? 0F : Float.parseFloat(val); }
/** * Remove the property under the given key as a int. * * @throws NumberFormatException on parse error */ public int removeIntProperty(String key) { String val = removeProperty(key); return (val == null) ? 0 : Integer.parseInt(val); }
/** * Remove the property under the given key as a int. * * @throws NumberFormatException on parse error */ public int removeIntProperty(String key) { String val = removeProperty(key); return (val == null) ? 0 : Integer.parseInt(val); }
/** * Remove the property under the given key as a int. * * @throws NumberFormatException on parse error */ public int removeIntProperty(String key) { String val = removeProperty(key); return (val == null) ? 0 : Integer.parseInt(val); }
/** * Remove the property under the given key as a double. * * @throws NumberFormatException on parse error */ public double removeDoubleProperty(String key) { String val = removeProperty(key); return (val == null) ? 0D : Double.parseDouble(val); }
/** * Remove the property under the given key as a double. * * @throws NumberFormatException on parse error */ public double removeDoubleProperty(String key) { String val = removeProperty(key); return (val == null) ? 0D : Double.parseDouble(val); }
/** * Remove the property under the given key as a double. * * @throws NumberFormatException on parse error */ public double removeDoubleProperty(String key) { String val = removeProperty(key); return (val == null) ? 0D : Double.parseDouble(val); }
/** * Remove the property under the given key as a long. * * @throws NumberFormatException on parse error */ public long removeLongProperty(String key) { String val = removeProperty(key); return (val == null) ? 0L : Long.parseLong(val); }
/** * Remove the property under the given key as a long. * * @throws NumberFormatException on parse error */ public long removeLongProperty(String key) { String val = removeProperty(key); return (val == null) ? 0L : Long.parseLong(val); }
/** * Remove the property under the given key as a double. * * @throws NumberFormatException on parse error */ public double removeDoubleProperty(String key) { String val = removeProperty(key); return (val == null) ? 0D : Double.parseDouble(val); }
/** * Remove the property under the given key as a long. * * @throws NumberFormatException on parse error */ public long removeLongProperty(String key) { String val = removeProperty(key); return (val == null) ? 0L : Long.parseLong(val); }
/** * Remove the property under the given key as a float. * * @throws NumberFormatException on parse error */ public float removeFloatProperty(String key) { String val = removeProperty(key); return (val == null) ? 0F : Float.parseFloat(val); }
/** * Remove the property under the given key as a long. * * @throws NumberFormatException on parse error */ public long removeLongProperty(String key) { String val = removeProperty(key); return (val == null) ? 0L : Long.parseLong(val); }
/** * Remove the property under the given key as a boolean. */ public boolean removeBooleanProperty(String key) { String val = removeProperty(key); return "t".equalsIgnoreCase(val) || "true".equalsIgnoreCase(val); }
/** * Remove the property under the given key as a boolean. */ public boolean removeBooleanProperty(String key) { String val = removeProperty(key); return "t".equalsIgnoreCase(val) || "true".equalsIgnoreCase(val); }
/** * Remove the given property, or return the given default if it does * not exist. */ public String removeProperty(String key, String def) { if (!containsKey(key)) return def; return removeProperty(key); }
/** * Remove the given property, or return the given default if it does * not exist. */ public String removeProperty(String key, String def) { if (!containsKey(key)) return def; return removeProperty(key); }
/** * Remove the given property, or return the given default if it does * not exist. */ public String removeProperty(String key, String def) { if (!containsKey(key)) return def; return removeProperty(key); }