Searched refs:Boolean (Results 1 - 25 of 1744) sorted by relevance

1234567891011>>

/openjdk9/langtools/test/tools/javac/importOnDemand/p2/
H A DBoolean.java3 public class Boolean { class
4 public static Boolean valueOf(boolean b) {
/openjdk9/jdk/test/java/lang/Boolean/
H A DParseBoolean.java27 * @summary test Boolean.parseBoolean
32 checkTrue(Boolean.parseBoolean("TRUE"));
33 checkTrue(Boolean.parseBoolean("true"));
34 checkTrue(Boolean.parseBoolean("TrUe"));
36 checkFalse(Boolean.parseBoolean("false"));
37 checkFalse(Boolean.parseBoolean("FALSE"));
38 checkFalse(Boolean.parseBoolean("FaLse"));
39 checkFalse(Boolean.parseBoolean(null));
40 checkFalse(Boolean.parseBoolean("garbage"));
41 checkFalse(Boolean
[all...]
H A DFactory.java27 * @summary Basic test for Boolean.valueOf(boolean b).
32 if (Boolean.valueOf(true) != Boolean.TRUE)
34 if (Boolean.valueOf(false) != Boolean.FALSE)
H A DGetBoolean.java27 * @summary test Boolean.getBoolean method with empty key
32 Boolean.getBoolean("");
33 Boolean.getBoolean(null);
/openjdk9/langtools/test/tools/javac/synthesize/src/
H A DBoolean.java26 public class Boolean class
28 public static Boolean valueOf(boolean v) {
29 return new Boolean(v);
32 public Boolean(boolean v) { method in class:Boolean
/openjdk9/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.options/src/org/graalvm/compiler/options/
H A DNestedBooleanOptionValue.java26 * A nested Boolean {@link OptionValue} that can be overridden by a {@link #masterOption master
35 public class NestedBooleanOptionValue extends OptionValue<Boolean> {
36 private final OptionValue<Boolean> masterOption;
37 private final Boolean initialValue;
39 public NestedBooleanOptionValue(OptionValue<Boolean> masterOption, Boolean initialValue) {
45 public OptionValue<Boolean> getMasterOption() {
50 public Boolean getValue() {
51 Boolean v = super.getValue();
/openjdk9/jdk/test/java/beans/PropertyEditor/
H A DTestBooleanClassJava.java27 * @summary Tests PropertyEditor for value of type Boolean
36 new TestEditor(Boolean.class).testJava(Boolean.valueOf(true));
H A DTestBooleanTypeJava.java36 new TestEditor(Boolean.TYPE).testJava(Boolean.valueOf(true));
H A DTestBooleanClassNull.java27 * @summary Tests PropertyEditor for null value of type Boolean
36 new TestEditor(Boolean.class).testJava(null);
H A DTestBooleanClass.java27 * @summary Tests PropertyEditor for value of type Boolean with security manager
37 new TestEditor(Boolean.class);
H A DTestBooleanType.java37 new TestEditor(Boolean.TYPE);
H A DTestBooleanTypeNull.java36 new TestEditor(Boolean.TYPE).testJava(null);
/openjdk9/jdk/test/javax/swing/JTable/6937798/
H A Dbug6937798.java81 {"Albania", "Tirane", "Albanian, Greek", "Lek", new Boolean(false)},
82 {"Andorra", "Andorra la Vella", "Catalan, French, Spanish", "French Franc, Spanish Peseta", new Boolean(false)},
83 {"Austria", "Vienna", "German, Slovenian, Croatian", "Schilling", new Boolean(false)},
84 {"Belarus", "Minsk", "Byelorussian, Russian", "Belarusian Rubel", new Boolean(false)},
85 {"Belgium", "Brussels", "French, Flemish, German", "Belgian Franc", new Boolean(true)},
86 {"Bosnia & Herzegovina", "Sarajevo", "Serbo-Croatian", "Dinar", new Boolean(false)},
87 {"Bulgaria", "Sofia", "Bulgarian, Turkish", "Lev", new Boolean(false)},
88 {"Croatia", "Zagreb", "Serbo-Croatian", "Croatian Kuna", new Boolean(false)},
89 {"Czech Republic", "Prague", "Czech, Slovak", "Koruna", new Boolean(false)},
90 {"Denmark", "Copenhagen", "Danish", "Krone", new Boolean(tru
[all...]
/openjdk9/langtools/test/tools/javac/flow/tests/
H A DTestCaseConditional.java8 Boolean o;
9 Boolean oo = ((o = Boolean.TRUE).booleanValue()) ?
10 o = Boolean.TRUE :
11 Boolean.FALSE;
13 o = Boolean.FALSE;
/openjdk9/jdk/src/java.base/share/classes/sun/security/action/
H A DGetBooleanAction.java50 implements java.security.PrivilegedAction<Boolean> {
67 * @return the <code>Boolean</code> value of the system property.
69 public Boolean run() {
70 return Boolean.getBoolean(theProp);
/openjdk9/jdk/test/com/sun/jdi/
H A DRepStepTarg.java29 Boolean get() { return new Boolean(true) ; }
33 Boolean o = new RepStepTarg().get();
/openjdk9/jdk/src/java.base/share/classes/java/net/
H A DStandardSocketOptions.java49 * <p> The value of this socket option is a {@code Boolean} that represents
64 public static final SocketOption<Boolean> SO_BROADCAST =
65 new StdSocketOption<Boolean>("SO_BROADCAST", Boolean.class);
70 * <p> The value of this socket option is a {@code Boolean} that represents
84 public static final SocketOption<Boolean> SO_KEEPALIVE =
85 new StdSocketOption<Boolean>("SO_KEEPALIVE", Boolean.class);
161 * <p> The value of this socket option is a {@code Boolean} that represents
186 public static final SocketOption<Boolean> SO_REUSEADD
[all...]
/openjdk9/jdk/src/java.management/share/classes/javax/management/relation/
H A DRelationSupportMBean.java55 * @return a Boolean equal to {@link Boolean#TRUE} if the object
57 * Boolean#FALSE} otherwise.
59 public Boolean isInRelationService();
74 public void setRelationServiceManagementFlag(Boolean flag)
/openjdk9/jdk/src/java.base/share/classes/sun/nio/ch/
H A DExtendedSocketOption.java38 static final SocketOption<Boolean> SO_OOBINLINE =
39 new SocketOption<Boolean>() {
41 public Class<Boolean> type() { return Boolean.class; }
/openjdk9/jdk/src/java.desktop/share/classes/com/sun/beans/decoder/
H A DBooleanElementHandler.java30 * The class {@link Boolean} is used as wrapper for these values.
36 * &lt;method name="valueOf" class="java.lang.Boolean"&gt;
39 * which is equivalent to {@code Boolean.valueOf("true")} in Java code.
61 if (Boolean.TRUE.toString().equalsIgnoreCase(argument)) {
62 return Boolean.TRUE;
64 if (Boolean.FALSE.toString().equalsIgnoreCase(argument)) {
65 return Boolean.FALSE;
/openjdk9/jdk/test/java/beans/XMLEncoder/
H A DTest8016545.java39 bean.setUndefined(Boolean.FALSE);
41 info.setEnabled(Boolean.TRUE);
50 bean.setUndefined(Boolean.TRUE);
51 bean.getInfo().setEnabled(Boolean.FALSE);
58 private Boolean defined = Boolean.TRUE;
59 private Boolean undefined;
69 public Boolean getDefined() {
73 public void setDefined(Boolean defined) {
77 public Boolean getUndefine
[all...]
/openjdk9/jaxws/src/jdk.xml.bind/share/classes/com/sun/xml/internal/xsom/util/
H A DXSFinder.java50 * {@link Boolean} to find something from schema objects.
53 * This implementation returns <code>Boolean.FALSE</code> from
60 public class XSFinder implements XSFunction<Boolean> {
72 public Boolean annotation(XSAnnotation ann) {
73 return Boolean.FALSE;
79 public Boolean attGroupDecl(XSAttGroupDecl decl) {
80 return Boolean.FALSE;
86 public Boolean attributeDecl(XSAttributeDecl decl) {
87 return Boolean.FALSE;
93 public Boolean attributeUs
[all...]
/openjdk9/jdk/src/java.base/share/classes/java/lang/
H A DBoolean.java31 * The Boolean class wraps a value of the primitive type
33 * {@code Boolean} contains a single field whose type is
45 public final class Boolean implements java.io.Serializable, class in inherits:java.io.Serializable,Comparable
46 Comparable<Boolean>
49 * The {@code Boolean} object corresponding to the primitive
52 public static final Boolean TRUE = new Boolean(true);
55 * The {@code Boolean} object corresponding to the primitive
58 public static final Boolean FALSE = new Boolean(fals
92 public Boolean(boolean value) { method in class:Boolean
112 public Boolean(String s) { method in class:Boolean
[all...]
/openjdk9/langtools/test/tools/javac/generics/inference/6638712/
H A DT6638712e.java16 Foo<Object, String> test(Foo<Boolean, String> foo1, Foo<Boolean, Boolean> foo2) {
/openjdk9/jdk/src/demo/share/jfc/TableExample/
H A DTableExample3.java76 { "Mark", "Andrews", "Red", new Integer(2), Boolean.TRUE },
77 { "Tom", "Ball", "Blue", new Integer(99), Boolean.FALSE },
78 { "Alan", "Chung", "Green", new Integer(838), Boolean.FALSE },
79 { "Jeff", "Dinkins", "Turquois", new Integer(8), Boolean.TRUE },
80 { "Amy", "Fowler", "Yellow", new Integer(3), Boolean.FALSE },
81 { "Brian", "Gerhold", "Green", new Integer(0), Boolean.FALSE },
82 { "James", "Gosling", "Pink", new Integer(21), Boolean.FALSE },
83 { "David", "Karlton", "Red", new Integer(1), Boolean.FALSE },
84 { "Dave", "Kloba", "Yellow", new Integer(14), Boolean.FALSE },
85 { "Peter", "Korn", "Purple", new Integer(12), Boolean
[all...]

Completed in 123 milliseconds

1234567891011>>