Uses of Class
java.lang.Boolean
Packages that use 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
Fields in com.sun.nio.sctp with type parameters of type BooleanModifier and TypeFieldDescriptionstatic SctpSocketOption<Boolean>
SctpStandardSocketOptions.SCTP_DISABLE_FRAGMENTS
Enables or disables message fragmentation.static SctpSocketOption<Boolean>
SctpStandardSocketOptions.SCTP_EXPLICIT_COMPLETE
Enables or disables explicit message completion.static SctpSocketOption<Boolean>
SctpStandardSocketOptions.SCTP_NODELAY
Enables or disables a Nagle-like algorithm. -
Uses of Boolean in java.awt.font
Fields in java.awt.font declared as BooleanModifier and TypeFieldDescriptionstatic Boolean
TextAttribute.RUN_DIRECTION_LTR
Left-to-right run direction.static Boolean
TextAttribute.RUN_DIRECTION_RTL
Right-to-left run direction.static Boolean
TextAttribute.STRIKETHROUGH_ON
A single strikethrough.static Boolean
TextAttribute.SWAP_COLORS_ON
Swap foreground and background. -
Uses of Boolean in java.lang
Modifier and TypeFieldDescriptionstatic Boolean
Boolean.FALSE
TheBoolean
object corresponding to the primitive valuefalse
.static 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
Fields in java.lang.constant with type parameters of type BooleanModifier and TypeFieldDescriptionstatic DynamicConstantDesc<Boolean>
ConstantDescs.FALSE
Nominal descriptor representing the constant FALSEstatic DynamicConstantDesc<Boolean>
ConstantDescs.TRUE
Nominal descriptor representing the constant TRUE -
Uses of Boolean in java.net
Modifier and TypeFieldDescriptionstatic SocketOption<Boolean>
StandardSocketOptions.IP_MULTICAST_LOOP
Loopback for Internet Protocol (IP) multicast datagrams.static SocketOption<Boolean>
StandardSocketOptions.SO_BROADCAST
Allow transmission of broadcast datagrams.static SocketOption<Boolean>
StandardSocketOptions.SO_KEEPALIVE
Keep connection alive.static SocketOption<Boolean>
StandardSocketOptions.SO_REUSEADDR
Re-use address.static SocketOption<Boolean>
StandardSocketOptions.SO_REUSEPORT
Re-use port.static SocketOption<Boolean>
StandardSocketOptions.TCP_NODELAY
Disable the Nagle algorithm. -
Uses of Boolean in java.time.format
Methods in java.time.format that return types with arguments of type BooleanModifier and TypeMethodDescriptionstatic 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> Set<E>
Collections.newSetFromMap(Map<E,Boolean> map)
Returns a set backed by the specified map. -
Uses of Boolean in java.util.concurrent
Methods in java.util.concurrent that return types with arguments of type BooleanModifier 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
Methods in java.util.stream that return types with arguments of type BooleanModifier 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
Methods in javax.management with parameters of type BooleanModifier 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
Methods in javax.management.loading with parameters of type BooleanModifier and TypeMethodDescriptionvoid
MLet.postRegister(Boolean registrationDone)
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
Methods in javax.management.modelmbean with parameters of type BooleanModifier 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
Methods in javax.management.monitor with parameters of type BooleanModifier 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
Fields in javax.management.openmbean with type parameters of type BooleanModifier and TypeFieldDescriptionstatic SimpleType<Boolean>
SimpleType.BOOLEAN
TheSimpleType
instance describing values whose Java class name isjava.lang.Boolean
. -
Uses of Boolean in javax.management.relation
Methods in javax.management.relation that return BooleanModifier 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.Methods in javax.management.relation with parameters of type BooleanModifier 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
Methods in javax.management.remote with parameters of type BooleanModifier and TypeMethodDescriptionvoid
JMXConnectorServer.postRegister(Boolean registrationDone)
-
Uses of Boolean in javax.management.timer
Methods in javax.management.timer that return BooleanModifier 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.Methods in javax.management.timer with parameters of type BooleanModifier 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
Methods in javax.swing with parameters of type BooleanModifier 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
Methods in javax.swing.filechooser that return BooleanModifier 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
Fields in javax.swing.plaf.basic with type parameters of type BooleanModifier and TypeFieldDescriptionBasicTreeUI.drawingCache
Used for minimizing the drawing of vertical lines.Methods in javax.swing.plaf.basic that return Boolean -
Uses of Boolean in javax.tools
Methods in javax.tools that return Boolean -
Uses of Boolean in jdk.net
Modifier and TypeFieldDescriptionstatic SocketOption<Boolean>
ExtendedSocketOptions.TCP_QUICKACK
Disable Delayed Acknowledgements.