Top Description Fields Constructors Methods
org.python.core

public final Class PyBool

extends Object
Class Inheritance
Imports
java.lang.invoke.MethodHandles

The Python bool object. The only instances of bool in Python are False and True, represented by Java Boolean.FALSE and Boolean.TRUE, and there are no sub-classes. (Rogue instances of Java Boolean will generally behave as False or True but may fail identity tests.)

Field Summary

Modifier and TypeField and Description
public static final PyType
TYPE

The type of Python object this class implements.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
pack-priv static Object
pack-priv static Object
pack-priv static Object
pack-priv static Object
pack-priv static Object
pack-priv static Object
pack-priv static Object
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

TYPEback to summary
public static final PyType TYPE

The type of Python object this class implements.

Constructor Detail

PyBoolback to summary
private PyBool()

Method Detail

__and__back to summary
pack-priv static Object __and__(Boolean v, Object w)
__or__back to summary
pack-priv static Object __or__(Boolean v, Object w)
__rand__back to summary
pack-priv static Object __rand__(Boolean w, Object v)
__repr__back to summary
pack-priv static Object __repr__(Boolean self)
__ror__back to summary
pack-priv static Object __ror__(Boolean w, Object v)
__rxor__back to summary
pack-priv static Object __rxor__(Boolean w, Object v)
__xor__back to summary
pack-priv static Object __xor__(Boolean v, Object w)