Uses of Class
java.lang.Boolean
Package
Description
A Java API for Stream Control Transport Protocol.
Provides classes and interface relating to fonts.
Provides classes that are fundamental to the design of the Java
programming language.
Classes and interfaces to represent nominal descriptors for run-time
entities such as classes or method handles, and classfile entities such as
constant pool entries or
invokedynamic
call sites.Provides the classes for implementing networking applications.
Provides classes to print and parse dates and times.
Contains the collections framework, some internationalization support classes,
a service loader, properties, random number generation, string parsing
and scanning classes, base64 encoding and decoding, a bit array, and
several miscellaneous utility classes.
Utility classes commonly useful in concurrent programming.
Classes to support functional-style operations on streams of elements, such
as map-reduce transformations on collections.
Provides the core classes for the Java Management Extensions.
Provides the classes which implement advanced dynamic
loading.
Provides the definition of the ModelMBean classes.
Provides the definition of the monitor classes.
Provides the open data types and Open MBean descriptor classes.
Provides the definition of the Relation Service.
Interfaces for remote access to
JMX MBean servers.
Provides the definition of the Timer MBean.
Provides a set of "lightweight" (all-Java language) components
that, to the maximum degree possible, work the same on all platforms.
Contains classes and interfaces used by the
JFileChooser
component.Provides user interface objects built according to the Basic look and feel.
Provides interfaces for tools which can be invoked from a program,
for example, compilers.
Platform specific socket options for the
java.net
and java.nio.channels
socket classes.-
Uses of Boolean in com.sun.nio.sctp
Modifier and TypeFieldDescriptionstatic final SctpSocketOption
<Boolean> SctpStandardSocketOptions.SCTP_DISABLE_FRAGMENTS
Enables or disables message fragmentation.static final SctpSocketOption
<Boolean> SctpStandardSocketOptions.SCTP_EXPLICIT_COMPLETE
Enables or disables explicit message completion.static final SctpSocketOption
<Boolean> SctpStandardSocketOptions.SCTP_NODELAY
Enables or disables a Nagle-like algorithm. -
Uses of Boolean in java.awt.font
Modifier and TypeFieldDescriptionstatic final Boolean
TextAttribute.RUN_DIRECTION_LTR
Left-to-right run direction.static final Boolean
TextAttribute.RUN_DIRECTION_RTL
Right-to-left run direction.static final Boolean
TextAttribute.STRIKETHROUGH_ON
A single strikethrough.static final Boolean
TextAttribute.SWAP_COLORS_ON
Swap foreground and background. -
Uses of Boolean in java.lang
Modifier and TypeFieldDescriptionstatic final Boolean
Boolean.FALSE
TheBoolean
object corresponding to the primitive valuefalse
.static final Boolean
Boolean.TRUE
TheBoolean
object corresponding to the primitive valuetrue
.Modifier and TypeFieldDescriptionBoolean.TYPE
The Class object representing the primitive type boolean.Modifier and TypeMethodDescriptionstatic Boolean
Boolean.valueOf
(boolean b) Returns aBoolean
instance representing the specifiedboolean
value.static Boolean
Returns aBoolean
with a value represented by the specified string.Modifier and TypeMethodDescriptionBoolean.describeConstable()
Returns anOptional
containing the nominal descriptor for this instance. -
Uses of Boolean in java.lang.constant
Modifier and TypeFieldDescriptionstatic final DynamicConstantDesc
<Boolean> ConstantDescs.FALSE
Nominal descriptor representing the constant FALSEstatic final DynamicConstantDesc
<Boolean> ConstantDescs.TRUE
Nominal descriptor representing the constant TRUE -
Uses of Boolean in java.net
Modifier and TypeFieldDescriptionstatic final SocketOption
<Boolean> StandardSocketOptions.IP_MULTICAST_LOOP
Loopback for Internet Protocol (IP) multicast datagrams.static final SocketOption
<Boolean> StandardSocketOptions.SO_BROADCAST
Allow transmission of broadcast datagrams.static final SocketOption
<Boolean> StandardSocketOptions.SO_KEEPALIVE
Keep connection alive.static final SocketOption
<Boolean> StandardSocketOptions.SO_REUSEADDR
Re-use address.static final SocketOption
<Boolean> StandardSocketOptions.SO_REUSEPORT
Re-use port.static final SocketOption
<Boolean> StandardSocketOptions.TCP_NODELAY
Disable the Nagle algorithm. -
Uses of Boolean in java.time.format
Modifier and TypeMethodDescriptionstatic final TemporalQuery
<Boolean> DateTimeFormatter.parsedLeapSecond()
A query that provides access to whether a leap-second was parsed. -
Uses of Boolean in java.util
Modifier and TypeMethodDescriptionstatic <E> SequencedSet
<E> Collections.newSequencedSetFromMap
(SequencedMap<E, Boolean> map) Returns a sequenced set backed by the specified map.static <E> Set
<E> Collections.newSetFromMap
(Map<E, Boolean> map) Returns a set backed by the specified map. -
Uses of Boolean in java.util.concurrent
Modifier and TypeMethodDescriptionstatic <K> ConcurrentHashMap.KeySetView
<K, Boolean> ConcurrentHashMap.newKeySet()
Creates a newSet
backed by a ConcurrentHashMap from the given type toBoolean.TRUE
.static <K> ConcurrentHashMap.KeySetView
<K, Boolean> ConcurrentHashMap.newKeySet
(int initialCapacity) Creates a newSet
backed by a ConcurrentHashMap from the given type toBoolean.TRUE
. -
Uses of Boolean in java.util.stream
Modifier and TypeMethodDescriptionCollectors.partitioningBy
(Predicate<? super T> predicate) Returns aCollector
which partitions the input elements according to aPredicate
, and organizes them into aMap<Boolean, List<T>>
.Collectors.partitioningBy
(Predicate<? super T> predicate, Collector<? super T, A, D> downstream) Returns aCollector
which partitions the input elements according to aPredicate
, reduces the values in each partition according to anotherCollector
, and organizes them into aMap<Boolean, D>
whose values are the result of the downstream reduction. -
Uses of Boolean in javax.management
Modifier and TypeMethodDescriptionvoid
MBeanRegistration.postRegister
(Boolean registrationDone) Allows the MBean to perform any operations needed after having been registered in the MBean server or after the registration has failed.void
StandardMBean.postRegister
(Boolean registrationDone) Allows the MBean to perform any operations needed after having been registered in the MBean server or after the registration has failed. -
Uses of Boolean in javax.management.loading
Modifier and TypeMethodDescriptionvoid
MLet.postRegister
(Boolean registrationDone) Deprecated, for removal: This API element is subject to removal in a future version.Allows the m-let to perform any operations needed after having been registered in the MBean server or after the registration has failed. -
Uses of Boolean in javax.management.modelmbean
Modifier and TypeMethodDescriptionvoid
RequiredModelMBean.postRegister
(Boolean registrationDone) Allows the MBean to perform any operations needed after having been registered in the MBean server or after the registration has failed. -
Uses of Boolean in javax.management.monitor
Modifier and TypeMethodDescriptionvoid
Monitor.postRegister
(Boolean registrationDone) Allows the monitor MBean to perform any operations needed after having been registered in the MBean server or after the registration has failed. -
Uses of Boolean in javax.management.openmbean
Modifier and TypeFieldDescriptionstatic final SimpleType
<Boolean> SimpleType.BOOLEAN
TheSimpleType
instance describing values whose Java class name isjava.lang.Boolean
. -
Uses of Boolean in javax.management.relation
Modifier and TypeMethodDescriptionRelationService.hasRelation
(String relationId) Checks if there is a relation identified in Relation Service with given relation id.RelationServiceMBean.hasRelation
(String relationId) Checks if there is a relation identified in Relation Service with given relation id.RelationSupport.isInRelationService()
Returns an internal flag specifying if the object is still handled by the Relation Service.RelationSupportMBean.isInRelationService()
Returns an internal flag specifying if the object is still handled by the Relation Service.Modifier and TypeMethodDescriptionRelationService.checkRoleWriting
(Role role, String relationTypeName, Boolean initFlag) Checks if given Role can be set in a relation of given type.RelationServiceMBean.checkRoleWriting
(Role role, String relationTypeName, Boolean initFlag) Checks if given Role can be set in a relation of given type.void
RelationService.postRegister
(Boolean registrationDone) void
RelationSupport.postRegister
(Boolean registrationDone) void
RelationSupport.setRelationServiceManagementFlag
(Boolean flag) void
RelationSupportMBean.setRelationServiceManagementFlag
(Boolean flag) Specifies whether this relation is handled by the Relation Service. -
Uses of Boolean in javax.management.remote
-
Uses of Boolean in javax.management.timer
Modifier and TypeMethodDescriptionTimer.getFixedRate
(Integer id) Gets a copy of the flag indicating whether a periodic notification is executed at fixed-delay or at fixed-rate.TimerMBean.getFixedRate
(Integer id) Gets a copy of the flag indicating whether a periodic notification is executed at fixed-delay or at fixed-rate.Modifier and TypeMethodDescriptionvoid
Timer.postRegister
(Boolean registrationDone) Allows the timer MBean to perform any operations needed after having been registered in the MBean server or after the registration has failed. -
Uses of Boolean in javax.swing
Modifier and TypeMethodDescriptionvoid
GroupLayout.setHonorsVisibility
(Component component, Boolean honorsVisibility) Sets whether the component's visibility is considered for sizing and positioning.protected void
DefaultDesktopManager.setWasIcon
(JInternalFrame f, Boolean value) Sets that the component has been iconized and the bounds of thedesktopIcon
are valid. -
Uses of Boolean in javax.swing.filechooser
Modifier and TypeMethodDescriptionFileSystemView.isTraversable
(File f) Returns true if the file (directory) can be visited.FileView.isTraversable
(File f) Whether the directory is traversable or not. -
Uses of Boolean in javax.swing.plaf.basic
Modifier and TypeFieldDescriptionBasicTreeUI.drawingCache
Used for minimizing the drawing of vertical lines. -
Uses of Boolean in javax.tools
-
Uses of Boolean in jdk.net
Modifier and TypeFieldDescriptionstatic final SocketOption
<Boolean> ExtendedSocketOptions.IP_DONTFRAGMENT
Disable IP packet fragmentation.static final SocketOption
<Boolean> ExtendedSocketOptions.TCP_QUICKACK
Disable Delayed Acknowledgements.