Java Boolean From toBool(String bStr)

Here you can find the source of toBool(String bStr)

Description

to Bool

License

Open Source License

Declaration

public static boolean toBool(String bStr) 

Method Source Code

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

public class Main {
    public static boolean toBool(String bStr) {
        if (bStr != null) {
            return Boolean.parseBoolean(bStr);
        }/*from   ww w . j a  v  a2s  .co m*/
        return false;
    }
}

Related

  1. toBool(Boolean obj)
  2. toBool(int[] data, int index)
  3. toBool(long l)
  4. toBool(String bv)
  5. toBool(String str)
  6. toBool(String str)
  7. toBool(String v, boolean def)