Lines Matching defs:def
266 * this invocation returns <tt>def</tt>.
269 * @param def the value to be returned in the event that this
271 * @return the value associated with <tt>key</tt>, or <tt>def</tt>
278 public String get(String key, String def) {
291 return (result==null ? def : result);
369 * value is returned by this method. Otherwise, <tt>def</tt> is returned.
372 * @param def the value to be returned in the event that this
376 * <tt>key</tt> in this preference node, or <tt>def</tt> if the
383 public int getInt(String key, int def) {
384 int result = def;
424 * value is returned by this method. Otherwise, <tt>def</tt> is returned.
427 * @param def the value to be returned in the event that this
431 * <tt>key</tt> in this preference node, or <tt>def</tt> if the
438 public long getLong(String key, long def) {
439 long result = def;
482 * <tt>false</tt>. Otherwise, this invocation returns <tt>def</tt>.
485 * @param def the value to be returned in the event that this
489 * <tt>key</tt> in this preference node, or <tt>def</tt> if the
496 public boolean getBoolean(String key, boolean def) {
497 boolean result = def;
537 * value is returned by this method. Otherwise, <tt>def</tt> is returned.
540 * @param def the value to be returned in the event that this
544 * <tt>key</tt> in this preference node, or <tt>def</tt> if the
551 public float getFloat(String key, float def) {
552 float result = def;
592 * value is returned by this method. Otherwise, <tt>def</tt> is returned.
595 * @param def the value to be returned in the event that this
599 * <tt>key</tt> in this preference node, or <tt>def</tt> if the
606 public double getDouble(String key, double def) {
607 double result = def;
640 * @param def the value to be returned in the event that this
644 * <tt>key</tt> in this preference node, or <tt>def</tt> if the
650 * <tt>null</tt> value for <tt>def</tt> <i>is</i> permitted.)
652 public byte[] getByteArray(String key, byte[] def) {
653 byte[] result = def;