Java Boolean Value From convertBoolean(Boolean convertedValue, boolean defaultValue)

Here you can find the source of convertBoolean(Boolean convertedValue, boolean defaultValue)

Description

convert Boolean

License

Open Source License

Declaration

private static boolean convertBoolean(Boolean convertedValue,
            boolean defaultValue) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    private static boolean convertBoolean(Boolean convertedValue,
            boolean defaultValue) {
        return (convertedValue != null) ? convertedValue : defaultValue;
    }//from ww w. j  av  a2  s . co m
}

Related

  1. booleanValue(String tfString)
  2. booleanValue(String tfString)
  3. booleanValueOf(boolean b)
  4. booleanValueOf(Object obj)
  5. booleanValueWithYN(String string)
  6. convertBoolean(final String value)
  7. convertBoolean(Object o)
  8. convertBoolean(String str)
  9. convertBoolean(String str, boolean defaults)