Java Boolean From toBoolean(final Object valueRep)

Here you can find the source of toBoolean(final Object valueRep)

Description

to Boolean

License

Open Source License

Declaration

public static Boolean toBoolean(final Object valueRep) 

Method Source Code

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

public class Main {
    public static Boolean toBoolean(final Object valueRep) {
        return Boolean.parseBoolean(String.valueOf(valueRep));
    }/*  w w  w  .j a v a2 s  . c  o m*/
}

Related

  1. toBoolean(final Boolean bool)
  2. toBoolean(final byte[] b)
  3. toBoolean(final Object obj, final boolean defaultValue)
  4. toBoolean(final Object value)
  5. toBoolean(final Object value, final boolean defaultValue)
  6. toBoolean(final String booleanString, final boolean defaultValue)
  7. toBoolean(final String s)
  8. toBoolean(final String s)
  9. toBoolean(final String source)