Java Boolean Value From booleanValue(String s)

Here you can find the source of booleanValue(String s)

Description

boolean Value

License

LGPL

Declaration

@Deprecated
    public static boolean booleanValue(String s) 

Method Source Code

//package com.java2s;
//License from project: LGPL 

public class Main {
    @Deprecated
    public static boolean booleanValue(String s) {
        boolean rv = false;
        if (s != null && s.equalsIgnoreCase("true"))
            rv = true;//from  w w  w  . java2  s .  co  m
        return rv;
    }
}

Related

  1. booleanValue(Object obj, boolean defaultValue)
  2. booleanValue(Object object)
  3. booleanValue(Object value)
  4. booleanValue(String s)
  5. booleanValue(String s)
  6. booleanValue(String s)
  7. booleanValue(String stringValue)
  8. booleanValue(String tfString)
  9. booleanValue(String tfString)