Index
All Classes and Interfaces|All Packages|Constant Field Values|External Specifications|Restricted Methods|Search Tags|Serialized Form|System Properties
N
- 1.0 Naming Convention for Implementations - Search tag in class javax.sql.rowset.spi.SyncProvider
- Section
- 2. Non-Heap Memory - Search tag in interface java.lang.management.MemoryMXBean
- Section
- N - Static variable in class javax.swing.text.html.HTML.Attribute
-
Attribute "n"
- N_RESIZE_CURSOR - Static variable in class java.awt.Cursor
-
The north-resize cursor type.
- N_RESIZE_CURSOR - Static variable in class java.awt.Frame
-
Deprecated.
- NA_10x13_ENVELOPE - Static variable in class javax.print.attribute.standard.MediaSize.NA
-
Specifies the North American 10 inch by 13 inch envelope size.
- NA_10X13_ENVELOPE - Static variable in class java.awt.PageAttributes.MediaType
-
The MediaType instance for North American 10 x 13 in.
- NA_10X13_ENVELOPE - Static variable in class javax.print.attribute.standard.MediaSizeName
-
10x13 North American envelope size.
- NA_10x14_ENVELOPE - Static variable in class javax.print.attribute.standard.MediaSize.NA
-
Specifies the North American 10 inch by 14 inch envelope size.
- NA_10X14_ENVELOPE - Static variable in class java.awt.PageAttributes.MediaType
-
The MediaType instance for North American 10 x 14 in.
- NA_10X14_ENVELOPE - Static variable in class javax.print.attribute.standard.MediaSizeName
-
10x14North American envelope size.
- NA_10X15_ENVELOPE - Static variable in class java.awt.PageAttributes.MediaType
-
The MediaType instance for North American 10 x 15 in.
- NA_10X15_ENVELOPE - Static variable in class javax.print.attribute.standard.MediaSize.NA
-
Specifies the North American 10 inch by 15 inch envelope size.
- NA_10X15_ENVELOPE - Static variable in class javax.print.attribute.standard.MediaSizeName
-
10x15 North American envelope size.
- NA_5X7 - Static variable in class javax.print.attribute.standard.MediaSize.NA
-
Specifies the North American 5 inch by 7 inch paper.
- NA_5X7 - Static variable in class javax.print.attribute.standard.MediaSizeName
-
5x7 North American paper.
- NA_6X9_ENVELOPE - Static variable in class java.awt.PageAttributes.MediaType
-
The MediaType instance for North American 6 x 9 in.
- NA_6X9_ENVELOPE - Static variable in class javax.print.attribute.standard.MediaSize.NA
-
Specifies the North American 6 inch by 9 inch envelope size.
- NA_6X9_ENVELOPE - Static variable in class javax.print.attribute.standard.MediaSizeName
-
6x9 North American envelope size.
- NA_7X9_ENVELOPE - Static variable in class java.awt.PageAttributes.MediaType
-
The MediaType instance for North American 7 x 9 in.
- NA_7X9_ENVELOPE - Static variable in class javax.print.attribute.standard.MediaSize.NA
-
Specifies the North American 7 inch by 9 inch envelope size.
- NA_7X9_ENVELOPE - Static variable in class javax.print.attribute.standard.MediaSizeName
-
7x9 North American envelope size.
- NA_8X10 - Static variable in class javax.print.attribute.standard.MediaSize.NA
-
Specifies the North American 8 inch by 10 inch paper.
- NA_8X10 - Static variable in class javax.print.attribute.standard.MediaSizeName
-
8x10 North American paper.
- NA_9x11_ENVELOPE - Static variable in class javax.print.attribute.standard.MediaSize.NA
-
Specifies the North American 9 inch by 11 inch envelope size.
- NA_9X11_ENVELOPE - Static variable in class java.awt.PageAttributes.MediaType
-
The MediaType instance for North American 9 x 11 in.
- NA_9X11_ENVELOPE - Static variable in class javax.print.attribute.standard.MediaSizeName
-
9x11 North American envelope size.
- NA_9x12_ENVELOPE - Static variable in class javax.print.attribute.standard.MediaSize.NA
-
Specifies the North American 9 inch by 12 inch envelope size.
- NA_9X12_ENVELOPE - Static variable in class java.awt.PageAttributes.MediaType
-
The MediaType instance for North American 9 x 12 in.
- NA_9X12_ENVELOPE - Static variable in class javax.print.attribute.standard.MediaSizeName
-
9x12 North American envelope size.
- NA_LEGAL - Static variable in class java.awt.PageAttributes.MediaType
-
The MediaType instance for North American Legal, 8 1/2 x 14 in.
- NA_LEGAL - Static variable in class javax.print.attribute.standard.MediaSizeName
-
legal size.
- NA_LETTER - Static variable in class java.awt.PageAttributes.MediaType
-
The MediaType instance for North American Letter, 8 1/2 x 11 in.
- NA_LETTER - Static variable in class javax.print.attribute.standard.MediaSizeName
-
letter size.
- NA_LETTER_TRANSPARENT - Static variable in class javax.print.attribute.standard.MediaName
-
letter transparency.
- NA_LETTER_WHITE - Static variable in class javax.print.attribute.standard.MediaName
-
white letter paper.
- NA_NUMBER_10_ENVELOPE - Static variable in class java.awt.PageAttributes.MediaType
-
The MediaType instance for North American #10 Business Envelope, 4 1/8 x 9 1/2 in.
- NA_NUMBER_10_ENVELOPE - Static variable in class javax.print.attribute.standard.MediaSize.NA
-
Specifies the North American Number 10 business envelope size, 4.125 inches by 9.5 inches.
- NA_NUMBER_10_ENVELOPE - Static variable in class javax.print.attribute.standard.MediaSizeName
-
number 10 envelope size.
- NA_NUMBER_11_ENVELOPE - Static variable in class java.awt.PageAttributes.MediaType
-
The MediaType instance for North American #11 Business Envelope, 4 1/2 x 10 3/8 in.
- NA_NUMBER_11_ENVELOPE - Static variable in class javax.print.attribute.standard.MediaSize.NA
-
Specifies the North American Number 11 business envelope size, 4.5 inches by 10.375 inches.
- NA_NUMBER_11_ENVELOPE - Static variable in class javax.print.attribute.standard.MediaSizeName
-
number 11 envelope size.
- NA_NUMBER_12_ENVELOPE - Static variable in class java.awt.PageAttributes.MediaType
-
The MediaType instance for North American #12 Business Envelope, 4 3/4 x 11 in.
- NA_NUMBER_12_ENVELOPE - Static variable in class javax.print.attribute.standard.MediaSize.NA
-
Specifies the North American Number 12 business envelope size, 4.75 inches by 11 inches.
- NA_NUMBER_12_ENVELOPE - Static variable in class javax.print.attribute.standard.MediaSizeName
-
number 12 envelope size.
- NA_NUMBER_14_ENVELOPE - Static variable in class java.awt.PageAttributes.MediaType
-
The MediaType instance for North American #14 Business Envelope, 5 x 11 1/2 in.
- NA_NUMBER_14_ENVELOPE - Static variable in class javax.print.attribute.standard.MediaSize.NA
-
Specifies the North American Number 14 business envelope size, 5 inches by 11.5 inches.
- NA_NUMBER_14_ENVELOPE - Static variable in class javax.print.attribute.standard.MediaSizeName
-
number 14 envelope size.
- NA_NUMBER_9_ENVELOPE - Static variable in class java.awt.PageAttributes.MediaType
-
The MediaType instance for North American #9 Business Envelope, 3 7/8 x 8 7/8 in.
- NA_NUMBER_9_ENVELOPE - Static variable in class javax.print.attribute.standard.MediaSize.NA
-
Specifies the North American Number 9 business envelope size, 3.875 inches by 8.875 inches.
- NA_NUMBER_9_ENVELOPE - Static variable in class javax.print.attribute.standard.MediaSizeName
-
number 9 envelope size.
- NABATAEAN - Enum constant in enum class java.lang.Character.UnicodeScript
-
Unicode script "Nabataean".
- NABATAEAN - Static variable in class java.lang.Character.UnicodeBlock
-
Constant for the "Nabataean" Unicode character block.
- NAG_MUNDARI - Enum constant in enum class java.lang.Character.UnicodeScript
-
Unicode script "Nag Mundari".
- NAG_MUNDARI - Static variable in class java.lang.Character.UnicodeBlock
-
Constant for the "Nag Mundari" Unicode character block.
- name - Variable in class java.awt.Cursor
-
The user-visible name of the cursor.
- name - Variable in class java.awt.Font
-
The logical name of this
Font
, as passed to the constructor. - name - Variable in class java.sql.DriverPropertyInfo
-
The name of the property.
- name - Variable in class javax.management.MBeanFeatureInfo
-
The name of the feature.
- name - Variable in class javax.swing.text.html.parser.AttributeList
-
The attribute name
- name - Variable in class javax.swing.text.html.parser.DTD
-
the name of the DTD
- name - Variable in class javax.swing.text.html.parser.Element
-
The name of the element
- name - Variable in class javax.swing.text.html.parser.Entity
-
The name of the entity.
- name() - Method in interface com.sun.jdi.connect.Connector.Argument
-
Returns a short, unique identifier for the argument.
- name() - Method in interface com.sun.jdi.connect.Connector
-
Returns a short identifier for the connector.
- name() - Method in class com.sun.jdi.connect.spi.TransportService
-
Returns a name to identify the transport service.
- name() - Method in interface com.sun.jdi.connect.Transport
-
Returns a short identifier for the transport.
- name() - Method in interface com.sun.jdi.LocalVariable
-
Gets the name of the local variable.
- name() - Method in interface com.sun.jdi.ModuleReference
-
Returns the module name.
- name() - Method in interface com.sun.jdi.ReferenceType
-
Returns the name of this
ReferenceType
object. - name() - Method in interface com.sun.jdi.ThreadGroupReference
-
Returns the name of this thread group.
- name() - Method in interface com.sun.jdi.ThreadReference
-
Returns the name of this thread.
- name() - Method in interface com.sun.jdi.Type
-
Returns the name of this type.
- name() - Method in interface com.sun.jdi.TypeComponent
-
Gets the name of this type component.
- name() - Method in interface com.sun.jdi.VirtualMachine
-
Returns the name of the target VM as reported by the property
java.vm.name
. - name() - Method in class com.sun.tools.attach.spi.AttachProvider
-
Return this provider's name.
- name() - Method in interface java.lang.classfile.AnnotationElement
-
Returns the element name.
- name() - Method in interface java.lang.classfile.attribute.LocalVariableInfo
-
Returns the name of the local variable.
- name() - Method in interface java.lang.classfile.attribute.LocalVariableTypeInfo
-
Returns the name of the local variable.
- name() - Method in interface java.lang.classfile.attribute.MethodParameterInfo
-
The name of the method parameter, if there is one.
- name() - Method in interface java.lang.classfile.attribute.RecordComponentInfo
-
Returns the name of this component.
- name() - Method in interface java.lang.classfile.AttributeMapper
-
Returns the name of the attribute.
- name() - Method in interface java.lang.classfile.constantpool.ClassEntry
-
Returns the UTF8 constant pool entry for the class name.
- name() - Method in interface java.lang.classfile.constantpool.DynamicConstantPoolEntry
-
Returns the invocation name.
- name() - Method in interface java.lang.classfile.constantpool.MemberRefEntry
-
Returns the name of the member.
- name() - Method in interface java.lang.classfile.constantpool.ModuleEntry
-
Returns the name of the module.
- name() - Method in interface java.lang.classfile.constantpool.NameAndTypeEntry
-
Returns the field or method name.
- name() - Method in interface java.lang.classfile.constantpool.PackageEntry
-
Returns the package name.
- name() - Method in interface java.lang.classfile.instruction.FieldInstruction
-
Returns the name of the field.
- name() - Method in interface java.lang.classfile.instruction.InvokeDynamicInstruction
-
Returns the invocation name of the call site.
- name() - Method in interface java.lang.classfile.instruction.InvokeInstruction
-
Returns the name of the method.
- name() - Method in interface java.lang.classfile.instruction.LocalVariable
-
Returns the local variable name.
- name() - Method in interface java.lang.classfile.instruction.LocalVariableType
-
Returns the local variable name.
- name() - Method in interface java.lang.constant.ModuleDesc
-
Returns the module name of this
ModuleDesc
. - name() - Method in interface java.lang.constant.PackageDesc
-
Returns the fully qualified (dot-separated) package name of this
PackageDesc
. - name() - Method in class java.lang.Enum
-
Returns the name of this enum constant, exactly as declared in its enum declaration.
- name() - Method in interface java.lang.foreign.MemoryLayout
-
Returns the name (if any) associated with this layout.
- name() - Method in class java.lang.module.ModuleDescriptor
-
Returns the module name.
- name() - Method in class java.lang.module.ModuleDescriptor.Requires
-
Return the module name.
- name() - Method in class java.lang.module.ResolvedModule
-
Returns the module name.
- name() - Method in interface java.net.ProtocolFamily
-
Returns the name of the protocol family.
- name() - Method in interface java.net.SocketOption
-
Returns the name of the socket option.
- name() - Method in class java.net.spi.InetAddressResolverProvider
-
Returns the name of this provider, or
null
if unnamed. - name() - Method in class java.nio.charset.Charset
-
Returns this charset's canonical name.
- name() - Method in interface java.nio.file.attribute.AclFileAttributeView
-
Returns the name of the attribute view.
- name() - Method in interface java.nio.file.attribute.AttributeView
-
Returns the name of the attribute view.
- name() - Method in interface java.nio.file.attribute.BasicFileAttributeView
-
Returns the name of the attribute view.
- name() - Method in interface java.nio.file.attribute.DosFileAttributeView
-
Returns the name of the attribute view.
- name() - Method in interface java.nio.file.attribute.FileAttribute
-
Returns the attribute name.
- name() - Method in interface java.nio.file.attribute.FileOwnerAttributeView
-
Returns the name of the attribute view.
- name() - Method in interface java.nio.file.attribute.PosixFileAttributeView
-
Returns the name of the attribute view.
- name() - Method in interface java.nio.file.attribute.UserDefinedFileAttributeView
-
Returns the name of this attribute view.
- name() - Method in class java.nio.file.FileStore
-
Returns the name of this file store.
- name() - Method in interface java.nio.file.WatchEvent.Kind
-
Returns the name of the event kind.
- name() - Method in interface java.nio.file.WatchEvent.Modifier
-
Returns the name of the modifier.
- name() - Method in class java.util.prefs.AbstractPreferences
-
Implements the
name
method as per the specification inPreferences.name()
. - name() - Method in class java.util.prefs.Preferences
-
Returns this preference node's name, relative to its parent.
- name() - Method in class java.util.random.RandomGeneratorFactory
-
Return the name of the algorithm used by the random number generator.
- name() - Method in interface java.util.spi.ToolProvider
-
Returns the name of this tool provider.
- name() - Method in interface javax.tools.Tool
-
Returns the name of this tool, or an empty string if no name is provided.
- name() - Method in interface jdk.incubator.vector.VectorOperators.Operator
-
Returns the symbolic name of this operator, as a constant in
VectorOperators
. - name() - Method in class jdk.jshell.execution.FailOverExecutionControlProvider
-
The unique name of this
ExecutionControlProvider
. - name() - Method in class jdk.jshell.execution.JdiExecutionControlProvider
-
The unique name of this
ExecutionControlProvider
. - name() - Method in class jdk.jshell.execution.LocalExecutionControlProvider
-
The unique name of this
ExecutionControlProvider
. - name() - Method in class jdk.jshell.ExpressionSnippet
-
Variable name which is the value of the expression.
- name() - Method in class jdk.jshell.ImportSnippet
-
The identifying name of the import.
- name() - Method in class jdk.jshell.PersistentSnippet
-
Name of the Snippet.
- name() - Method in class jdk.jshell.spi.ExecutionControl.ClassBytecodes
-
The class name.
- name() - Method in interface jdk.jshell.spi.ExecutionControlProvider
-
The unique name of this
ExecutionControlProvider
. - name(String) - Method in interface java.lang.Thread.Builder
-
Sets the thread name.
- name(String) - Method in interface java.lang.Thread.Builder.OfPlatform
- name(String) - Method in interface java.lang.Thread.Builder.OfVirtual
- name(String, long) - Method in interface java.lang.Thread.Builder
-
Sets the thread name to be the concatenation of a string prefix and the string representation of a counter value.
- name(String, long) - Method in interface java.lang.Thread.Builder.OfPlatform
- name(String, long) - Method in interface java.lang.Thread.Builder.OfVirtual
- Name - Interface in javax.lang.model.element
-
An immutable sequence of characters.
- Name - Interface in javax.naming
-
The
Name
interface represents a generic name -- an ordered sequence of components. - Name - Annotation Interface in jdk.jfr
-
Annotation that sets the default name for an element.
- Name(String) - Constructor for class java.util.jar.Attributes.Name
-
Constructs a new attribute name using the given string name.
- NAME - Static variable in interface javax.script.ScriptEngine
-
Reserved key for a named value that identifies the short name of the scripting language.
- NAME - Static variable in interface javax.swing.Action
-
The key used for storing the
String
name for the action, used for a menu or button. - NAME - Static variable in class javax.swing.text.html.HTML.Attribute
-
Attribute "name"
- NAME - Static variable in interface javax.swing.text.html.parser.DTDConstants
-
The DTD constant corresponds to NAME
- NAME - Static variable in annotation interface jdk.jfr.Enabled
-
Setting name
"enabled"
, signifies that the event should be recorded. - NAME - Static variable in annotation interface jdk.jfr.Period
-
Settings name
"period"
for configuring periodic events - NAME - Static variable in annotation interface jdk.jfr.StackTrace
-
Settings name
"stackTrace"
to be used for enabling event stack traces. - NAME - Static variable in annotation interface jdk.jfr.Threshold
-
Setting name
"threshold"
for configuring event thresholds. - NAME_ANNOTATION_DEFAULT - Static variable in class java.lang.classfile.Attributes
-
AnnotationDefault
- NAME_BOOTSTRAP_METHODS - Static variable in class java.lang.classfile.Attributes
-
BootstrapMethods
- NAME_CHAINING - Enum constant in enum class java.security.cert.PKIXReason
-
The certificate does not chain correctly.
- NAME_CHARACTER_RANGE_TABLE - Static variable in class java.lang.classfile.Attributes
-
CharacterRangeTable
- NAME_CODE - Static variable in class java.lang.classfile.Attributes
-
Code
- NAME_COMPILATION_ID - Static variable in class java.lang.classfile.Attributes
-
CompilationID
- NAME_CONSTANT_VALUE - Static variable in class java.lang.classfile.Attributes
-
ConstantValue
- NAME_DEPRECATED - Static variable in class java.lang.classfile.Attributes
-
Deprecated
- NAME_ENCLOSING_METHOD - Static variable in class java.lang.classfile.Attributes
-
EnclosingMethod
- NAME_EXCEPTIONS - Static variable in class java.lang.classfile.Attributes
-
Exceptions
- NAME_INNER_CLASSES - Static variable in class java.lang.classfile.Attributes
-
InnerClasses
- NAME_LINE_NUMBER_TABLE - Static variable in class java.lang.classfile.Attributes
-
LineNumberTable
- NAME_LOCAL_VARIABLE_TABLE - Static variable in class java.lang.classfile.Attributes
-
LocalVariableTable
- NAME_LOCAL_VARIABLE_TYPE_TABLE - Static variable in class java.lang.classfile.Attributes
-
LocalVariableTypeTable
- NAME_METHOD_PARAMETERS - Static variable in class java.lang.classfile.Attributes
-
MethodParameters
- NAME_MODULE - Static variable in class java.lang.classfile.Attributes
-
Module
- NAME_MODULE_HASHES - Static variable in class java.lang.classfile.Attributes
-
ModuleHashes
- NAME_MODULE_MAIN_CLASS - Static variable in class java.lang.classfile.Attributes
-
ModuleMainClass
- NAME_MODULE_PACKAGES - Static variable in class java.lang.classfile.Attributes
-
ModulePackages
- NAME_MODULE_RESOLUTION - Static variable in class java.lang.classfile.Attributes
-
ModuleResolution
- NAME_MODULE_TARGET - Static variable in class java.lang.classfile.Attributes
-
ModuleTarget
- NAME_NEST_HOST - Static variable in class java.lang.classfile.Attributes
-
NestHost
- NAME_NEST_MEMBERS - Static variable in class java.lang.classfile.Attributes
-
NestMembers
- NAME_NOT_MN - Static variable in exception class org.ietf.jgss.GSSException
-
Name contains multi-mechanism elements.
- NAME_PERMITTED_SUBCLASSES - Static variable in class java.lang.classfile.Attributes
-
PermittedSubclasses
- NAME_RECORD - Static variable in class java.lang.classfile.Attributes
-
Record
- NAME_RUNTIME_INVISIBLE_ANNOTATIONS - Static variable in class java.lang.classfile.Attributes
-
RuntimeInvisibleAnnotations
- NAME_RUNTIME_INVISIBLE_PARAMETER_ANNOTATIONS - Static variable in class java.lang.classfile.Attributes
-
RuntimeInvisibleParameterAnnotations
- NAME_RUNTIME_INVISIBLE_TYPE_ANNOTATIONS - Static variable in class java.lang.classfile.Attributes
-
RuntimeInvisibleTypeAnnotations
- NAME_RUNTIME_VISIBLE_ANNOTATIONS - Static variable in class java.lang.classfile.Attributes
-
RuntimeVisibleAnnotations
- NAME_RUNTIME_VISIBLE_PARAMETER_ANNOTATIONS - Static variable in class java.lang.classfile.Attributes
-
RuntimeVisibleParameterAnnotations
- NAME_RUNTIME_VISIBLE_TYPE_ANNOTATIONS - Static variable in class java.lang.classfile.Attributes
-
RuntimeVisibleTypeAnnotations
- NAME_SIGNATURE - Static variable in class java.lang.classfile.Attributes
-
Signature
- NAME_SOURCE_DEBUG_EXTENSION - Static variable in class java.lang.classfile.Attributes
-
SourceDebugExtension
- NAME_SOURCE_FILE - Static variable in class java.lang.classfile.Attributes
-
SourceFile
- NAME_SOURCE_ID - Static variable in class java.lang.classfile.Attributes
-
SourceID
- NAME_STACK_MAP_TABLE - Static variable in class java.lang.classfile.Attributes
-
StackMapTable
- NAME_SYNTHETIC - Static variable in class java.lang.classfile.Attributes
-
Synthetic
- name2type(String) - Static method in class javax.swing.text.html.parser.AttributeList
-
Converts an attribute name to the type
- name2type(String) - Static method in class javax.swing.text.html.parser.Element
-
Converts
nm
to type. - name2type(String) - Static method in class javax.swing.text.html.parser.Entity
-
Converts
nm
string to the corresponding entity type. - NameAlreadyBoundException - Exception Class in javax.naming
-
This exception is thrown by methods to indicate that a binding cannot be added because the name is already bound to another object.
- NameAlreadyBoundException() - Constructor for exception class javax.naming.NameAlreadyBoundException
-
Constructs a new instance of NameAlreadyBoundException.
- NameAlreadyBoundException(String) - Constructor for exception class javax.naming.NameAlreadyBoundException
-
Constructs a new instance of NameAlreadyBoundException using the explanation supplied.
- nameAndType() - Method in interface java.lang.classfile.constantpool.DynamicConstantPoolEntry
-
Returns the invocation name and type.
- nameAndType() - Method in interface java.lang.classfile.constantpool.MemberRefEntry
-
Returns the name and type of the member.
- nameAndTypeEntry(Utf8Entry, Utf8Entry) - Method in interface java.lang.classfile.constantpool.ConstantPoolBuilder
-
Returns A
NameAndTypeEntry
describing the provided name and type. - nameAndTypeEntry(String, ClassDesc) - Method in interface java.lang.classfile.constantpool.ConstantPoolBuilder
-
Returns A
NameAndTypeEntry
describing the provided name and type. - nameAndTypeEntry(String, MethodTypeDesc) - Method in interface java.lang.classfile.constantpool.ConstantPoolBuilder
-
Returns A
NameAndTypeEntry
describing the provided name and type. - NameAndTypeEntry - Interface in java.lang.classfile.constantpool
-
Models a
CONSTANT_NameAndType_info
constant in the constant pool of a classfile. - NameAttribute - Static variable in interface javax.swing.text.AttributeSet
-
Attribute name used to name the collection of attributes.
- NameAttribute - Static variable in class javax.swing.text.StyleConstants
-
Attribute name used to name the collection of attributes.
- NameCallback - Class in javax.security.auth.callback
-
Underlying security services instantiate and pass a
NameCallback
to thehandle
method of aCallbackHandler
to retrieve name information. - NameCallback(String) - Constructor for class javax.security.auth.callback.NameCallback
-
Construct a
NameCallback
with a prompt. - NameCallback(String, String) - Constructor for class javax.security.auth.callback.NameCallback
-
Construct a
NameCallback
with a prompt and default name. - NameClassPair - Class in javax.naming
-
This class represents the object name and class name pair of a binding found in a context.
- NameClassPair(String, String) - Constructor for class javax.naming.NameClassPair
-
Constructs an instance of a NameClassPair given its name and class name.
- NameClassPair(String, String, boolean) - Constructor for class javax.naming.NameClassPair
-
Constructs an instance of a NameClassPair given its name, class name, and whether it is relative to the listing context.
- named(Object) - Method in interface jdk.dynalink.Operation
-
Returns a
NamedOperation
using this operation as its base. - Named Context - Search tag in interface javax.naming.directory.DirContext
- Section
- namedGroups() - Method in class java.util.regex.Matcher
-
Returns an unmodifiable map from capturing group names to group numbers.
- namedGroups() - Method in interface java.util.regex.MatchResult
-
Returns an unmodifiable map from capturing group names to group numbers.
- namedGroups() - Method in class java.util.regex.Pattern
-
Returns an unmodifiable map from capturing group names to group numbers.
- namedItem(String) - Method in interface org.w3c.dom.html.HTMLCollection
-
This method retrieves a
Node
using a name. - NamedNodeMap - Interface in org.w3c.dom
-
Objects implementing the
NamedNodeMap
interface are used to represent collections of nodes that can be accessed by name. - NamedOperation - Class in jdk.dynalink
-
Operation that associates a name with another operation.
- NamedOperation(Operation, Object) - Constructor for class jdk.dynalink.NamedOperation
-
Creates a new named operation.
- NamedParameterSpec - Class in java.security.spec
-
This class is used to specify any algorithm parameters that are determined by a standard name.
- NamedParameterSpec(String) - Constructor for class java.security.spec.NamedParameterSpec
-
Creates a parameter specification using a standard (or predefined) name
stdName
. - NamedStyle() - Constructor for class javax.swing.text.StyleContext.NamedStyle
-
Creates a new named style, with a null name and parent.
- NamedStyle(String, Style) - Constructor for class javax.swing.text.StyleContext.NamedStyle
-
Creates a new named style.
- NamedStyle(Style) - Constructor for class javax.swing.text.StyleContext.NamedStyle
-
Creates a new named style.
- NameList - Interface in org.w3c.dom
-
The
NameList
interface provides the abstraction of an ordered collection of parallel pairs of name and namespace values (which could be null values), without defining or constraining how this collection is implemented. - NameNotFoundException - Exception Class in javax.naming
-
This exception is thrown when a component of the name cannot be resolved because it is not bound.
- NameNotFoundException() - Constructor for exception class javax.naming.NameNotFoundException
-
Constructs a new instance of NameNotFoundException.
- NameNotFoundException(String) - Constructor for exception class javax.naming.NameNotFoundException
-
Constructs a new instance of NameNotFoundException using the explanation supplied.
- NameParser - Interface in javax.naming
-
This interface is used for parsing names from a hierarchical namespace.
- names - Variable in class javax.imageio.spi.ImageReaderWriterSpi
-
An array of strings to be returned from
getFormatNames
, initiallynull
. - Names - Search tag in interface javax.naming.Context
- Section
- Names - Search tag in interface javax.naming.directory.DirContext
- Section
- Names - Search tag in package javax.naming
- Section
- NAMES - Static variable in interface javax.swing.text.html.parser.DTDConstants
-
The DTD constant corresponds to NAMES
- Namespace - Interface in javax.xml.stream.events
-
An interface that contains information about a namespace.
- Namespace - Interface in jdk.dynalink
-
An object that describes a namespace that is the target of a dynamic operation on an object.
- NAMESPACE - Static variable in interface javax.xml.stream.XMLStreamConstants
-
Indicates the event is a namespace declaration
- NAMESPACE_ERR - Static variable in exception class org.w3c.dom.DOMException
-
If an attempt is made to create or change an object in a way which is incorrect with regard to namespaces.
- NamespaceChangeListener - Interface in javax.naming.event
-
Specifies the methods that a listener interested in namespace changes must implement.
- NamespaceContext - Interface in javax.xml.namespace
-
Interface for read only XML Namespace context processing.
- NamespaceOperation - Class in jdk.dynalink
-
Describes an operation that operates on at least one
Namespace
of an object. - NamespaceOperation(Operation, Namespace...) - Constructor for class jdk.dynalink.NamespaceOperation
-
Constructs a new namespace operation.
- NamespaceSupport - Class in org.xml.sax.helpers
-
Encapsulate Namespace logic for use by applications using SAX, or internally by SAX drivers.
- NamespaceSupport() - Constructor for class org.xml.sax.helpers.NamespaceSupport
-
Create a new Namespace support object.
- nameUUIDFromBytes(byte[]) - Static method in class java.util.UUID
-
Static factory to retrieve a type 3 (name based)
UUID
based on the specified byte array. - Naming - Class in java.rmi
-
The
Naming
class provides methods for storing and obtaining references to remote objects in a remote object registry. - Naming conventions - Search tag in annotation interface javax.management.MXBean
- Section
- NamingEnumeration<T> - Interface in javax.naming
-
This interface is for enumerating lists returned by methods in the javax.naming and javax.naming.directory packages.
- NamingEvent - Class in javax.naming.event
-
This class represents an event fired by a naming/directory service.
- NamingEvent(EventContext, int, Binding, Binding, Object) - Constructor for class javax.naming.event.NamingEvent
-
Constructs an instance of
NamingEvent
. - Naming Events - Search tag in package javax.naming.event
- Section
- NamingException - Exception Class in javax.naming
-
This is the superclass of all exceptions thrown by operations in the Context and DirContext interfaces.
- NamingException() - Constructor for exception class javax.naming.NamingException
-
Constructs a new NamingException.
- NamingException(String) - Constructor for exception class javax.naming.NamingException
-
Constructs a new NamingException with an explanation.
- NamingExceptionEvent - Class in javax.naming.event
-
This class represents an event fired when the procedures/processes used to collect information for notifying listeners of
NamingEvent
s threw aNamingException
. - NamingExceptionEvent(EventContext, NamingException) - Constructor for class javax.naming.event.NamingExceptionEvent
-
Constructs an instance of
NamingExceptionEvent
using the context in which theNamingException
was thrown and the exception that was thrown. - namingExceptionThrown(NamingExceptionEvent) - Method in interface javax.naming.event.NamingListener
-
Called when a naming exception is thrown while attempting to fire a
NamingEvent
. - NamingListener - Interface in javax.naming.event
-
This interface is the root of listener interfaces that handle
NamingEvent
s. - NamingManager - Class in javax.naming.spi
-
This class contains methods for creating context objects and objects referred to by location information in the naming or directory service.
- NamingSecurityException - Exception Class in javax.naming
-
This is the superclass of security-related exceptions thrown by operations in the Context and DirContext interfaces.
- NamingSecurityException() - Constructor for exception class javax.naming.NamingSecurityException
-
Constructs a new instance of NamingSecurityException.
- NamingSecurityException(String) - Constructor for exception class javax.naming.NamingSecurityException
-
Constructs a new instance of NamingSecurityException using the explanation supplied.
- NaN - Static variable in class java.lang.Double
-
A constant holding a Not-a-Number (NaN) value of type
double
. - NaN - Static variable in class java.lang.Float
-
A constant holding a Not-a-Number (NaN) value of type
float
. - NaN - Static variable in class jdk.incubator.vector.Float16
-
A constant holding a Not-a-Number (NaN) value of type
Float16
. - NANDINAGARI - Enum constant in enum class java.lang.Character.UnicodeScript
-
Unicode script "Nandinagari".
- NANDINAGARI - Static variable in class java.lang.Character.UnicodeBlock
-
Constant for the "Nandinagari" Unicode character block.
- NANO_OF_DAY - Enum constant in enum class java.time.temporal.ChronoField
-
The nano-of-day.
- NANO_OF_SECOND - Enum constant in enum class java.time.temporal.ChronoField
-
The nano-of-second.
- NANOS - Enum constant in enum class java.time.temporal.ChronoUnit
-
Unit that represents the concept of a nanosecond, the smallest supported unit of time.
- NANOSECONDS - Enum constant in enum class java.util.concurrent.TimeUnit
-
Time unit representing one thousandth of a microsecond.
- NANOSECONDS - Static variable in annotation interface jdk.jfr.Timespan
-
Unit for nanoseconds.
- nanoTime() - Static method in class java.lang.System
-
Returns the current value of the running Java Virtual Machine's high-resolution time source, in nanoseconds.
- NARROW - Enum constant in enum class java.text.ListFormat.Style
-
The
NARROW
ListFormat style. - NARROW - Enum constant in enum class java.time.format.TextStyle
-
Narrow text, typically a single letter.
- NARROW_FORMAT - Static variable in class java.util.Calendar
-
A style specifier for
getDisplayName
andgetDisplayNames
indicating a narrow name used for format. - NARROW_STANDALONE - Enum constant in enum class java.time.format.TextStyle
-
Narrow text for stand-alone use, typically a single letter.
- NARROW_STANDALONE - Static variable in class java.util.Calendar
-
A style specifier for
getDisplayName
andgetDisplayNames
indicating a narrow name independently. - Native - Annotation Interface in java.lang.annotation
-
Indicates that a field defining a constant value may be referenced from native code.
- NATIVE - Enum constant in enum class java.lang.reflect.AccessFlag
- NATIVE - Enum constant in enum class javax.lang.model.element.Modifier
-
The modifier
native
- NATIVE - Static variable in class java.awt.JobAttributes.DialogType
-
The
DialogType
instance to use for specifying the platform's native print dialog. - NATIVE - Static variable in class java.lang.reflect.Modifier
-
The
int
value representing thenative
modifier. - NATIVE - Static variable in class javax.print.attribute.standard.DialogTypeSelection
-
The native platform print dialog should be used.
- NATIVE_HEADER_OUTPUT - Enum constant in enum class javax.tools.StandardLocation
-
Location of new native header files.
- native.encoding - Search tag in java.lang.System.getProperties()
- System Property
- nativeImageMetadataFormatClassName - Variable in class javax.imageio.spi.ImageReaderWriterSpi
-
A
String
containing the class name of the native stream metadata format supported by this plug-in, initiallynull
. - nativeImageMetadataFormatName - Variable in class javax.imageio.spi.ImageReaderWriterSpi
-
A
String
containing the name of the native stream metadata format supported by this plug-in, initiallynull
. - nativeLinker() - Static method in interface java.lang.foreign.Linker
-
Returns a linker for the ABI associated with the underlying native platform.
- nativeMetadataFormatClassName - Variable in class javax.imageio.metadata.IIOMetadata
-
The name of the class implementing
IIOMetadataFormat
and representing the native metadata format, initialized tonull
and set via the constructor. - nativeMetadataFormatName - Variable in class javax.imageio.metadata.IIOMetadata
-
The name of the native metadata format for this object, initialized to
null
and set via the constructor. - Native Metadata Format Tree Structure and Editing - Search tag in package javax.imageio.metadata
- Section
- NativeMethodException - Exception Class in com.sun.jdi
-
Thrown to indicate an operation cannot be completed because it is not valid for a native method.
- NativeMethodException() - Constructor for exception class com.sun.jdi.NativeMethodException
- NativeMethodException(String) - Constructor for exception class com.sun.jdi.NativeMethodException
- nativeOrder() - Static method in class java.nio.ByteOrder
-
Retrieves the native byte order of the underlying platform.
- nativeSQL(String) - Method in interface java.sql.Connection
-
Converts the given SQL statement into the system's native SQL grammar.
- nativeStreamMetadataFormatClassName - Variable in class javax.imageio.spi.ImageReaderWriterSpi
-
A
String
containing the class name of the native stream metadata format supported by this plug-in, initiallynull
. - nativeStreamMetadataFormatName - Variable in class javax.imageio.spi.ImageReaderWriterSpi
-
A
String
containing the name of the native stream metadata format supported by this plug-in, initiallynull
. - naturalOrder() - Static method in interface java.util.Comparator
-
Returns a comparator that compares
Comparable
objects in natural order. - navigableKeySet() - Method in interface java.util.concurrent.ConcurrentNavigableMap
-
Returns a
NavigableSet
view of the keys contained in this map. - navigableKeySet() - Method in class java.util.concurrent.ConcurrentSkipListMap
- navigableKeySet() - Method in interface java.util.NavigableMap
-
Returns a
NavigableSet
view of the keys contained in this map. - navigableKeySet() - Method in class java.util.TreeMap
- NavigableMap<K,
V> - Interface in java.util -
A
SortedMap
extended with navigation methods returning the closest matches for given search targets. - NavigableSet<E> - Interface in java.util
-
A
SortedSet
extended with navigation methods reporting closest matches for given search targets. - NavigateAction() - Constructor for class javax.swing.plaf.basic.BasicDesktopPaneUI.NavigateAction
-
Constructs a
NavigateAction
. - navigateFocusedComp(int) - Method in class javax.swing.plaf.basic.BasicToolBarUI
-
Navigates the focused component.
- navigateKey - Variable in class javax.swing.plaf.basic.BasicDesktopPaneUI
-
Deprecated.As of 1.3.
- navigateKey2 - Variable in class javax.swing.plaf.basic.BasicDesktopPaneUI
-
Deprecated.As of 1.3.
- navigateSelectedTab(int) - Method in class javax.swing.plaf.basic.BasicTabbedPaneUI
-
Navigates the selected tab.
- Navigating a SyncResolver Object - Search tag in interface javax.sql.rowset.spi.SyncResolver
- Section
- NavigationFilter - Class in javax.swing.text
-
NavigationFilter
can be used to restrict where the cursor can be positioned. - NavigationFilter() - Constructor for class javax.swing.text.NavigationFilter
-
Constructs a
NavigationFilter
. - NavigationFilter.FilterBypass - Class in javax.swing.text
-
Used as a way to circumvent calling back into the caret to position the cursor.
- NCHAR - Enum constant in enum class java.sql.JDBCType
-
Identifies the generic SQL type
NCHAR
. - NCHAR - Static variable in class java.sql.Types
-
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
NCHAR
- NClob - Interface in java.sql
-
The mapping in the Java programming language for the SQL
NCLOB
type. - NCLOB - Enum constant in enum class java.sql.JDBCType
-
Identifies the generic SQL type
NCLOB
. - NCLOB - Static variable in class java.sql.Types
-
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
NCLOB
. - nCopies(int, T) - Static method in class java.util.Collections
-
Returns an immutable list consisting of
n
copies of the specified object. - NE - Static variable in class jdk.incubator.vector.VectorOperators
-
Compare
a!=b
. - NE_RESIZE_CURSOR - Static variable in class java.awt.Cursor
-
The north-east-resize cursor type.
- NE_RESIZE_CURSOR - Static variable in class java.awt.Frame
-
Deprecated.replaced by
Cursor.NE_RESIZE_CURSOR
. - NEED_TASK - Enum constant in enum class javax.net.ssl.SSLEngineResult.HandshakeStatus
-
The
SSLEngine
needs the results of one (or more) delegated tasks before handshaking can continue. - NEED_UNWRAP - Enum constant in enum class javax.net.ssl.SSLEngineResult.HandshakeStatus
-
The
SSLEngine
needs to receive data from the remote side before handshaking can continue. - NEED_UNWRAP_AGAIN - Enum constant in enum class javax.net.ssl.SSLEngineResult.HandshakeStatus
-
The
SSLEngine
needs to unwrap before handshaking can continue. - NEED_WRAP - Enum constant in enum class javax.net.ssl.SSLEngineResult.HandshakeStatus
-
The
SSLEngine
must send data to the remote side before handshaking can continue, soSSLEngine.wrap()
should be called. - needsCacheFile() - Method in class javax.imageio.spi.ImageInputStreamSpi
-
Returns
true
if theImageInputStream
implementation associated with this service provider requires the use of a cacheFile
. - needsCacheFile() - Method in class javax.imageio.spi.ImageOutputStreamSpi
-
Returns
true
if theImageOutputStream
implementation associated with this service provider requires the use of a cacheFile
. - needsDictionary() - Method in class java.util.zip.Inflater
-
Returns true if a preset dictionary is needed for decompression.
- needsGui() - Method in class java.beans.beancontext.BeanContextSupport
-
Deprecated.This method is typically called from the environment in order to determine if the implementor "needs" a GUI.
- needsGui() - Method in interface java.beans.Visibility
-
Determines whether this bean needs a GUI.
- needsInput() - Method in class java.util.zip.Deflater
-
Returns true if no data remains in the input buffer.
- needsInput() - Method in class java.util.zip.Inflater
-
Returns true if no data remains in the input buffer.
- needsReload(String, Locale, String, ClassLoader, ResourceBundle, long) - Method in class java.util.ResourceBundle.Control
-
Determines if the expired
bundle
in the cache needs to be reloaded based on the loading time given byloadTime
or some other criteria. - neg() - Method in class jdk.incubator.vector.ByteVector
-
Negates this vector.
- neg() - Method in class jdk.incubator.vector.DoubleVector
-
Negates this vector.
- neg() - Method in class jdk.incubator.vector.FloatVector
-
Negates this vector.
- neg() - Method in class jdk.incubator.vector.IntVector
-
Negates this vector.
- neg() - Method in class jdk.incubator.vector.LongVector
-
Negates this vector.
- neg() - Method in class jdk.incubator.vector.ShortVector
-
Negates this vector.
- neg() - Method in class jdk.incubator.vector.Vector
-
Negates this vector.
- NEG - Static variable in class jdk.incubator.vector.VectorOperators
-
Produce
-a
. - negate() - Method in class java.math.BigDecimal
-
Returns a
BigDecimal
whose value is(-this)
, and whose scale isthis.scale()
. - negate() - Method in class java.math.BigInteger
-
Returns a BigInteger whose value is
(-this)
. - negate() - Method in interface java.util.function.BiPredicate
-
Returns a predicate that represents the logical negation of this predicate.
- negate() - Method in interface java.util.function.DoublePredicate
-
Returns a predicate that represents the logical negation of this predicate.
- negate() - Method in interface java.util.function.IntPredicate
-
Returns a predicate that represents the logical negation of this predicate.
- negate() - Method in interface java.util.function.LongPredicate
-
Returns a predicate that represents the logical negation of this predicate.
- negate() - Method in interface java.util.function.Predicate
-
Returns a predicate that represents the logical negation of this predicate.
- negate() - Method in class javax.xml.datatype.Duration
-
Returns a new
Duration
object whose value is-this
. - negate(MathContext) - Method in class java.math.BigDecimal
-
Returns a
BigDecimal
whose value is(-this)
, with rounding according to the context settings. - negate(Float16) - Static method in class jdk.incubator.vector.Float16
-
Returns the negation of the argument.
- negated() - Method in interface java.time.chrono.ChronoPeriod
-
Returns a new instance with each amount in this period negated.
- negated() - Method in class java.time.Duration
-
Returns a copy of this duration with the length negated.
- negated() - Method in class java.time.Period
-
Returns a new instance with each amount in this period negated.
- negateExact(int) - Static method in class java.lang.Math
-
Returns the negation of the argument, throwing an exception if the result overflows an
int
. - negateExact(int) - Static method in class java.lang.StrictMath
-
Returns the negation of the argument, throwing an exception if the result overflows an
int
. - negateExact(long) - Static method in class java.lang.Math
-
Returns the negation of the argument, throwing an exception if the result overflows a
long
. - negateExact(long) - Static method in class java.lang.StrictMath
-
Returns the negation of the argument, throwing an exception if the result overflows a
long
. - NEGATIVE_INFINITY - Static variable in class java.lang.Double
-
A constant holding the negative infinity of type
double
. - NEGATIVE_INFINITY - Static variable in class java.lang.Float
-
A constant holding the negative infinity of type
float
. - NEGATIVE_INFINITY - Static variable in class jdk.incubator.vector.Float16
-
A constant holding the negative infinity of type
Float16
. - NEGATIVE_SCROLL - Static variable in class javax.swing.plaf.basic.BasicSliderUI
-
Negative scroll
- NegativeArraySizeException - Exception Class in java.lang
-
Thrown if an application tries to create an array with negative size.
- NegativeArraySizeException() - Constructor for exception class java.lang.NegativeArraySizeException
-
Constructs a
NegativeArraySizeException
with no detail message. - NegativeArraySizeException(String) - Constructor for exception class java.lang.NegativeArraySizeException
-
Constructs a
NegativeArraySizeException
with the specified detail message. - Negative Subpatterns - Search tag in class java.text.CompactNumberFormat
- Section
- Negative Subpatterns - Search tag in class java.text.DecimalFormat
- Section
- negotiate() - Method in class javax.naming.ldap.StartTlsResponse
-
Negotiates a TLS session using the default SSL socket factory.
- negotiate(SSLSocketFactory) - Method in class javax.naming.ldap.StartTlsResponse
-
Negotiates a TLS session using an SSL socket factory.
- nest - Search tag in class java.lang.Class
- nested - Variable in exception class javax.xml.stream.XMLStreamException
-
The nested exception.
- nested(String) - Method in interface java.lang.constant.ClassDesc
- nested(String, String...) - Method in interface java.lang.constant.ClassDesc
- nestedTypes() - Method in interface com.sun.jdi.ReferenceType
-
Returns a List containing
ReferenceType
objects that are declared within this type and are currently loaded into the Virtual Machine. - Nested variable-length arrays - Search tag in interface java.lang.foreign.MemoryLayout
- Section
- nestHost() - Method in interface java.lang.classfile.attribute.NestHostAttribute
-
Returns the host class of the nest to which this class belongs.
- nestHost() - Static method in class java.lang.classfile.Attributes
-
Returns Attribute mapper for the
NestHost
attribute. - NestHostAttribute - Interface in java.lang.classfile.attribute
-
Models the
NestHost
attribute (JVMS 4.7.28), which can appear on classes to indicate that this class is a member of a nest. - NestingKind - Enum Class in javax.lang.model.element
-
The nesting kind of a type element.
- NESTMATE - Enum constant in enum class java.lang.invoke.MethodHandles.Lookup.ClassOption
-
Specifies that a hidden class be added to nest of a lookup class as a nestmate.
- nestmates - Search tag in class java.lang.Class
- nestMembers() - Method in interface java.lang.classfile.attribute.NestMembersAttribute
-
Returns the classes belonging to the nest hosted by this class.
- nestMembers() - Static method in class java.lang.classfile.Attributes
-
Returns Attribute mapper for the
NestMembers
attribute. - NestMembersAttribute - Interface in java.lang.classfile.attribute
-
Models the
NestMembers
attribute (JVMS 4.7.29), which can appear on classes to indicate that this class is the host of a nest. - NetPermission - Class in java.net
-
This class is for various network permissions.
- NetPermission(String) - Constructor for class java.net.NetPermission
-
Creates a new NetPermission with the specified name.
- NetPermission(String, String) - Constructor for class java.net.NetPermission
-
Creates a new NetPermission object with the specified name.
- netscape.javascript - package netscape.javascript
-
Deprecated, for removal: This API element is subject to removal in a future version.
The jdk.jsobject module will be delivered with JavaFX. - NetworkChannel - Interface in java.nio.channels
-
A channel to a network socket.
- Networking Properties - Search tag in package java.net
- Section
- networkInterface() - Method in class java.nio.channels.MembershipKey
-
Returns the network interface for which this membership key was created.
- NetworkInterface - Class in java.net
-
This class represents a Network Interface.
- networkInterfaces() - Static method in class java.net.NetworkInterface
-
Returns a
Stream
of all the interfaces on this machine. - NetworkPermission - Class in jdk.net
-
Represents permission to access the extended networking capabilities defined in the jdk.net package.
- NetworkPermission(String) - Constructor for class jdk.net.NetworkPermission
-
Creates a NetworkPermission with the given target name.
- NetworkPermission(String, String) - Constructor for class jdk.net.NetworkPermission
-
Creates a NetworkPermission with the given target name.
- NEVER - Enum constant in enum class java.net.http.HttpClient.Redirect
-
Never redirect.
- NEVER - Enum constant in enum class java.time.format.SignStyle
-
Style to never output sign, only outputting the absolute value.
- NEVER_UPDATE - Static variable in class javax.swing.text.DefaultCaret
-
Indicates that the caret should remain at the same absolute position in the document regardless of any document updates, except when the document length becomes less than the current caret position due to removal.
- NEW - Enum constant in enum class com.sun.source.tree.MemberReferenceTree.ReferenceMode
-
enum constant for constructor references.
- NEW - Enum constant in enum class java.lang.classfile.Opcode
-
Create new object
- NEW - Enum constant in enum class java.lang.classfile.TypeAnnotation.TargetType
-
For annotations on an object creation expression.
- NEW - Enum constant in enum class java.lang.Thread.State
-
Thread state for a thread which has not yet started.
- NEW - Enum constant in enum class jdk.dynalink.StandardOperation
-
Call a constructor object.
- NEW - Enum constant in enum class jdk.jfr.RecordingState
-
The initial state when a
Recording
is created. - new_(ClassEntry) - Method in interface java.lang.classfile.CodeBuilder
-
Generate an instruction to create a new object
- new_(ClassDesc) - Method in interface java.lang.classfile.CodeBuilder
-
Generate an instruction to create a new object
- NEW_ARRAY - Enum constant in enum class com.sun.source.tree.Tree.Kind
-
Used for instances of
NewArrayTree
. - NEW_CLASS - Enum constant in enum class com.sun.source.tree.Tree.Kind
-
Used for instances of
NewClassTree
. - NEW_MULTI_ARRAY - Enum constant in enum class java.lang.classfile.Opcode.Kind
-
Create new multidimensional array
- NEW_OBJECT - Enum constant in enum class java.lang.classfile.Opcode.Kind
-
Create new object
- NEW_POOL - Enum constant in enum class java.lang.classfile.ClassFile.ConstantPoolSharingOption
-
Creates a new constant pool when transforming classfile
- NEW_PRIMITIVE_ARRAY - Enum constant in enum class java.lang.classfile.Opcode.Kind
-
Create new array
- NEW_REF_ARRAY - Enum constant in enum class java.lang.classfile.Opcode.Kind
-
Create new reference array
- NEW_SUBFILE_TYPE_REDUCED_RESOLUTION - Static variable in class javax.imageio.plugins.tiff.BaselineTIFFTagSet
-
A mask to be used with the "NewSubfileType" tag.
- NEW_SUBFILE_TYPE_SINGLE_PAGE - Static variable in class javax.imageio.plugins.tiff.BaselineTIFFTagSet
-
A mask to be used with the "NewSubfileType" tag.
- NEW_SUBFILE_TYPE_TRANSPARENCY - Static variable in class javax.imageio.plugins.tiff.BaselineTIFFTagSet
-
A mask to be used with the "NewSubfileType" tag.
- NEW_TAI_LUE - Enum constant in enum class java.awt.font.NumericShaper.Range
-
The New Tai Lue range with the New Tai Lue digits.
- NEW_TAI_LUE - Enum constant in enum class java.lang.Character.UnicodeScript
-
Unicode script "New_Tai_Lue".
- NEW_TAI_LUE - Static variable in class java.lang.Character.UnicodeBlock
-
Constant for the "New Tai Lue" Unicode character block.
- NEWA - Enum constant in enum class java.lang.Character.UnicodeScript
-
Unicode script "Newa".
- NEWA - Static variable in class java.lang.Character.UnicodeBlock
-
Constant for the "Newa" Unicode character block.
- newarray(TypeKind) - Method in interface java.lang.classfile.CodeBuilder
-
Generate an instruction to create a new array of a primitive type
- NEWARRAY - Enum constant in enum class java.lang.classfile.Opcode
-
Create new array
- newarrayCode() - Method in enum class java.lang.classfile.TypeKind
-
Returns the code used by the
newarray
instruction to create an array of this component type, or-1
if this type is not supported bynewarray
. - NewArrayTree - Interface in com.sun.source.tree
-
A tree node for an expression to create a new instance of an array.
- newAsynchronousFileChannel(Path, Set<? extends OpenOption>, ExecutorService, FileAttribute<?>...) - Method in class java.nio.file.spi.FileSystemProvider
-
Opens or creates a file for reading and/or writing, returning an asynchronous file channel to access the file.
- newAttributes - Variable in class javax.swing.text.DefaultStyledDocument.AttributeUndoableEdit
-
AttributeSet containing additional entries, must be non-mutable!
- newAttributeTree(Name, AttributeTree.ValueKind, List<? extends DocTree>) - Method in interface com.sun.source.util.DocTreeFactory
-
Creates a new
AttributeTree
object, to represent an attribute in an HTML element or tag. - newAudioClip(URL) - Static method in class java.applet.Applet
-
Deprecated.Get an audio clip from the given
URL
. - newAuthorTree(List<? extends DocTree>) - Method in interface com.sun.source.util.DocTreeFactory
-
Creates a new
AuthorTree
object, to represent an@author
tag. - newAutomaticModule(String) - Static method in class java.lang.module.ModuleDescriptor
-
Instantiates a builder to build a module descriptor for an automatic module.
- newBinding - Variable in class javax.naming.event.NamingEvent
-
Contains information about the object after the change.
- newBoundLabel() - Method in interface java.lang.classfile.CodeBuilder
-
Create new label bound with current position
- newBufferedReader(Path) - Static method in class java.nio.file.Files
-
Opens a file for reading, returning a
BufferedReader
to read text from the file in an efficient manner. - newBufferedReader(Path, Charset) - Static method in class java.nio.file.Files
-
Opens a file for reading, returning a
BufferedReader
that may be used to read text from the file in an efficient manner. - newBufferedWriter(Path, Charset, OpenOption...) - Static method in class java.nio.file.Files
-
Opens or creates a file for writing, returning a
BufferedWriter
that may be used to write text to the file in an efficient manner. - newBufferedWriter(Path, OpenOption...) - Static method in class java.nio.file.Files
-
Opens or creates a file for writing, returning a
BufferedWriter
to write text to the file in an efficient manner. - newBuilder() - Static method in class java.net.http.HttpClient
-
Creates a new
HttpClient
builder. - newBuilder() - Static method in class java.net.http.HttpRequest
-
Creates an
HttpRequest
builder. - newBuilder() - Static method in class java.nio.file.attribute.AclEntry
-
Constructs a new builder.
- newBuilder(HttpRequest, BiPredicate<String, String>) - Static method in class java.net.http.HttpRequest
-
Creates a
Builder
whose initial state is copied from an existingHttpRequest
. - newBuilder(URI) - Static method in class java.net.http.HttpRequest
-
Creates an
HttpRequest
builder with the given URI. - newBuilder(AclEntry) - Static method in class java.nio.file.attribute.AclEntry
-
Constructs a new builder with the components of an existing ACL entry.
- newBundle(String, Locale, String, ClassLoader, boolean) - Method in class java.util.ResourceBundle.Control
-
Instantiates a resource bundle for the given bundle name of the given format and locale, using the given class loader if necessary.
- newByteChannel(Path, OpenOption...) - Static method in class java.nio.file.Files
-
Opens or creates a file, returning a seekable byte channel to access the file.
- newByteChannel(Path, Set<? extends OpenOption>, FileAttribute<?>...) - Static method in class java.nio.file.Files
-
Opens or creates a file, returning a seekable byte channel to access the file.
- newByteChannel(Path, Set<? extends OpenOption>, FileAttribute<?>...) - Method in class java.nio.file.spi.FileSystemProvider
-
Opens or creates a file, returning a seekable byte channel to access the file.
- newByteChannel(T, Set<? extends OpenOption>, FileAttribute<?>...) - Method in interface java.nio.file.SecureDirectoryStream
-
Opens or creates a file in this directory, returning a seekable byte channel to access the file.
- newCachedThreadPool() - Static method in class java.util.concurrent.Executors
-
Creates a thread pool that creates new threads as needed, but will reuse previously constructed threads when they are available.
- newCachedThreadPool(ThreadFactory) - Static method in class java.util.concurrent.Executors
-
Creates a thread pool that creates new threads as needed, but will reuse previously constructed threads when they are available, and uses the provided ThreadFactory to create new threads when needed.
- newCall(RemoteObject, Operation[], int, long) - Method in interface java.rmi.server.RemoteRef
-
Deprecated.1.2 style stubs no longer use this method. Instead of using a sequence of method calls on the stub's the remote reference (
newCall
,invoke
, anddone
), a stub uses a single method,invoke(Remote, Method, Object[], int)
, on the remote reference to carry out parameter marshalling, remote method executing and unmarshalling of the return value. - newCanonicalizationMethod(String, C14NMethodParameterSpec) - Method in class javax.xml.crypto.dsig.XMLSignatureFactory
-
Creates a
CanonicalizationMethod
for the specified algorithm URI and parameters. - newCanonicalizationMethod(String, XMLStructure) - Method in class javax.xml.crypto.dsig.XMLSignatureFactory
-
Creates a
CanonicalizationMethod
for the specified algorithm URI and parameters. - newChannel(InputStream) - Static method in class java.nio.channels.Channels
-
Constructs a channel that reads bytes from the given stream.
- newChannel(OutputStream) - Static method in class java.nio.channels.Channels
-
Constructs a channel that writes bytes to the given stream.
- NewClassTree - Interface in com.sun.source.tree
-
A tree node to declare a new instance of a class.
- newClient(Object) - Method in interface javax.management.remote.rmi.RMIServer
-
Makes a new connection through this RMI connector.
- newClient(Object) - Method in class javax.management.remote.rmi.RMIServerImpl_Stub
- newClient(Object) - Method in class javax.management.remote.rmi.RMIServerImpl
-
Creates a new client connection.
- newCodeTree(TextTree) - Method in interface com.sun.source.util.DocTreeFactory
-
Creates a new
LiteralTree
object, to represent a{@code }
tag. - newCommentTree(String) - Method in interface com.sun.source.util.DocTreeFactory
-
Creates a new
CommentTree
, to represent an HTML comment. - newCondition() - Method in interface java.util.concurrent.locks.Lock
-
Returns a new
Condition
instance that is bound to thisLock
instance. - newCondition() - Method in class java.util.concurrent.locks.ReentrantLock
- newCondition() - Method in class java.util.concurrent.locks.ReentrantReadWriteLock.ReadLock
-
Throws
UnsupportedOperationException
becauseReadLocks
do not support conditions. - newCondition() - Method in class java.util.concurrent.locks.ReentrantReadWriteLock.WriteLock
- newDataAvailable(TableModelEvent) - Method in class javax.swing.table.DefaultTableModel
-
Equivalent to
fireTableChanged
. - newDecapsulator(PrivateKey) - Method in class javax.crypto.KEM
-
Creates a KEM decapsulator on the KEM receiver side.
- newDecapsulator(PrivateKey, AlgorithmParameterSpec) - Method in class javax.crypto.KEM
-
Creates a KEM decapsulator on the KEM receiver side.
- newDecoder() - Method in class java.nio.charset.Charset
-
Constructs a new decoder for this charset.
- newDefaultFactory() - Static method in class javax.xml.stream.XMLEventFactory
-
Creates a new instance of the
XMLEventFactory
builtin system-default implementation. - newDefaultFactory() - Static method in class javax.xml.stream.XMLInputFactory
-
Creates a new instance of the
XMLInputFactory
builtin system-default implementation. - newDefaultFactory() - Static method in class javax.xml.stream.XMLOutputFactory
-
Creates a new instance of the
XMLOutputFactory
builtin system-default implementation. - newDefaultInstance() - Static method in class javax.xml.datatype.DatatypeFactory
-
Creates a new instance of the
DatatypeFactory
builtin system-default implementation. - newDefaultInstance() - Static method in class javax.xml.parsers.DocumentBuilderFactory
-
Creates a new instance of the
DocumentBuilderFactory
builtin system-default implementation. - newDefaultInstance() - Static method in class javax.xml.parsers.SAXParserFactory
-
Creates a new instance of the
SAXParserFactory
builtin system-default implementation. - newDefaultInstance() - Static method in class javax.xml.transform.TransformerFactory
-
Creates a new instance of the
TransformerFactory
builtin system-default implementation. - newDefaultInstance() - Static method in class javax.xml.validation.SchemaFactory
-
Creates a new instance of the
SchemaFactory
builtin system-default implementation. - newDefaultInstance() - Static method in class javax.xml.xpath.XPathFactory
-
Creates a new instance of the
XPathFactory
builtin system-default implementation. - newDefaultNSInstance() - Static method in class javax.xml.parsers.DocumentBuilderFactory
-
Creates a new NamespaceAware instance of the
DocumentBuilderFactory
builtin system-default implementation. - newDefaultNSInstance() - Static method in class javax.xml.parsers.SAXParserFactory
-
Creates a new NamespaceAware instance of the
SAXParserFactory
builtin system-default implementation. - newDeprecatedTree(List<? extends DocTree>) - Method in interface com.sun.source.util.DocTreeFactory
-
Creates a new
DeprecatedTree
object, to represent an@deprecated
tag. - newDigestMethod(String, DigestMethodParameterSpec) - Method in class javax.xml.crypto.dsig.XMLSignatureFactory
-
Creates a
DigestMethod
for the specified algorithm URI and parameters. - newDirectoryStream(Path) - Static method in class java.nio.file.Files
-
Opens a directory, returning a
DirectoryStream
to iterate over all entries in the directory. - newDirectoryStream(Path, String) - Static method in class java.nio.file.Files
-
Opens a directory, returning a
DirectoryStream
to iterate over the entries in the directory. - newDirectoryStream(Path, DirectoryStream.Filter<? super Path>) - Static method in class java.nio.file.Files
-
Opens a directory, returning a
DirectoryStream
to iterate over the entries in the directory. - newDirectoryStream(Path, DirectoryStream.Filter<? super Path>) - Method in class java.nio.file.spi.FileSystemProvider
-
Opens a directory, returning a
DirectoryStream
to iterate over the entries in the directory. - newDirectoryStream(T, LinkOption...) - Method in interface java.nio.file.SecureDirectoryStream
-
Opens the directory identified by the given path, returning a
SecureDirectoryStream
to iterate over the entries in the directory. - newDocCommentTree(List<? extends DocTree>, List<? extends DocTree>) - Method in interface com.sun.source.util.DocTreeFactory
-
Creates a new
DocCommentTree
object, to represent a complete doc comment. - newDocCommentTree(List<? extends DocTree>, List<? extends DocTree>, List<? extends DocTree>, List<? extends DocTree>) - Method in interface com.sun.source.util.DocTreeFactory
-
Creates a new
DocCommentTree
object, to represent the entire doc comment. - newDocRootTree() - Method in interface com.sun.source.util.DocTreeFactory
-
Creates a new
DocRootTree
object, to represent an{@docRoot}
tag. - newDocTypeTree(String) - Method in interface com.sun.source.util.DocTreeFactory
-
Creates a new
DocTypeTree
, to represent aDOCTYPE
HTML declaration. - newDocument() - Method in class javax.xml.parsers.DocumentBuilder
-
Obtain a new instance of a DOM
Document
object to build a DOM tree with. - newDocumentBuilder() - Method in class javax.xml.parsers.DocumentBuilderFactory
-
Creates a new instance of a
DocumentBuilder
using the currently configured parameters. - newDuration(boolean, int, int, int, int, int, int) - Method in class javax.xml.datatype.DatatypeFactory
-
Obtain a new instance of a
Duration
specifying theDuration
as isPositive, years, months, days, hours, minutes, seconds. - newDuration(boolean, BigInteger, BigInteger, BigInteger, BigInteger, BigInteger, BigDecimal) - Method in class javax.xml.datatype.DatatypeFactory
-
Obtain a new instance of a
Duration
specifying theDuration
as isPositive, years, months, days, hours, minutes, seconds. - newDuration(long) - Method in class javax.xml.datatype.DatatypeFactory
-
Obtain a new instance of a
Duration
specifying theDuration
as milliseconds. - newDuration(String) - Method in class javax.xml.datatype.DatatypeFactory
-
Obtain a new instance of a
Duration
specifying theDuration
as its string representation, "PnYnMnDTnHnMnS", as defined in XML Schema 1.0 section 3.2.6.1. - newDurationDayTime(boolean, int, int, int, int) - Method in class javax.xml.datatype.DatatypeFactory
-
Create a
Duration
of typexdt:dayTimeDuration
using the specifiedday
,hour
,minute
andsecond
as defined in XQuery 1.0 and XPath 2.0 Data Model, xdt:dayTimeDuration. - newDurationDayTime(boolean, BigInteger, BigInteger, BigInteger, BigInteger) - Method in class javax.xml.datatype.DatatypeFactory
-
Create a
Duration
of typexdt:dayTimeDuration
using the specifiedday
,hour
,minute
andsecond
as defined in XQuery 1.0 and XPath 2.0 Data Model, xdt:dayTimeDuration. - newDurationDayTime(long) - Method in class javax.xml.datatype.DatatypeFactory
-
Create a
Duration
of typexdt:dayTimeDuration
using the specified milliseconds as defined in XQuery 1.0 and XPath 2.0 Data Model, xdt:dayTimeDuration. - newDurationDayTime(String) - Method in class javax.xml.datatype.DatatypeFactory
-
Create a
Duration
of typexdt:dayTimeDuration
by parsing itsString
representation, "PnDTnHnMnS", XQuery 1.0 and XPath 2.0 Data Model, xdt:dayTimeDuration. - newDurationYearMonth(boolean, int, int) - Method in class javax.xml.datatype.DatatypeFactory
-
Create a
Duration
of typexdt:yearMonthDuration
using the specifiedyear
andmonth
as defined in XQuery 1.0 and XPath 2.0 Data Model, xdt:yearMonthDuration. - newDurationYearMonth(boolean, BigInteger, BigInteger) - Method in class javax.xml.datatype.DatatypeFactory
-
Create a
Duration
of typexdt:yearMonthDuration
using the specifiedyear
andmonth
as defined in XQuery 1.0 and XPath 2.0 Data Model, xdt:yearMonthDuration. - newDurationYearMonth(long) - Method in class javax.xml.datatype.DatatypeFactory
-
Create a
Duration
of typexdt:yearMonthDuration
using the specified milliseconds as defined in XQuery 1.0 and XPath 2.0 Data Model, xdt:yearMonthDuration. - newDurationYearMonth(String) - Method in class javax.xml.datatype.DatatypeFactory
-
Create a
Duration
of typexdt:yearMonthDuration
by parsing itsString
representation, "PnYnM", XQuery 1.0 and XPath 2.0 Data Model, xdt:yearMonthDuration. - newEncapsulator(PublicKey) - Method in class javax.crypto.KEM
-
Creates a KEM encapsulator on the KEM sender side.
- newEncapsulator(PublicKey, SecureRandom) - Method in class javax.crypto.KEM
-
Creates a KEM encapsulator on the KEM sender side.
- newEncapsulator(PublicKey, AlgorithmParameterSpec, SecureRandom) - Method in class javax.crypto.KEM
-
Creates a KEM encapsulator on the KEM sender side.
- newEncoder() - Method in class java.nio.charset.Charset
-
Constructs a new encoder for this charset.
- newEndElementTree(Name) - Method in interface com.sun.source.util.DocTreeFactory
-
Creates a new
EndElement
object, to represent the end of an HTML element. - newEntityTree(Name) - Method in interface com.sun.source.util.DocTreeFactory
-
Creates a new
EntityTree
object, to represent an HTML entity. - newErroneousTree(String, Diagnostic<JavaFileObject>) - Method in interface com.sun.source.util.DocTreeFactory
-
Creates a new
ErroneousTree
object, to represent some unparseable input. - newEscapeTree(char) - Method in interface com.sun.source.util.DocTreeFactory
-
Creates a new
EscapeTree
object, to represent an escaped character. - newEvent() - Method in class jdk.jfr.EventFactory
-
Instantiates an event, so it can be populated with data and written to the Flight Recorder system.
- newExceptionTree(ReferenceTree, List<? extends DocTree>) - Method in interface com.sun.source.util.DocTreeFactory
-
Creates a new
ThrowsTree
object, to represent an@exception
tag. - newFactory() - Static method in class javax.sql.rowset.RowSetProvider
-
Creates a new instance of a
RowSetFactory
implementation. - newFactory() - Static method in class javax.xml.stream.XMLEventFactory
-
Creates a new instance of the factory.
- newFactory() - Static method in class javax.xml.stream.XMLInputFactory
-
Creates a new instance of the factory.
- newFactory() - Static method in class javax.xml.stream.XMLOutputFactory
-
Creates a new instance of the factory.
- newFactory(String) - Method in class javax.xml.validation.SchemaFactoryLoader
-
Creates a new
SchemaFactory
object for the specified schema language. - newFactory(String, ClassLoader) - Static method in class javax.sql.rowset.RowSetProvider
-
Creates a new instance of a
RowSetFactory
from the specified factory class name. - newFactory(String, ClassLoader) - Static method in class javax.xml.stream.XMLEventFactory
-
Create a new instance of the factory.
- newFactory(String, ClassLoader) - Static method in class javax.xml.stream.XMLInputFactory
-
Create a new instance of the factory.
- newFactory(String, ClassLoader) - Static method in class javax.xml.stream.XMLOutputFactory
-
Create a new instance of the factory.
- newFileChannel(Path, Set<? extends OpenOption>, FileAttribute<?>...) - Method in class java.nio.file.spi.FileSystemProvider
-
Opens or creates a file for reading and/or writing, returning a file channel to access the file.
- newFileSystem(URI, Map<String, ?>) - Static method in class java.nio.file.FileSystems
-
Constructs a new file system that is identified by a
URI
- newFileSystem(URI, Map<String, ?>) - Method in class java.nio.file.spi.FileSystemProvider
-
Constructs a new
FileSystem
object identified by a URI. - newFileSystem(URI, Map<String, ?>, ClassLoader) - Static method in class java.nio.file.FileSystems
-
Constructs a new file system that is identified by a
URI
- newFileSystem(Path) - Static method in class java.nio.file.FileSystems
-
Constructs a new
FileSystem
to access the contents of a file as a file system. - newFileSystem(Path, ClassLoader) - Static method in class java.nio.file.FileSystems
-
Constructs a new
FileSystem
to access the contents of a file as a file system. - newFileSystem(Path, Map<String, ?>) - Static method in class java.nio.file.FileSystems
-
Constructs a new
FileSystem
to access the contents of a file as a file system. - newFileSystem(Path, Map<String, ?>) - Method in class java.nio.file.spi.FileSystemProvider
-
Constructs a new
FileSystem
to access the contents of a file as a file system. - newFileSystem(Path, Map<String, ?>, ClassLoader) - Static method in class java.nio.file.FileSystems
-
Constructs a new
FileSystem
to access the contents of a file as a file system. - newFixedThreadPool(int) - Static method in class java.util.concurrent.Executors
-
Creates a thread pool that reuses a fixed number of threads operating off a shared unbounded queue.
- newFixedThreadPool(int, ThreadFactory) - Static method in class java.util.concurrent.Executors
-
Creates a thread pool that reuses a fixed number of threads operating off a shared unbounded queue, using the provided ThreadFactory to create new threads when needed.
- NewFolderAction() - Constructor for class javax.swing.plaf.basic.BasicFileChooserUI.NewFolderAction
-
Constructs a
NewFolderAction
. - newFolderIcon - Variable in class javax.swing.plaf.basic.BasicFileChooserUI
-
New folder icon
- newHashMap(int) - Static method in class java.util.HashMap
-
Creates a new, empty HashMap suitable for the expected number of mappings.
- newHashSet(int) - Static method in class java.util.HashSet
-
Creates a new, empty HashSet suitable for the expected number of elements.
- newHiddenTree(List<? extends DocTree>) - Method in interface com.sun.source.util.DocTreeFactory
-
Creates a new
HiddenTree
object, to represent an@hidden
tag. - newHttpClient() - Static method in class java.net.http.HttpClient
-
Returns a new
HttpClient
with default settings. - newIdentifierTree(Name) - Method in interface com.sun.source.util.DocTreeFactory
-
Creates a new
IdentifierTree
object, to represent an identifier, such as in a@param
tag. - newIncompleteFuture() - Method in class java.util.concurrent.CompletableFuture
-
Returns a new incomplete CompletableFuture of the type to be returned by a CompletionStage method.
- newIndexTree(DocTree, List<? extends DocTree>) - Method in interface com.sun.source.util.DocTreeFactory
-
Creates a new
IndexTree
object, to represent an{@index }
tag. - newInheritDocTree() - Method in interface com.sun.source.util.DocTreeFactory
-
Creates a new
InheritDocTree
object, to represent an{@inheritDoc}
tag. - newInheritDocTree(ReferenceTree) - Method in interface com.sun.source.util.DocTreeFactory
-
Creates a new
InheritDocTree
object, to represent an{@inheritDoc}
tag. - newInputStream(AsynchronousByteChannel) - Static method in class java.nio.channels.Channels
-
Constructs a stream that reads bytes from the given channel.
- newInputStream(ReadableByteChannel) - Static method in class java.nio.channels.Channels
-
Constructs a stream that reads bytes from the given channel.
- newInputStream(Path, OpenOption...) - Static method in class java.nio.file.Files
-
Opens a file, returning an input stream to read from the file.
- newInputStream(Path, OpenOption...) - Method in class java.nio.file.spi.FileSystemProvider
-
Opens a file, returning an input stream to read from the file.
- newInstance() - Method in class java.lang.Class
-
Deprecated.This method propagates any exception thrown by the nullary constructor, including a checked exception. Use of this method effectively bypasses the compile-time exception checking that would otherwise be performed by the compiler. The
Constructor.newInstance
method avoids this problem by wrapping any exception thrown by the constructor in a (checked)InvocationTargetException
.The call
clazz.newInstance()
clazz.getDeclaredConstructor().newInstance()
InvocationTargetException
andNoSuchMethodException
. Both of these exception types are subclasses ofReflectiveOperationException
. - newInstance() - Static method in class java.lang.ScopedValuePREVIEW
-
Creates a scoped value that is initially unbound for all threads.
- newInstance() - Static method in class javax.xml.datatype.DatatypeFactory
-
Obtain a new instance of a
DatatypeFactory
. - newInstance() - Static method in class javax.xml.parsers.DocumentBuilderFactory
-
Obtains a new instance of a
DocumentBuilderFactory
. - newInstance() - Static method in class javax.xml.parsers.SAXParserFactory
-
Obtains a new instance of a
SAXParserFactory
. - newInstance() - Method in interface javax.xml.stream.util.XMLEventAllocator
-
This method creates an instance of the XMLEventAllocator.
- newInstance() - Static method in class javax.xml.stream.XMLEventFactory
-
Creates a new instance of the factory in exactly the same manner as the
XMLEventFactory.newFactory()
method. - newInstance() - Static method in class javax.xml.stream.XMLInputFactory
-
Creates a new instance of the factory in exactly the same manner as the
XMLInputFactory.newFactory()
method. - newInstance() - Static method in class javax.xml.stream.XMLOutputFactory
-
Creates a new instance of the factory in exactly the same manner as the
XMLOutputFactory.newFactory()
method. - newInstance() - Static method in class javax.xml.transform.TransformerFactory
-
Obtains a new instance of a
TransformerFactory
. - newInstance() - Static method in class javax.xml.xpath.XPathFactory
-
Get a new
XPathFactory
instance using the default object model,XPathFactory.DEFAULT_OBJECT_MODEL_URI
, the W3C DOM. - newInstance() - Static method in class org.w3c.dom.bootstrap.DOMImplementationRegistry
-
Obtain a new instance of a
DOMImplementationRegistry
. - newInstance(int) - Method in interface com.sun.jdi.ArrayType
-
Creates a new instance of this array class in the target VM.
- newInstance(ThreadReference, Method, List<? extends Value>, int) - Method in interface com.sun.jdi.ClassType
-
Constructs a new instance of this type, using the given constructor
Method
in the target VM. - newInstance(File, KeyStore.ProtectionParameter) - Static method in class java.security.KeyStore.Builder
-
Returns a new
Builder
object. - newInstance(Class<?>, int) - Static method in class java.lang.reflect.Array
-
Creates a new array with the specified component type and length.
- newInstance(Class<?>, int...) - Static method in class java.lang.reflect.Array
-
Creates a new array with the specified component type and dimensions.
- newInstance(Object) - Method in class java.security.Provider.Service
-
Return a new instance of the implementation described by this service.
- newInstance(Object...) - Method in class java.lang.reflect.Constructor
-
Uses the constructor represented by this
Constructor
object to create and initialize a new instance of the constructor's declaring class, with the specified initialization parameters. - newInstance(String) - Static method in class javax.xml.validation.SchemaFactory
-
Obtains a new instance of a
SchemaFactory
that supports the specified schema language. - newInstance(String) - Static method in class javax.xml.xpath.XPathFactory
-
Obtains a new
XPathFactory
instance using the specified object model. - newInstance(String, ClassLoader) - Static method in class javax.xml.datatype.DatatypeFactory
-
Obtain a new instance of a
DatatypeFactory
from class name. - newInstance(String, ClassLoader) - Static method in class javax.xml.parsers.DocumentBuilderFactory
-
Obtain a new instance of a
DocumentBuilderFactory
from class name. - newInstance(String, ClassLoader) - Static method in class javax.xml.parsers.SAXParserFactory
-
Obtain a new instance of a
SAXParserFactory
from class name. - newInstance(String, ClassLoader) - Static method in class javax.xml.stream.XMLEventFactory
-
Deprecated.This method has been deprecated to maintain API consistency. All newInstance methods have been replaced with corresponding newFactory methods. The replacement
XMLEventFactory.newFactory(java.lang.String, java.lang.ClassLoader)
method defines no changes in behavior. - newInstance(String, ClassLoader) - Static method in class javax.xml.stream.XMLInputFactory
-
Deprecated.This method has been deprecated to maintain API consistency. All newInstance methods have been replaced with corresponding newFactory methods. The replacement
XMLInputFactory.newFactory(java.lang.String, java.lang.ClassLoader)
method defines no changes in behavior. - newInstance(String, ClassLoader) - Static method in class javax.xml.stream.XMLOutputFactory
-
Deprecated.This method has been deprecated because it returns an instance of XMLInputFactory, which is of the wrong class. Use the new method
XMLOutputFactory.newFactory(java.lang.String, java.lang.ClassLoader)
instead. - newInstance(String, ClassLoader) - Static method in class javax.xml.transform.TransformerFactory
-
Obtain a new instance of a
TransformerFactory
from factory class name. - newInstance(String, String, ClassLoader) - Static method in class javax.xml.validation.SchemaFactory
-
Obtain a new instance of a
SchemaFactory
from class name. - newInstance(String, String, ClassLoader) - Static method in class javax.xml.xpath.XPathFactory
-
Obtain a new instance of a
XPathFactory
from a factory class name. - newInstance(String, Provider, File, KeyStore.ProtectionParameter) - Static method in class java.security.KeyStore.Builder
-
Returns a new
Builder
object. - newInstance(String, Provider, KeyStore.ProtectionParameter) - Static method in class java.security.KeyStore.Builder
-
Returns a new
Builder
object. - newInstance(URL[]) - Static method in class java.net.URLClassLoader
-
Creates a new instance of URLClassLoader for the specified URLs and default parent class loader.
- newInstance(URL[], ClassLoader) - Static method in class java.net.URLClassLoader
-
Creates a new instance of URLClassLoader for the specified URLs and parent class loader.
- newInstance(KeyStore, KeyStore.ProtectionParameter) - Static method in class java.security.KeyStore.Builder
-
Returns a new
Builder
that encapsulates the givenKeyStore
. - newInstance(Control[]) - Method in class javax.naming.ldap.InitialLdapContext
- newInstance(Control[]) - Method in interface javax.naming.ldap.LdapContext
-
Creates a new instance of this context initialized using request controls.
- newJMXConnector(JMXServiceURL, Map<String, ?>) - Static method in class javax.management.remote.JMXConnectorFactory
-
Creates a connector client for the connector server at the given address.
- newJMXConnector(JMXServiceURL, Map<String, ?>) - Method in interface javax.management.remote.JMXConnectorProvider
-
Creates a new connector client that is ready to connect to the connector server at the given address.
- newJMXConnectorServer(JMXServiceURL, Map<String, ?>, MBeanServer) - Static method in class javax.management.remote.JMXConnectorServerFactory
-
Creates a connector server at the given address.
- newJMXConnectorServer(JMXServiceURL, Map<String, ?>, MBeanServer) - Method in interface javax.management.remote.JMXConnectorServerProvider
-
Creates a new connector server at the given address.
- newKeyInfo(List<? extends XMLStructure>) - Method in class javax.xml.crypto.dsig.keyinfo.KeyInfoFactory
-
Creates a
KeyInfo
containing the specified list of key information types. - newKeyInfo(List<? extends XMLStructure>, String) - Method in class javax.xml.crypto.dsig.keyinfo.KeyInfoFactory
-
Creates a
KeyInfo
containing the specified list of key information types and optional id. - newKeyName(String) - Method in class javax.xml.crypto.dsig.keyinfo.KeyInfoFactory
-
Creates a
KeyName
from the specified name. - newKeySet() - Static method in class java.util.concurrent.ConcurrentHashMap
-
Creates a new
Set
backed by a ConcurrentHashMap from the given type toBoolean.TRUE
. - newKeySet(int) - Static method in class java.util.concurrent.ConcurrentHashMap
-
Creates a new
Set
backed by a ConcurrentHashMap from the given type toBoolean.TRUE
. - newKeyValue(PublicKey) - Method in class javax.xml.crypto.dsig.keyinfo.KeyInfoFactory
-
Creates a
KeyValue
from the specified public key. - newLabel() - Method in interface java.lang.classfile.CodeBuilder
-
Returns a fresh unbound label.
- newLeadSelectionPath - Variable in class javax.swing.event.TreeSelectionEvent
-
leadSelectionPath after the paths changed, may be null.
- newLine() - Method in class java.io.BufferedWriter
-
Writes a line separator.
- NEWLINE - Static variable in class javax.swing.text.AbstractWriter
-
How the text packages models newlines.
- newLinkedHashMap(int) - Static method in class java.util.LinkedHashMap
-
Creates a new, empty, insertion-ordered LinkedHashMap suitable for the expected number of mappings.
- newLinkedHashSet(int) - Static method in class java.util.LinkedHashSet
-
Creates a new, empty LinkedHashSet suitable for the expected number of elements.
- newLinkPlainTree(ReferenceTree, List<? extends DocTree>) - Method in interface com.sun.source.util.DocTreeFactory
-
Creates a new
LinkTree
object, to represent a{@linkplain }
tag. - newLinkTree(ReferenceTree, List<? extends DocTree>) - Method in interface com.sun.source.util.DocTreeFactory
-
Creates a new
LinkTree
object, to represent a{@link }
tag. - newLiteralTree(TextTree) - Method in interface com.sun.source.util.DocTreeFactory
-
Creates a new
LiteralTree
object, to represent a{@literal }
tag. - newManifest(List<? extends Reference>) - Method in class javax.xml.crypto.dsig.XMLSignatureFactory
-
Creates a
Manifest
containing the specified list ofReference
s. - newManifest(List<? extends Reference>, String) - Method in class javax.xml.crypto.dsig.XMLSignatureFactory
-
Creates a
Manifest
containing the specified list ofReference
s and optional id. - newMBeanProxy(MBeanServerConnection, ObjectName, Class<T>) - Static method in class javax.management.JMX
-
Make a proxy for a Standard MBean in a local or remote MBean Server.
- newMBeanProxy(MBeanServerConnection, ObjectName, Class<T>, boolean) - Static method in class javax.management.JMX
-
Make a proxy for a Standard MBean in a local or remote MBean Server that may also support the methods of
NotificationEmitter
. - newMBeanServer() - Static method in class javax.management.MBeanServerFactory
-
Return a new object implementing the MBeanServer interface with a standard default domain name, without keeping an internal reference to this new object.
- newMBeanServer(String) - Static method in class javax.management.MBeanServerFactory
-
Return a new object implementing the MBeanServer interface with the specified default domain name, without keeping an internal reference to this new object.
- newMBeanServer(String, MBeanServer, MBeanServerDelegate) - Method in class javax.management.MBeanServerBuilder
-
This method creates a new MBeanServer implementation object.
- newMBeanServerDelegate() - Method in class javax.management.MBeanServerBuilder
-
This method creates a new MBeanServerDelegate for a new MBeanServer.
- newmodel - Variable in class java.awt.image.RGBImageFilter
-
The
ColorModel
with which to replaceorigmodel
when the user callssubstituteColorModel
. - newModule(String) - Static method in class java.lang.module.ModuleDescriptor
-
Instantiates a builder to build a module descriptor for a normal module.
- newModule(String, Set<ModuleDescriptor.Modifier>) - Static method in class java.lang.module.ModuleDescriptor
-
Instantiates a builder to build a module descriptor.
- NewMultiArrayInstruction - Interface in java.lang.classfile.instruction
-
Models a
multianewarray
invocation instruction in thecode
array of aCode
attribute. - newMXBeanProxy(MBeanServerConnection, ObjectName, Class<T>) - Static method in class javax.management.JMX
-
Make a proxy for an MXBean in a local or remote MBean Server.
- newMXBeanProxy(MBeanServerConnection, ObjectName, Class<T>, boolean) - Static method in class javax.management.JMX
-
Make a proxy for an MXBean in a local or remote MBean Server that may also support the methods of
NotificationEmitter
. - newNode - Variable in class java.util.prefs.AbstractPreferences
-
This field should be
true
if this node did not exist in the backing store prior to the creation of this object. - newNSInstance() - Static method in class javax.xml.parsers.DocumentBuilderFactory
-
Creates a new NamespaceAware instance of a
DocumentBuilderFactory
. - newNSInstance() - Static method in class javax.xml.parsers.SAXParserFactory
-
Creates a new NamespaceAware instance of a
SAXParserFactory
. - newNSInstance(String, ClassLoader) - Static method in class javax.xml.parsers.DocumentBuilderFactory
-
Creates a new NamespaceAware instance of a
DocumentBuilderFactory
from the class name. - newNSInstance(String, ClassLoader) - Static method in class javax.xml.parsers.SAXParserFactory
-
Creates a new NamespaceAware instance of a
SAXParserFactory
from the class name. - NewObjectInstruction - Interface in java.lang.classfile.instruction
-
Models a
new
instruction in thecode
array of aCode
attribute. - newOpenModule(String) - Static method in class java.lang.module.ModuleDescriptor
-
Instantiates a builder to build a module descriptor for an open module.
- newOutputStream(AsynchronousByteChannel) - Static method in class java.nio.channels.Channels
-
Constructs a stream that writes bytes to the given channel.
- newOutputStream(WritableByteChannel) - Static method in class java.nio.channels.Channels
-
Constructs a stream that writes bytes to the given channel.
- newOutputStream(Path, OpenOption...) - Static method in class java.nio.file.Files
-
Opens or creates a file, returning an output stream that may be used to write bytes to the file.
- newOutputStream(Path, OpenOption...) - Method in class java.nio.file.spi.FileSystemProvider
-
Opens or creates a file, returning an output stream that may be used to write bytes to the file.
- newParamTree(boolean, IdentifierTree, List<? extends DocTree>) - Method in interface com.sun.source.util.DocTreeFactory
-
Creates a new
ParamTree
object, to represent a@param
tag. - newPermissionCollection() - Method in class java.io.FilePermission
-
Returns a new PermissionCollection object for storing FilePermission objects.
- newPermissionCollection() - Method in class java.net.SocketPermission
-
Returns a new PermissionCollection object for storing SocketPermission objects.
- newPermissionCollection() - Method in class java.security.AllPermission
-
Returns a new
PermissionCollection
for storingAllPermission
objects. - newPermissionCollection() - Method in class java.security.BasicPermission
-
Returns a new
PermissionCollection
object for storingBasicPermission
objects. - newPermissionCollection() - Method in class java.security.Permission
-
Returns an empty
PermissionCollection
for a givenPermission
object, ornull
if one is not defined. - newPermissionCollection() - Method in class java.security.UnresolvedPermission
-
Returns a new PermissionCollection object for storing
UnresolvedPermission
objects. - newPermissionCollection() - Method in class java.util.PropertyPermission
-
Returns a new PermissionCollection object for storing PropertyPermission objects.
- newPermissionCollection() - Method in class javax.security.auth.kerberos.DelegationPermission
-
Returns a PermissionCollection object for storing DelegationPermission objects.
- newPermissionCollection() - Method in class javax.security.auth.kerberos.ServicePermission
-
Returns a PermissionCollection object for storing ServicePermission objects.
- newPermissionCollection() - Method in class javax.security.auth.PrivateCredentialPermission
-
Return a homogeneous collection of PrivateCredentialPermissions in a
PermissionCollection
. - newPGPData(byte[]) - Method in class javax.xml.crypto.dsig.keyinfo.KeyInfoFactory
-
Creates a
PGPData
from the specified PGP public key identifier. - newPGPData(byte[], byte[], List<? extends XMLStructure>) - Method in class javax.xml.crypto.dsig.keyinfo.KeyInfoFactory
-
Creates a
PGPData
from the specified PGP public key identifier, and optional key material packet and list of external elements. - newPGPData(byte[], List<? extends XMLStructure>) - Method in class javax.xml.crypto.dsig.keyinfo.KeyInfoFactory
-
Creates a
PGPData
from the specified PGP key material packet and optional list of external elements. - newPixels() - Method in class java.awt.image.MemoryImageSource
-
Sends a whole new buffer of pixels to any ImageConsumers that are currently interested in the data for this image and notify them that an animation frame is complete.
- newPixels(byte[], ColorModel, int, int) - Method in class java.awt.image.MemoryImageSource
-
Changes to a new byte array to hold the pixels for this image.
- newPixels(int[], ColorModel, int, int) - Method in class java.awt.image.MemoryImageSource
-
Changes to a new int array to hold the pixels for this image.
- newPixels(int, int, int, int) - Method in class java.awt.image.MemoryImageSource
-
Sends a rectangular region of the buffer of pixels to any ImageConsumers that are currently interested in the data for this image and notify them that an animation frame is complete.
- newPixels(int, int, int, int, boolean) - Method in class java.awt.image.MemoryImageSource
-
Sends a rectangular region of the buffer of pixels to any ImageConsumers that are currently interested in the data for this image.
- newPlatformMXBeanProxy(MBeanServerConnection, String, Class<T>) - Static method in class java.lang.management.ManagementFactory
-
Returns a proxy for a platform MXBean interface of a given MXBean name that forwards its method calls through the given
MBeanServerConnection
. - NewPrimitiveArrayInstruction - Interface in java.lang.classfile.instruction
-
Models a
newarray
invocation instruction in thecode
array of aCode
attribute. - newProvidesTree(ReferenceTree, List<? extends DocTree>) - Method in interface com.sun.source.util.DocTreeFactory
-
Creates a new
ProvidesTree
object, to represent a@provides
tag. - newProxyInstance(ClassLoader, Class<?>[], InvocationHandler) - Static method in class java.lang.reflect.Proxy
-
Returns a proxy instance for the specified interfaces that dispatches method invocations to the specified invocation handler.
- newProxyInstance(MBeanServerConnection, ObjectName, Class<T>, boolean) - Static method in class javax.management.MBeanServerInvocationHandler
-
Return a proxy that implements the given interface by forwarding its methods through the given MBean server to the named MBean.
- newRawTextTree(DocTree.Kind, String) - Method in interface com.sun.source.util.DocTreeFactory
-
Creates a new
RawTextTree
object, to represent a fragment of uninterpreted raw text. - newReader(ReadableByteChannel, String) - Static method in class java.nio.channels.Channels
-
Constructs a reader that decodes bytes from the given channel according to the named charset.
- newReader(ReadableByteChannel, Charset) - Static method in class java.nio.channels.Channels
-
Constructs a reader that decodes bytes from the given channel according to the given charset.
- newReader(ReadableByteChannel, CharsetDecoder, int) - Static method in class java.nio.channels.Channels
-
Constructs a reader that decodes bytes from the given channel using the given decoder.
- newRecording() - Method in interface jdk.management.jfr.FlightRecorderMXBean
-
Creates a recording, but doesn't start it.
- newReference(String, DigestMethod) - Method in class javax.xml.crypto.dsig.XMLSignatureFactory
-
Creates a
Reference
with the specified URI and digest method. - newReference(String, DigestMethod, List<? extends Transform>, String, String) - Method in class javax.xml.crypto.dsig.XMLSignatureFactory
-
Creates a
Reference
with the specified parameters. - newReference(String, DigestMethod, List<? extends Transform>, String, String, byte[]) - Method in class javax.xml.crypto.dsig.XMLSignatureFactory
-
Creates a
Reference
with the specified parameters and pre-calculated digest value. - newReference(String, DigestMethod, List<? extends Transform>, Data, List<? extends Transform>, String, String) - Method in class javax.xml.crypto.dsig.XMLSignatureFactory
-
Creates a
Reference
with the specified parameters. - NewReferenceArrayInstruction - Interface in java.lang.classfile.instruction
-
Models a
anewarray
invocation instruction in thecode
array of aCode
attribute. - newReferenceTree(String) - Method in interface com.sun.source.util.DocTreeFactory
-
Creates a new
ReferenceTree
object, to represent a reference to an API element. - newRetrievalMethod(String) - Method in class javax.xml.crypto.dsig.keyinfo.KeyInfoFactory
-
Creates a
RetrievalMethod
from the specified URI. - newRetrievalMethod(String, String, List<? extends Transform>) - Method in class javax.xml.crypto.dsig.keyinfo.KeyInfoFactory
-
Creates a
RetrievalMethod
from the specified parameters. - newReturnTree(boolean, List<? extends DocTree>) - Method in interface com.sun.source.util.DocTreeFactory
-
Creates a new
ReturnTree
object, to represent a@return
tag or{@return}
tag. - newReturnTree(List<? extends DocTree>) - Method in interface com.sun.source.util.DocTreeFactory
-
Creates a new
ReturnTree
object, to represent a@return
tag. - newRowsAdded(TableModelEvent) - Method in class javax.swing.table.DefaultTableModel
-
Ensures that the new rows have the correct number of columns.
- NEWS - Static variable in class javax.print.attribute.standard.ReferenceUriSchemesSupported
-
USENET news.
- newSAXParser() - Method in class javax.xml.parsers.SAXParserFactory
-
Creates a new instance of a SAXParser using the currently configured factory parameters.
- newScheduledThreadPool(int) - Static method in class java.util.concurrent.Executors
-
Creates a thread pool that can schedule commands to run after a given delay, or to execute periodically.
- newScheduledThreadPool(int, ThreadFactory) - Static method in class java.util.concurrent.Executors
-
Creates a thread pool that can schedule commands to run after a given delay, or to execute periodically.
- newSchema() - Method in class javax.xml.validation.SchemaFactory
-
Creates a special
Schema
object. - newSchema(File) - Method in class javax.xml.validation.SchemaFactory
-
Parses the specified
File
as a schema and returns it as aSchema
. - newSchema(URL) - Method in class javax.xml.validation.SchemaFactory
-
Parses the specified
URL
as a schema and returns it as aSchema
. - newSchema(Source) - Method in class javax.xml.validation.SchemaFactory
-
Parses the specified source as a schema and returns it as a schema.
- newSchema(Source[]) - Method in class javax.xml.validation.SchemaFactory
-
Parses the specified source(s) as a schema and returns it as a schema.
- newSeeTree(List<? extends DocTree>) - Method in interface com.sun.source.util.DocTreeFactory
-
Creates a new
SeeTree
object, to represent a@see
tag. - newSequencedSetFromMap(SequencedMap<E, Boolean>) - Static method in class java.util.Collections
-
Returns a sequenced set backed by the specified map.
- newSerialDataTree(List<? extends DocTree>) - Method in interface com.sun.source.util.DocTreeFactory
-
Creates a new
SerialDataTree
object, to represent a@serialData
tag. - newSerialFieldTree(IdentifierTree, ReferenceTree, List<? extends DocTree>) - Method in interface com.sun.source.util.DocTreeFactory
-
Creates a new
SerialFieldTree
object, to represent a@serialField
tag. - newSerialTree(List<? extends DocTree>) - Method in interface com.sun.source.util.DocTreeFactory
-
Creates a new
SerialTree
object, to represent a@serial
tag. - newSetFromMap(Map<E, Boolean>) - Static method in class java.util.Collections
-
Returns a set backed by the specified map.
- newSignatureMethod(String, SignatureMethodParameterSpec) - Method in class javax.xml.crypto.dsig.XMLSignatureFactory
-
Creates a
SignatureMethod
for the specified algorithm URI and parameters. - newSignatureProperties(List<? extends SignatureProperty>, String) - Method in class javax.xml.crypto.dsig.XMLSignatureFactory
-
Creates a
SignatureProperties
containing the specified list ofSignatureProperty
s and optional id. - newSignatureProperty(List<? extends XMLStructure>, String, String) - Method in class javax.xml.crypto.dsig.XMLSignatureFactory
-
Creates a
SignatureProperty
containing the specified list ofXMLStructure
s, target URI and optional id. - newSignedInfo(CanonicalizationMethod, SignatureMethod, List<? extends Reference>) - Method in class javax.xml.crypto.dsig.XMLSignatureFactory
-
Creates a
SignedInfo
with the specified canonicalization and signature methods, and list of one or more references. - newSignedInfo(CanonicalizationMethod, SignatureMethod, List<? extends Reference>, String) - Method in class javax.xml.crypto.dsig.XMLSignatureFactory
-
Creates a
SignedInfo
with the specified parameters. - newSinceTree(List<? extends DocTree>) - Method in interface com.sun.source.util.DocTreeFactory
-
Creates a new
SinceTree
object, to represent a@since
tag. - newSingleThreadExecutor() - Static method in class java.util.concurrent.Executors
-
Creates an Executor that uses a single worker thread operating off an unbounded queue.
- newSingleThreadExecutor(ThreadFactory) - Static method in class java.util.concurrent.Executors
-
Creates an Executor that uses a single worker thread operating off an unbounded queue, and uses the provided ThreadFactory to create a new thread when needed.
- newSingleThreadScheduledExecutor() - Static method in class java.util.concurrent.Executors
-
Creates a single-threaded executor that can schedule commands to run after a given delay, or to execute periodically.
- newSingleThreadScheduledExecutor(ThreadFactory) - Static method in class java.util.concurrent.Executors
-
Creates a single-threaded executor that can schedule commands to run after a given delay, or to execute periodically.
- newSnippetTree(List<? extends DocTree>, TextTree) - Method in interface com.sun.source.util.DocTreeFactory
-
Creates a new
SnippetTree
object, to represent a{@snippet }
tag. - newSpecTree(TextTree, List<? extends DocTree>) - Method in interface com.sun.source.util.DocTreeFactory
-
Creates a new
SpecTree
object, to represent an@spec
tag. - newStartElementTree(Name, List<? extends DocTree>, boolean) - Method in interface com.sun.source.util.DocTreeFactory
-
Creates a new
StartElementTree
object, to represent the start of an HTML element. - newSummaryTree(List<? extends DocTree>) - Method in interface com.sun.source.util.DocTreeFactory
-
Creates a new
SummaryTree
object, to represent a{@summary }
tag. - newSwingWorker() - Method in class com.sun.tools.jconsole.JConsolePlugin
-
Returns a
SwingWorker
to perform the GUI update for this plugin at the same interval as JConsole updates the GUI. - newSystemPropertyTree(Name) - Method in interface com.sun.source.util.DocTreeFactory
-
Creates a new
SystemPropertyTree
object, to represent a{@systemProperty }
tag. - newTarget() - Method in interface java.lang.classfile.attribute.StackMapFrameInfo.UninitializedVerificationTypeInfo
-
Returns the
new
instruction position that creates this unitialized object. - newTaskFor(Runnable, T) - Method in class java.util.concurrent.AbstractExecutorService
-
Returns a
RunnableFuture
for the given runnable and default value. - newTaskFor(Callable<T>) - Method in class java.util.concurrent.AbstractExecutorService
-
Returns a
RunnableFuture
for the given callable task. - newTemplates(Source) - Method in class javax.xml.transform.TransformerFactory
-
Process the Source into a Templates object, which is a a compiled representation of the source.
- newTemplatesHandler() - Method in class javax.xml.transform.sax.SAXTransformerFactory
-
Get a TemplatesHandler object that can process SAX ContentHandler events into a Templates object.
- newTextTree(String) - Method in interface com.sun.source.util.DocTreeFactory
-
Creates a new
TextTree
object, to represent some plain text. - newThread(Runnable) - Method in interface java.util.concurrent.ThreadFactory
-
Constructs a new unstarted
Thread
to run the given runnable. - newThread(ForkJoinPool) - Method in interface java.util.concurrent.ForkJoinPool.ForkJoinWorkerThreadFactory
-
Returns a new worker thread operating in the given pool.
- newThreadPerTaskExecutor(ThreadFactory) - Static method in class java.util.concurrent.Executors
-
Creates an Executor that starts a new Thread for each task.
- newThrowsTree(ReferenceTree, List<? extends DocTree>) - Method in interface com.sun.source.util.DocTreeFactory
-
Creates a new
ThrowsTree
object, to represent a@throws
tag. - newTransform(String, TransformParameterSpec) - Method in class javax.xml.crypto.dsig.XMLSignatureFactory
-
Creates a
Transform
for the specified algorithm URI and parameters. - newTransform(String, XMLStructure) - Method in class javax.xml.crypto.dsig.XMLSignatureFactory
-
Creates a
Transform
for the specified algorithm URI and parameters. - newTransformer() - Method in interface javax.xml.transform.Templates
-
Create a new transformation context for this Templates object.
- newTransformer() - Method in class javax.xml.transform.TransformerFactory
-
Create a new
Transformer
that performs a copy of theSource
to theResult
, i.e. the "identity transform". - newTransformer(Source) - Method in class javax.xml.transform.TransformerFactory
-
Process the
Source
into aTransformer
Object
. - newTransformerHandler() - Method in class javax.xml.transform.sax.SAXTransformerFactory
-
Get a TransformerHandler object that can process SAX ContentHandler events into a Result.
- newTransformerHandler(Source) - Method in class javax.xml.transform.sax.SAXTransformerFactory
-
Get a TransformerHandler object that can process SAX ContentHandler events into a Result, based on the transformation instructions specified by the argument.
- newTransformerHandler(Templates) - Method in class javax.xml.transform.sax.SAXTransformerFactory
-
Get a TransformerHandler object that can process SAX ContentHandler events into a Result, based on the Templates argument.
- newUnknownBlockTagTree(Name, List<? extends DocTree>) - Method in interface com.sun.source.util.DocTreeFactory
-
Creates a new
UnknownBlockTagTree
object, to represent an unrecognized block tag. - newUnknownInlineTagTree(Name, List<? extends DocTree>) - Method in interface com.sun.source.util.DocTreeFactory
-
Creates a new
UnknownInlineTagTree
object, to represent an unrecognized inline tag. - newUpdater(Class<U>, Class<W>, String) - Static method in class java.util.concurrent.atomic.AtomicReferenceFieldUpdater
-
Creates and returns an updater for objects with the given field.
- newUpdater(Class<U>, String) - Static method in class java.util.concurrent.atomic.AtomicIntegerFieldUpdater
-
Creates and returns an updater for objects with the given field.
- newUpdater(Class<U>, String) - Static method in class java.util.concurrent.atomic.AtomicLongFieldUpdater
-
Creates and returns an updater for objects with the given field.
- newUsesTree(ReferenceTree, List<? extends DocTree>) - Method in interface com.sun.source.util.DocTreeFactory
-
Creates a new
UsesTree
object, to represent a@uses
tag. - newValidator() - Method in class javax.xml.validation.Schema
- newValidatorHandler() - Method in class javax.xml.validation.Schema
-
Creates a new
ValidatorHandler
for thisSchema
. - newValueTree(ReferenceTree) - Method in interface com.sun.source.util.DocTreeFactory
-
Creates a new
ValueTree
object, to represent a{@value }
tag. - newValueTree(TextTree, ReferenceTree) - Method in interface com.sun.source.util.DocTreeFactory
-
Creates a new
ValueTree
object, to represent a{@value }
tag. - newVersionTree(List<? extends DocTree>) - Method in interface com.sun.source.util.DocTreeFactory
-
Creates a new
VersionTree
object, to represent a{@version }
tag. - newVirtualThreadPerTaskExecutor() - Static method in class java.util.concurrent.Executors
-
Creates an Executor that starts a new virtual Thread for each task.
- newWatchService() - Method in class java.nio.file.FileSystem
-
Constructs a new
WatchService
(optional operation). - newWeakHashMap(int) - Static method in class java.util.WeakHashMap
-
Creates a new, empty WeakHashMap suitable for the expected number of mappings.
- newWebSocketBuilder() - Method in class java.net.http.HttpClient
-
Creates a new
WebSocket
builder (optional operation). - newWorkStealingPool() - Static method in class java.util.concurrent.Executors
-
Creates a work-stealing thread pool using the number of available processors as its target parallelism level.
- newWorkStealingPool(int) - Static method in class java.util.concurrent.Executors
-
Creates a thread pool that maintains enough threads to support the given parallelism level, and may use multiple queues to reduce contention.
- newWriter(WritableByteChannel, String) - Static method in class java.nio.channels.Channels
-
Constructs a writer that encodes characters according to the named charset and writes the resulting bytes to the given channel.
- newWriter(WritableByteChannel, Charset) - Static method in class java.nio.channels.Channels
-
Constructs a writer that encodes characters according to the given charset and writes the resulting bytes to the given channel.
- newWriter(WritableByteChannel, CharsetEncoder, int) - Static method in class java.nio.channels.Channels
-
Constructs a writer that encodes characters using the given encoder and writes the resulting bytes to the given channel.
- newX509Data(List<?>) - Method in class javax.xml.crypto.dsig.keyinfo.KeyInfoFactory
-
Creates a
X509Data
containing the specified list of X.509 content. - newX509IssuerSerial(String, BigInteger) - Method in class javax.xml.crypto.dsig.keyinfo.KeyInfoFactory
-
Creates an
X509IssuerSerial
from the specified X.500 issuer distinguished name and serial number. - newXMLFilter(Source) - Method in class javax.xml.transform.sax.SAXTransformerFactory
-
Create an XMLFilter that uses the given Source as the transformation instructions.
- newXMLFilter(Templates) - Method in class javax.xml.transform.sax.SAXTransformerFactory
-
Create an XMLFilter, based on the Templates argument..
- newXMLGregorianCalendar() - Method in class javax.xml.datatype.DatatypeFactory
-
Create a new instance of an
XMLGregorianCalendar
. - newXMLGregorianCalendar(int, int, int, int, int, int, int, int) - Method in class javax.xml.datatype.DatatypeFactory
-
Constructor of value spaces that a
java.util.GregorianCalendar
instance would need to convert to anXMLGregorianCalendar
instance. - newXMLGregorianCalendar(String) - Method in class javax.xml.datatype.DatatypeFactory
-
Create a new XMLGregorianCalendar by parsing the String as a lexical representation.
- newXMLGregorianCalendar(BigInteger, int, int, int, int, int, BigDecimal, int) - Method in class javax.xml.datatype.DatatypeFactory
-
Constructor allowing for complete value spaces allowed by W3C XML Schema 1.0 recommendation for xsd:dateTime and related builtin datatypes.
- newXMLGregorianCalendar(GregorianCalendar) - Method in class javax.xml.datatype.DatatypeFactory
-
Create an
XMLGregorianCalendar
from aGregorianCalendar
. - newXMLGregorianCalendarDate(int, int, int, int) - Method in class javax.xml.datatype.DatatypeFactory
-
Create a Java representation of XML Schema builtin datatype
date
org*
. - newXMLGregorianCalendarTime(int, int, int, int) - Method in class javax.xml.datatype.DatatypeFactory
-
Create a Java instance of XML Schema builtin datatype
time
. - newXMLGregorianCalendarTime(int, int, int, int, int) - Method in class javax.xml.datatype.DatatypeFactory
-
Create a Java instance of XML Schema builtin datatype time.
- newXMLGregorianCalendarTime(int, int, int, BigDecimal, int) - Method in class javax.xml.datatype.DatatypeFactory
-
Create a Java instance of XML Schema builtin datatype time.
- newXMLObject(List<? extends XMLStructure>, String, String, String) - Method in class javax.xml.crypto.dsig.XMLSignatureFactory
-
Creates an
XMLObject
from the specified parameters. - newXMLSignature(SignedInfo, KeyInfo) - Method in class javax.xml.crypto.dsig.XMLSignatureFactory
-
Creates an
XMLSignature
and initializes it with the contents of the specifiedSignedInfo
andKeyInfo
objects. - newXMLSignature(SignedInfo, KeyInfo, List<? extends XMLObject>, String, String) - Method in class javax.xml.crypto.dsig.XMLSignatureFactory
-
Creates an
XMLSignature
and initializes it with the specified parameters. - newXPath() - Method in class javax.xml.xpath.XPathFactory
-
Return a new
XPath
using the underlying object model determined when theXPathFactory
was instantiated. - next - Variable in class javax.swing.text.html.parser.AttributeList
-
The next attribute in the list
- next - Variable in class javax.swing.text.html.parser.ContentModel
-
The next content model (in a ',', '|' or '&' expression).
- next() - Method in class java.awt.geom.FlatteningPathIterator
-
Moves the iterator to the next segment of the path forwards along the primary direction of traversal as long as there are more points in that direction.
- next() - Method in interface java.awt.geom.PathIterator
-
Moves the iterator to the next segment of the path forwards along the primary direction of traversal as long as there are more points in that direction.
- next() - Method in class java.beans.beancontext.BeanContextSupport.BCSIterator
-
Deprecated.
- next() - Method in interface java.sql.ResultSet
-
Moves the cursor forward one row from its current position.
- next() - Method in class java.text.BreakIterator
-
Returns the boundary following the current boundary.
- next() - Method in interface java.text.CharacterIterator
-
Increments the iterator's index by one and returns the character at the new index.
- next() - Method in class java.text.CollationElementIterator
-
Get the next collation element in the string.
- next() - Method in class java.text.StringCharacterIterator
-
Implements CharacterIterator.next() for String.
- next() - Method in interface java.util.Iterator
-
Returns the next element in the iteration.
- next() - Method in interface java.util.ListIterator
-
Returns the next element in the list and advances the cursor position.
- next() - Method in interface java.util.PrimitiveIterator.OfDouble
-
Returns the next element in the iteration.
- next() - Method in interface java.util.PrimitiveIterator.OfInt
-
Returns the next element in the iteration.
- next() - Method in interface java.util.PrimitiveIterator.OfLong
-
Returns the next element in the iteration.
- next() - Method in class java.util.Scanner
-
Finds and returns the next complete token from this scanner.
- next() - Method in interface javax.naming.NamingEnumeration
-
Retrieves the next element in the enumeration.
- next() - Method in interface javax.print.MultiDoc
-
Go to the multidoc object that contains the next doc object in the sequence of doc objects.
- next() - Method in class javax.swing.text.ElementIterator
-
Fetches the next
Element
. - next() - Method in class javax.swing.text.html.HTMLDocument.Iterator
-
Move the iterator forward to the next occurrence of the tag it represents.
- next() - Method in class javax.swing.text.Segment
-
Increments the iterator's index by one and returns the character at the new index.
- next() - Method in class javax.xml.stream.util.EventReaderDelegate
- next() - Method in class javax.xml.stream.util.StreamReaderDelegate
- next() - Method in interface javax.xml.stream.XMLStreamReader
-
Get next parsing event - a processor may return all contiguous character data in a single chunk, or it may split it into several chunks.
- next(int) - Method in class java.security.SecureRandom
-
Generates an integer containing the user-specified number of pseudo-random bits (right justified, with leading zeros).
- next(int) - Method in class java.text.BreakIterator
-
Returns the nth boundary from the current boundary.
- next(int) - Method in class java.util.concurrent.ThreadLocalRandom
-
Generates a pseudorandom number with the indicated number of low-order bits.
- next(int) - Method in class java.util.Random
-
Generates the next pseudorandom number.
- next(int) - Method in class javax.print.attribute.SetOfIntegerSyntax
-
Determine the smallest integer in this set-of-integer attribute that is greater than the given value.
- next(Container) - Method in class java.awt.CardLayout
-
Flips to the next card of the specified container.
- next(String) - Method in class java.util.Scanner
-
Returns the next token if it matches the pattern constructed from the specified string.
- next(DayOfWeek) - Static method in class java.time.temporal.TemporalAdjusters
-
Returns the next day-of-week adjuster, which adjusts the date to the first occurrence of the specified day-of-week after the date being adjusted.
- next(Pattern) - Method in class java.util.Scanner
-
Returns the next token if it matches the specified pattern.
- NEXT - Static variable in interface javax.swing.SwingConstants
-
Identifies the next direction in a sequence.
- nextAfter(double, double) - Static method in class java.lang.Math
-
Returns the floating-point number adjacent to the first argument in the direction of the second argument.
- nextAfter(double, double) - Static method in class java.lang.StrictMath
-
Returns the floating-point number adjacent to the first argument in the direction of the second argument.
- nextAfter(float, double) - Static method in class java.lang.Math
-
Returns the floating-point number adjacent to the first argument in the direction of the second argument.
- nextAfter(float, double) - Static method in class java.lang.StrictMath
-
Returns the floating-point number adjacent to the first argument in the direction of the second argument.
- nextBigDecimal() - Method in class java.util.Scanner
-
Scans the next token of the input as a
BigDecimal
. - nextBigInteger() - Method in class java.util.Scanner
-
Scans the next token of the input as a
BigInteger
. - nextBigInteger(int) - Method in class java.util.Scanner
-
Scans the next token of the input as a
BigInteger
. - nextBoolean() - Method in class java.util.Random
-
Returns the next pseudorandom, uniformly distributed
boolean
value from this random number generator's sequence. - nextBoolean() - Method in interface java.util.random.RandomGenerator
-
Returns a pseudorandomly chosen
boolean
value. - nextBoolean() - Method in class java.util.Scanner
-
Scans the next token of the input into a boolean value and returns that value.
- nextByte() - Method in class java.util.Scanner
-
Scans the next token of the input as a
byte
. - nextByte(int) - Method in class java.util.Scanner
-
Scans the next token of the input as a
byte
. - nextBytes(byte[]) - Method in class java.security.SecureRandom
-
Generates a user-specified number of random bytes.
- nextBytes(byte[]) - Method in class java.util.Random
-
Generates random bytes and places them into a user-supplied byte array.
- nextBytes(byte[]) - Method in interface java.util.random.RandomGenerator
-
Fills a user-supplied byte array with generated byte values pseudorandomly chosen uniformly from the range of values between -128 (inclusive) and 127 (inclusive).
- nextBytes(byte[]) - Method in class java.util.SplittableRandom
-
Fills a user-supplied byte array with generated byte values pseudorandomly chosen uniformly from the range of values between -128 (inclusive) and 127 (inclusive).
- nextBytes(byte[], SecureRandomParameters) - Method in class java.security.SecureRandom
-
Generates a user-specified number of random bytes with additional parameters.
- nextBytes(int, boolean, byte[]) - Static method in class java.security.DrbgParameters
-
Generates a
DrbgParameters.NextBytes
object. - nextClearBit(int) - Method in class java.util.BitSet
-
Returns the index of the first bit that is set to
false
that occurs on or after the specified starting index. - nextComplete() - Method in class java.util.concurrent.CountedCompleter
-
If this task does not have a completer, invokes
ForkJoinTask.quietlyComplete()
and returnsnull
. - nextConflict() - Method in interface javax.sql.rowset.spi.SyncResolver
-
Moves the cursor down from its current position to the next row that contains a conflict value.
- nextDouble() - Method in interface java.util.PrimitiveIterator.OfDouble
-
Returns the next
double
element in the iteration. - nextDouble() - Method in class java.util.Random
-
Returns the next pseudorandom, uniformly distributed
double
value between0.0
and1.0
from this random number generator's sequence. - nextDouble() - Method in interface java.util.random.RandomGenerator
-
Returns a pseudorandom
double
value between zero (inclusive) and one (exclusive). - nextDouble() - Method in class java.util.Scanner
-
Scans the next token of the input as a
double
. - nextDouble(double) - Static method in class java.text.ChoiceFormat
-
Finds the least double greater than
d
. - nextDouble(double) - Method in class java.util.concurrent.ThreadLocalRandom
-
Returns a pseudorandomly chosen
double
value between zero (inclusive) and the specified bound (exclusive). - nextDouble(double) - Method in interface java.util.random.RandomGenerator
-
Returns a pseudorandomly chosen
double
value between zero (inclusive) and the specified bound (exclusive). - nextDouble(double, boolean) - Static method in class java.text.ChoiceFormat
-
Finds the least double greater than
d
(ifpositive
istrue
), or the greatest double less thand
(ifpositive
isfalse
). - nextDouble(double, double) - Method in class java.util.concurrent.ThreadLocalRandom
-
Returns a pseudorandomly chosen
double
value between the specified origin (inclusive) and the specified bound (exclusive). - nextDouble(double, double) - Method in interface java.util.random.RandomGenerator
-
Returns a pseudorandomly chosen
double
value between the specified origin (inclusive) and the specified bound (exclusive). - nextDown(double) - Static method in class java.lang.Math
-
Returns the floating-point value adjacent to
d
in the direction of negative infinity. - nextDown(double) - Static method in class java.lang.StrictMath
-
Returns the floating-point value adjacent to
d
in the direction of negative infinity. - nextDown(float) - Static method in class java.lang.Math
-
Returns the floating-point value adjacent to
f
in the direction of negative infinity. - nextDown(float) - Static method in class java.lang.StrictMath
-
Returns the floating-point value adjacent to
f
in the direction of negative infinity. - nextDown(Float16) - Static method in class jdk.incubator.vector.Float16
-
Returns the floating-point value adjacent to
v
in the direction of negative infinity. - nextElement() - Method in interface java.util.Enumeration
-
Returns the next element of this enumeration if this enumeration object has at least one more element to provide.
- nextElement() - Method in class java.util.StringTokenizer
-
Returns the same value as the
nextToken
method, except that its declared return value isObject
rather thanString
. - nextEvent() - Method in interface com.sun.jdi.event.EventIterator
- nextEvent() - Method in class javax.xml.stream.util.EventReaderDelegate
- nextEvent() - Method in interface javax.xml.stream.XMLEventReader
-
Gets the next XMLEvent.
- nextExponential() - Method in interface java.util.random.RandomGenerator
-
Returns a nonnegative
double
value pseudorandomly chosen from an exponential distribution whose mean is 1. - nextFloat() - Method in class java.util.Random
-
Returns the next pseudorandom, uniformly distributed
float
value between0.0
and1.0
from this random number generator's sequence. - nextFloat() - Method in interface java.util.random.RandomGenerator
-
Returns a pseudorandom
float
value between zero (inclusive) and one (exclusive). - nextFloat() - Method in class java.util.Scanner
-
Scans the next token of the input as a
float
. - nextFloat(float) - Method in class java.util.concurrent.ThreadLocalRandom
-
Returns a pseudorandomly chosen
float
value between zero (inclusive) and the specified bound (exclusive). - nextFloat(float) - Method in interface java.util.random.RandomGenerator
-
Returns a pseudorandomly chosen
float
value between zero (inclusive) and the specified bound (exclusive). - nextFloat(float, float) - Method in class java.util.concurrent.ThreadLocalRandom
-
Returns a pseudorandomly chosen
float
value between the specified origin (inclusive) and the specified bound (exclusive). - nextFloat(float, float) - Method in interface java.util.random.RandomGenerator
-
Returns a pseudorandomly chosen
float
value between the specified origin (inclusive) and the specified bound (exclusive). - nextFocus() - Method in class java.awt.Component
-
Deprecated.As of JDK version 1.1, replaced by transferFocus().
- nextGaussian() - Method in class java.util.Random
-
Returns the next pseudorandom, Gaussian ("normally") distributed
double
value with mean0.0
and standard deviation1.0
from this random number generator's sequence. - nextGaussian() - Method in interface java.util.random.RandomGenerator
-
Returns a
double
value pseudorandomly chosen from a Gaussian (normal) distribution whose mean is 0 and whose standard deviation is 1. - nextGaussian(double, double) - Method in interface java.util.random.RandomGenerator
-
Returns a
double
value pseudorandomly chosen from a Gaussian (normal) distribution with a mean and standard deviation specified by the arguments. - nextIndex() - Method in interface java.util.ListIterator
-
Returns the index of the element that would be returned by a subsequent call to
ListIterator.next()
. - nextInt() - Method in interface java.util.PrimitiveIterator.OfInt
-
Returns the next
int
element in the iteration. - nextInt() - Method in class java.util.Random
-
Returns the next pseudorandom, uniformly distributed
int
value from this random number generator's sequence. - nextInt() - Method in interface java.util.random.RandomGenerator
-
Returns a pseudorandomly chosen
int
value. - nextInt() - Method in class java.util.Scanner
-
Scans the next token of the input as an
int
. - nextInt(int) - Method in class java.util.concurrent.ThreadLocalRandom
-
Returns a pseudorandom, uniformly distributed
int
value between 0 (inclusive) and the specified value (exclusive), drawn from this random number generator's sequence. - nextInt(int) - Method in class java.util.Random
-
Returns a pseudorandom, uniformly distributed
int
value between 0 (inclusive) and the specified value (exclusive), drawn from this random number generator's sequence. - nextInt(int) - Method in interface java.util.random.RandomGenerator
-
Returns a pseudorandomly chosen
int
value between zero (inclusive) and the specified bound (exclusive). - nextInt(int) - Method in class java.util.Scanner
-
Scans the next token of the input as an
int
. - nextInt(int, int) - Method in class java.util.concurrent.ThreadLocalRandom
-
Returns a pseudorandomly chosen
int
value between the specified origin (inclusive) and the specified bound (exclusive). - nextInt(int, int) - Method in interface java.util.random.RandomGenerator
-
Returns a pseudorandomly chosen
int
value between the specified origin (inclusive) and the specified bound (exclusive). - nextLayout(float) - Method in class java.awt.font.LineBreakMeasurer
-
Returns the next layout, and updates the current position.
- nextLayout(float, int, boolean) - Method in class java.awt.font.LineBreakMeasurer
-
Returns the next layout, and updates the current position.
- nextLine() - Method in class java.util.Scanner
-
Advances this scanner past the current line and returns the input that was skipped.
- nextLong() - Method in interface java.util.PrimitiveIterator.OfLong
-
Returns the next
long
element in the iteration. - nextLong() - Method in class java.util.Random
-
Returns the next pseudorandom, uniformly distributed
long
value from this random number generator's sequence. - nextLong() - Method in interface java.util.random.RandomGenerator
-
Returns a pseudorandomly chosen
long
value. - nextLong() - Method in class java.util.Scanner
-
Scans the next token of the input as a
long
. - nextLong() - Method in class java.util.SplittableRandom
- nextLong(int) - Method in class java.util.Scanner
-
Scans the next token of the input as a
long
. - nextLong(long) - Method in class java.util.concurrent.ThreadLocalRandom
-
Returns a pseudorandomly chosen
long
value between zero (inclusive) and the specified bound (exclusive). - nextLong(long) - Method in interface java.util.random.RandomGenerator
-
Returns a pseudorandomly chosen
long
value between zero (inclusive) and the specified bound (exclusive). - nextLong(long, long) - Method in class java.util.concurrent.ThreadLocalRandom
-
Returns a pseudorandomly chosen
long
value between the specified origin (inclusive) and the specified bound (exclusive). - nextLong(long, long) - Method in interface java.util.random.RandomGenerator
-
Returns a pseudorandomly chosen
long
value between the specified origin (inclusive) and the specified bound (exclusive). - nextNode() - Method in interface org.w3c.dom.traversal.NodeIterator
-
Returns the next node in the set and advances the position of the
NodeIterator
in the set. - nextNode() - Method in interface org.w3c.dom.traversal.TreeWalker
-
Moves the
TreeWalker
to the next visible node in document order relative to the current node, and returns the new node. - nextOffset(float) - Method in class java.awt.font.LineBreakMeasurer
-
Returns the position at the end of the next layout.
- nextOffset(float, int, boolean) - Method in class java.awt.font.LineBreakMeasurer
-
Returns the position at the end of the next layout.
- nextOrSame(DayOfWeek) - Static method in class java.time.temporal.TemporalAdjusters
-
Returns the next-or-same day-of-week adjuster, which adjusts the date to the first occurrence of the specified day-of-week after the date being adjusted unless it is already on that day in which case the same object is returned.
- nextPage() - Method in interface javax.sql.rowset.CachedRowSet
-
Increments the current page of the
CachedRowSet
. - nextProbablePrime() - Method in class java.math.BigInteger
-
Returns the first integer greater than this
BigInteger
that is probably prime. - nextSetBit(int) - Method in class java.util.BitSet
-
Returns the index of the first bit that is set to
true
that occurs on or after the specified starting index. - nextShort() - Method in class java.util.Scanner
-
Scans the next token of the input as a
short
. - nextShort(int) - Method in class java.util.Scanner
-
Scans the next token of the input as a
short
. - nextSibling() - Method in interface org.w3c.dom.traversal.TreeWalker
-
Moves the
TreeWalker
to the next sibling of the current node, and returns the new node. - nextTabStop(float, int) - Method in class javax.swing.text.ParagraphView
-
Returns the next tab stop position given a reference position.
- nextTabStop(float, int) - Method in class javax.swing.text.PlainView
-
Returns the next tab stop position after a given reference position.
- nextTabStop(float, int) - Method in interface javax.swing.text.TabExpander
-
Returns the next tab stop position given a reference position.
- nextTabStop(float, int) - Method in class javax.swing.text.WrappedPlainView
-
Returns the next tab stop position after a given reference position.
- nextTag() - Method in class javax.xml.stream.util.EventReaderDelegate
- nextTag() - Method in class javax.xml.stream.util.StreamReaderDelegate
- nextTag() - Method in interface javax.xml.stream.XMLEventReader
-
Skips any insignificant space events until a START_ELEMENT or END_ELEMENT is reached.
- nextTag() - Method in interface javax.xml.stream.XMLStreamReader
-
Skips any white space (isWhiteSpace() returns true), COMMENT, or PROCESSING_INSTRUCTION, until a START_ELEMENT or END_ELEMENT is reached.
- nextToken() - Method in class java.io.StreamTokenizer
-
Parses the next token from the input stream of this tokenizer.
- nextToken() - Method in class java.util.StringTokenizer
-
Returns the next token from this string tokenizer.
- nextToken(String) - Method in class java.util.StringTokenizer
-
Returns the next token in this string tokenizer's string.
- nextTransition(Instant) - Method in class java.time.zone.ZoneRules
-
Gets the next transition after the specified instant.
- nextUp(double) - Static method in class java.lang.Math
-
Returns the floating-point value adjacent to
d
in the direction of positive infinity. - nextUp(double) - Static method in class java.lang.StrictMath
-
Returns the floating-point value adjacent to
d
in the direction of positive infinity. - nextUp(float) - Static method in class java.lang.Math
-
Returns the floating-point value adjacent to
f
in the direction of positive infinity. - nextUp(float) - Static method in class java.lang.StrictMath
-
Returns the floating-point value adjacent to
f
in the direction of positive infinity. - nextUp(Float16) - Static method in class jdk.incubator.vector.Float16
-
Returns the floating-point value adjacent to
v
in the direction of positive infinity. - nextWordAction - Static variable in class javax.swing.text.DefaultEditorKit
-
Name of the
Action
for moving the caret to the beginning of the next word. - NFC - Enum constant in enum class java.text.Normalizer.Form
-
Canonical decomposition, followed by canonical composition.
- NFD - Enum constant in enum class java.text.Normalizer.Form
-
Canonical decomposition.
- NFKC - Enum constant in enum class java.text.Normalizer.Form
-
Compatibility decomposition, followed by canonical composition.
- NFKD - Enum constant in enum class java.text.Normalizer.Form
-
Compatibility decomposition.
- NimbusLookAndFeel - Class in javax.swing.plaf.nimbus
-
The NimbusLookAndFeel class.
- NimbusLookAndFeel() - Constructor for class javax.swing.plaf.nimbus.NimbusLookAndFeel
-
Create a new NimbusLookAndFeel.
- NimbusStyle - Class in javax.swing.plaf.nimbus
-
A SynthStyle implementation used by Nimbus.
- NINE_SQUARE_SCALE - Enum constant in enum class javax.swing.plaf.nimbus.AbstractRegionPainter.PaintContext.CacheMode
-
Nine square scale.
- NKO - Enum constant in enum class java.awt.font.NumericShaper.Range
-
The N'Ko range with the N'Ko digits.
- NKO - Enum constant in enum class java.lang.Character.UnicodeScript
-
Unicode script "Nko".
- NKO - Static variable in class java.lang.Character.UnicodeBlock
-
Constant for the "NKo" Unicode character block.
- NMTOKEN - Static variable in interface javax.swing.text.html.parser.DTDConstants
-
The DTD constant corresponds to NMTOKEN
- NMTOKENS - Static variable in interface javax.swing.text.html.parser.DTDConstants
-
The DTD constant corresponds to NMTOKENS
- NNTP - Static variable in class javax.print.attribute.standard.ReferenceUriSchemesSupported
-
USENET news using Network News Transfer Protocol (NNTP).
- NO - Static variable in class javax.security.auth.callback.ConfirmationCallback
-
NO option.
- NO_CACHING - Enum constant in enum class javax.swing.plaf.nimbus.AbstractRegionPainter.PaintContext.CacheMode
-
No caching.
- NO_COMPRESSION - Static variable in class java.util.zip.Deflater
-
Compression level for no compression.
- NO_CONTEXT - Static variable in exception class org.ietf.jgss.GSSException
-
Invalid security context.
- NO_CRED - Static variable in exception class org.ietf.jgss.GSSException
-
Invalid credentials.
- NO_CYCLE - Enum constant in enum class java.awt.MultipleGradientPaint.CycleMethod
-
Use the terminal colors to fill the remaining area.
- NO_DATA_ALLOWED_ERR - Static variable in exception class org.w3c.dom.DOMException
-
If data is specified for a
Node
which does not support data. - NO_DECOMPOSITION - Static variable in class java.text.Collator
-
Decomposition mode value.
- NO_EXCLUDE - Enum constant in enum class java.awt.Dialog.ModalExclusionType
-
No modal exclusion.
- NO_FALLBACK - Enum constant in enum class java.security.cert.PKIXRevocationChecker.Option
-
Disable the fallback mechanism.
- NO_FIELDS - Static variable in class java.io.ObjectStreamClass
-
serialPersistentFields value indicating no serializable fields
- NO_FLUSH - Static variable in class java.util.zip.Deflater
-
Compression flush mode used to achieve best compression result.
- NO_GENERATED_KEYS - Static variable in interface java.sql.Statement
-
The constant indicating that generated keys should not be made available for retrieval.
- NO_HIGHLIGHT - Static variable in class javax.swing.plaf.basic.BasicScrollBarUI
-
No highlight
- NO_MODIFICATION_ALLOWED_ERR - Static variable in exception class org.w3c.dom.DOMException
-
If an attempt is made to modify an object where modifications are not allowed.
- NO_MORE_EVENTS - Static variable in class javax.print.event.PrintJobEvent
-
Not all print services may be capable of delivering interesting events, or even telling when a job is complete.
- NO_OPTION - Static variable in class javax.swing.JOptionPane
-
Return value from class method if NO is chosen.
- NO_ORIENTATION - Static variable in interface java.awt.Adjustable
-
Indicates that the
Adjustable
has no orientation. - NO_PROPAGATE_INHERIT - Enum constant in enum class java.nio.file.attribute.AclEntryFlag
-
Can be placed on a directory to indicate that the ACL entry should not be placed on the newly created directory which is inheritable by subdirectories of the created directory.
- NO_PROXY - Static variable in interface java.net.http.HttpClient.Builder
-
A proxy selector that always return
Proxy.NO_PROXY
implying a direct connection. - NO_PROXY - Static variable in class java.net.Proxy
-
A proxy setting that represents a
DIRECT
connection, basically telling the protocol handler not to use any proxying. - NO_ROLE_WITH_NAME - Static variable in class javax.management.relation.RoleStatus
-
Problem type when trying to access an unknown role.
- NO_ROW_CONFLICT - Static variable in interface javax.sql.rowset.spi.SyncResolver
-
Indicates that no conflict occurred while the
RowSet
object was attempting to update, delete or insert a row in the data source. - NO_SUCH_PAGE - Static variable in interface java.awt.print.Printable
-
Returned from
print
to signify that thepageIndex
is too large and that the requested page does not exist. - NO_SYNC - Static variable in class javax.sound.midi.Sequencer.SyncMode
-
A slave synchronization mode indicating that no timing information should be sent to the receiver.
- NO_TRUST_ANCHOR - Enum constant in enum class java.security.cert.PKIXReason
-
No acceptable trust anchor found.
- NO_USAGE_RESTRICTIONS - Enum constant in enum class java.sql.PseudoColumnUsage
-
There are no restrictions on the usage of the pseudo/hidden columns.
- noBody() - Static method in class java.net.http.HttpRequest.BodyPublishers
-
A request body publisher which sends no request body.
- No boxing of primitives - Search tag in class jdk.incubator.vector.Vector
- Section
- NOBUTTON - Static variable in class java.awt.event.MouseEvent
-
Indicates no mouse buttons; used by
MouseEvent.getButton()
. - NoClassDefFoundError - Exception Class in java.lang
-
Thrown if the Java Virtual Machine or a
ClassLoader
instance tries to load in the definition of a class (as part of a normal method call or as part of creating a new instance using thenew
expression) and no definition of the class could be found. - NoClassDefFoundError() - Constructor for exception class java.lang.NoClassDefFoundError
-
Constructs a
NoClassDefFoundError
with no detail message. - NoClassDefFoundError(String) - Constructor for exception class java.lang.NoClassDefFoundError
-
Constructs a
NoClassDefFoundError
with the specified detail message. - NoConnectionPendingException - Exception Class in java.nio.channels
-
Unchecked exception thrown when the
finishConnect
method of aSocketChannel
is invoked without first successfully invoking itsconnect
method. - NoConnectionPendingException() - Constructor for exception class java.nio.channels.NoConnectionPendingException
-
Constructs an instance of this class.
- node() - Method in class java.util.UUID
-
The node value associated with this UUID.
- node(String) - Method in class java.util.prefs.AbstractPreferences
-
Implements the
node
method as per the specification inPreferences.node(String)
. - node(String) - Method in class java.util.prefs.Preferences
-
Returns the named preference node in the same tree as this node, creating it and any of its ancestors if they do not already exist.
- Node - Interface in org.w3c.dom
-
The
Node
interface is the primary datatype for the entire Document Object Model. - NODE - Enum constant in enum class javax.xml.xpath.XPathEvaluationResult.XPathResultType
-
The XPath 1.0 Node data type.
- NODE - Static variable in class javax.xml.xpath.XPathConstants
-
The XPath 1.0 NodeSet data type.
- NODE_ADOPTED - Static variable in interface org.w3c.dom.UserDataHandler
-
The node is adopted, using
Document.adoptNode()
. - NODE_CLONED - Static variable in interface org.w3c.dom.UserDataHandler
-
The node is cloned, using
Node.cloneNode()
. - NODE_DELETED - Static variable in interface org.w3c.dom.UserDataHandler
-
The node is deleted.
- NODE_IMPORTED - Static variable in interface org.w3c.dom.UserDataHandler
-
The node is imported, using
Document.importNode()
. - NODE_RENAMED - Static variable in interface org.w3c.dom.UserDataHandler
-
The node is renamed, using
Document.renameNode()
. - nodeChanged(TreeNode) - Method in class javax.swing.tree.DefaultTreeModel
-
Invoke this method after you've changed how node is to be represented in the tree.
- NodeChangeEvent - Class in java.util.prefs
-
An event emitted by a
Preferences
node to indicate that a child of that node has been added or removed. - NodeChangeEvent(Preferences, Preferences) - Constructor for class java.util.prefs.NodeChangeEvent
-
Constructs a new
NodeChangeEvent
instance. - NodeChangeListener - Interface in java.util.prefs
-
A listener for receiving preference node change events.
- nodeDimensions - Variable in class javax.swing.plaf.basic.BasicTreeUI
-
Responsible for telling the TreeState the size needed for a node.
- nodeDimensions - Variable in class javax.swing.tree.AbstractLayoutCache
-
Object responsible for getting the size of a node.
- NodeDimensions() - Constructor for class javax.swing.tree.AbstractLayoutCache.NodeDimensions
-
Constructor for subclasses to call.
- NodeDimensionsHandler() - Constructor for class javax.swing.plaf.basic.BasicTreeUI.NodeDimensionsHandler
-
Constructs a
NodeDimensionsHandler
. - nodeExists(String) - Method in class java.util.prefs.AbstractPreferences
-
Implements the
nodeExists
method as per the specification inPreferences.nodeExists(String)
. - nodeExists(String) - Method in class java.util.prefs.Preferences
-
Returns true if the named preference node exists in the same tree as this node.
- NodeFilter - Interface in org.w3c.dom.traversal
-
Filters are objects that know how to "filter out" nodes.
- NodeIterator - Interface in org.w3c.dom.traversal
-
NodeIterators
are used to step through a set of nodes, e.g. - NodeList - Interface in org.w3c.dom
-
The
NodeList
interface provides the abstraction of an ordered collection of nodes, without defining or constraining how this collection is implemented. - nodesChanged(TreeNode, int[]) - Method in class javax.swing.tree.DefaultTreeModel
-
Invoke this method after you've changed how the children identified by childIndices are to be represented in the tree.
- NODESET - Enum constant in enum class javax.xml.xpath.XPathEvaluationResult.XPathResultType
-
The XPath 1.0 NodeSet data type.
- NODESET - Static variable in class javax.xml.xpath.XPathConstants
-
The XPath 1.0 NodeSet data type.
- NodeSetData<T> - Interface in javax.xml.crypto
-
An abstract representation of a
Data
type containing a node-set. - nodeStructureChanged(TreeNode) - Method in class javax.swing.tree.DefaultTreeModel
-
Invoke this method if you've totally changed the children of node and its children's children...
- nodesWereInserted(TreeNode, int[]) - Method in class javax.swing.tree.DefaultTreeModel
-
Invoke this method after you've inserted some TreeNodes into node.
- nodesWereRemoved(TreeNode, int[], Object[]) - Method in class javax.swing.tree.DefaultTreeModel
-
Invoke this method after you've removed some TreeNodes from node.
- noFocusBorder - Static variable in class javax.swing.DefaultListCellRenderer
-
No focus border
- noFocusBorder - Static variable in class javax.swing.plaf.basic.BasicComboBoxRenderer
-
An empty
Border
. - noFocusBorder - Static variable in class javax.swing.table.DefaultTableCellRenderer
-
A border without focus.
- NOFOLLOW_LINKS - Enum constant in enum class java.nio.file.LinkOption
-
Do not follow symbolic links.
- NOFRAMES - Static variable in class javax.swing.text.html.HTML.Tag
-
Tag <noframes>
- NOHREF - Static variable in class javax.swing.text.html.HTML.Attribute
-
Attribute "nohref"
- NoInitialContextException - Exception Class in javax.naming
-
This exception is thrown when no initial context implementation can be created.
- NoInitialContextException() - Constructor for exception class javax.naming.NoInitialContextException
-
Constructs an instance of NoInitialContextException.
- NoInitialContextException(String) - Constructor for exception class javax.naming.NoInitialContextException
-
Constructs an instance of NoInitialContextException with an explanation.
- Nominal Descriptors - Search tag in package java.lang.constant
- Section
- NON_CONTINUOUS_DIVIDER - Static variable in class javax.swing.plaf.basic.BasicSplitPaneUI
-
The divider used for non-continuous layout is added to the split pane with this object.
- NON_HEAP - Enum constant in enum class java.lang.management.MemoryType
-
Non-heap memory type.
- NON_SEALED - Enum constant in enum class javax.lang.model.element.Modifier
-
The modifier
non-sealed
- NON_SPACING_MARK - Static variable in class java.lang.Character
-
General category "Mn" in the Unicode specification.
- Non-baseline ParallelGroup - Search tag in class javax.swing.GroupLayout.ParallelGroup
- Section
- nonContinuousLayoutDivider - Variable in class javax.swing.plaf.basic.BasicSplitPaneUI
-
Instance for the shadow of the divider when non continuous layout is being used.
- NONCRITICAL - Static variable in interface javax.naming.ldap.Control
-
Indicates a non-critical control.
- NONE - Enum constant in enum class com.sun.net.httpserver.SimpleFileServer.OutputLevel
-
Used to specify no log message output level.
- NONE - Enum constant in enum class java.awt.TrayIcon.MessageType
-
Simple message
- NONE - Enum constant in enum class java.lang.classfile.Signature.TypeArg.Bounded.WildcardIndicator
-
No wildcard (empty), an exact type.
- NONE - Enum constant in enum class java.security.DrbgParameters.Capability
-
Neither prediction resistance nor reseed.
- NONE - Enum constant in enum class javax.lang.model.type.TypeKind
-
A pseudo-type used where no actual type is appropriate.
- NONE - Static variable in class java.awt.GridBagConstraints
-
Do not resize the component.
- NONE - Static variable in class java.awt.JobAttributes.DialogType
-
The
DialogType
instance to use for specifying no print dialog. - NONE - Static variable in class javax.print.attribute.standard.Compression
-
No compression is used.
- NONE - Static variable in class javax.print.attribute.standard.Finishings
-
Perform no binding.
- NONE - Static variable in class javax.print.attribute.standard.JobSheets
-
No job sheets are printed.
- NONE - Static variable in class javax.swing.JRootPane
-
Constant used for the windowDecorationStyle property.
- NONE - Static variable in class javax.swing.TransferHandler
-
An
int
representing no transfer action. - NONE_OPTION - Static variable in class javax.swing.DebugGraphics
-
Don't debug graphics operations.
- noneMatch(DoublePredicate) - Method in interface java.util.stream.DoubleStream
-
Returns whether no elements of this stream match the provided predicate.
- noneMatch(IntPredicate) - Method in interface java.util.stream.IntStream
-
Returns whether no elements of this stream match the provided predicate.
- noneMatch(LongPredicate) - Method in interface java.util.stream.LongStream
-
Returns whether no elements of this stream match the provided predicate.
- noneMatch(Predicate<? super T>) - Method in interface java.util.stream.Stream
-
Returns whether no elements of this stream match the provided predicate.
- noneOf(Class<E>) - Static method in class java.util.EnumSet
-
Creates an empty enum set with the specified element type.
- NONEXISTENT - Enum constant in enum class jdk.jshell.Snippet.Status
-
The snippet is inactive because it does not yet exist.
- Non-interference - Search tag in package java.util.stream
- Section
- NoninvertibleTransformException - Exception Class in java.awt.geom
-
The
NoninvertibleTransformException
class represents an exception that is thrown if an operation is performed requiring the inverse of anAffineTransform
object but theAffineTransform
is in a non-invertible state. - NoninvertibleTransformException(String) - Constructor for exception class java.awt.geom.NoninvertibleTransformException
-
Constructs an instance of
NoninvertibleTransformException
with the specified detail message. - nonNull(Object) - Static method in class java.util.Objects
-
Returns
true
if the provided reference is non-null
;false
otherwise. - NONNULL - Static variable in interface java.util.Spliterator
-
Characteristic value signifying that the source guarantees that encountered elements will not be
null
. - NonReadableChannelException - Exception Class in java.nio.channels
-
Unchecked exception thrown when an attempt is made to read from a channel that was not originally opened for reading.
- NonReadableChannelException() - Constructor for exception class java.nio.channels.NonReadableChannelException
-
Constructs an instance of this class.
- NONUPDATABLE_VIEW_SYNC - Static variable in class javax.sql.rowset.spi.SyncProvider
-
Indicates that a
SyncProvider
implementation does not support synchronization between aRowSet
object and the SQLVIEW
used to populate it. - NonWritableChannelException - Exception Class in java.nio.channels
-
Unchecked exception thrown when an attempt is made to write to a channel that was not originally opened for writing.
- NonWritableChannelException() - Constructor for exception class java.nio.channels.NonWritableChannelException
-
Constructs an instance of this class.
- NOON - Static variable in class java.time.LocalTime
-
The time of noon in the middle of the day, '12:00'.
- nop() - Method in interface java.lang.classfile.CodeBuilder
-
Generate a do nothing instruction
- NOP - Enum constant in enum class java.lang.classfile.Opcode.Kind
-
Do nothing
- NOP - Enum constant in enum class java.lang.classfile.Opcode
-
Do nothing
- NoPermissionException - Exception Class in javax.naming
-
This exception is thrown when attempting to perform an operation for which the client has no permission.
- NoPermissionException() - Constructor for exception class javax.naming.NoPermissionException
-
Constructs a new instance of NoPermissionException.
- NoPermissionException(String) - Constructor for exception class javax.naming.NoPermissionException
-
Constructs a new instance of NoPermissionException using an explanation.
- NopInstruction - Interface in java.lang.classfile.instruction
-
Models a
nop
invocation instruction in thecode
array of aCode
attribute. - NOPOS - Static variable in interface javax.tools.Diagnostic
-
Used to signal that no position is available.
- NOPOS - Static variable in class jdk.jshell.Diag
-
Used to signal that no position is available.
- NORESIZE - Static variable in class javax.swing.text.html.HTML.Attribute
-
Attribute "noresize"
- NORM_PRIORITY - Static variable in class java.lang.Thread
-
The default priority that is assigned to a thread.
- NORMAL - Enum constant in enum class java.awt.Taskbar.State
-
The progress indicator displays with normal color and determinate mode.
- NORMAL - Enum constant in enum class java.awt.Window.Type
-
Represents a normal window.
- NORMAL - Enum constant in enum class java.net.http.HttpClient.Redirect
-
Always redirect, except from HTTPS URLs to HTTP URLs.
- NORMAL - Enum constant in enum class java.time.format.SignStyle
-
Style to output the sign only if the value is negative.
- NORMAL - Enum constant in enum class javax.swing.JTable.PrintMode
-
Printing mode that prints the table at its current size, spreading both columns and rows across multiple pages if necessary.
- NORMAL - Static variable in class java.awt.Frame
-
Frame is in the "normal" state.
- NORMAL - Static variable in class java.awt.PageAttributes.PrintQualityType
-
The PrintQualityType instance to use for specifying a normal print quality.
- NORMAL - Static variable in class javax.print.attribute.standard.PrintQuality
-
Normal or intermediate quality on the printer.
- NORMAL_CLOSURE - Static variable in interface java.net.http.WebSocket
-
The WebSocket Close message status code (
1000
), indicating normal closure, meaning that the purpose for which the connection was established has been fulfilled. - NORMAL_EXIT - Enum constant in enum class java.awt.desktop.QuitStrategy
-
Shuts down the application by calling
System.exit(0)
. - normalize() - Method in class java.net.URI
-
Normalizes this URI's path.
- normalize() - Method in interface java.nio.file.Path
-
Returns a path that is this path with redundant name elements eliminated.
- normalize() - Method in class javax.imageio.metadata.IIOMetadataNode
-
Does nothing, since
IIOMetadataNode
s do not containText
children. - normalize() - Method in class javax.xml.datatype.XMLGregorianCalendar
-
Normalize this instance to UTC.
- normalize() - Method in interface org.w3c.dom.Node
-
Puts all
Text
nodes in the full depth of the sub-tree underneath thisNode
, including attribute nodes, into a "normal" form where only structure (e.g., elements, comments, processing instructions, CDATA sections, and entity references) separatesText
nodes, i.e., there are neither adjacentText
nodes nor emptyText
nodes. - normalize(CharSequence, Normalizer.Form) - Static method in class java.text.Normalizer
-
Normalize a sequence of char values.
- normalized() - Method in interface java.time.chrono.ChronoPeriod
-
Returns a copy of this period with the amounts of each unit normalized.
- normalized() - Method in class java.time.Period
-
Returns a copy of this period with the years and months normalized.
- normalized() - Method in class java.time.ZoneId
-
Normalizes the time-zone ID, returning a
ZoneOffset
where possible. - normalizeDocument() - Method in interface org.w3c.dom.Document
-
This method acts as if the document was going through a save and load cycle, putting the document in a "normal" form.
- normalizeMimeType(String) - Method in class java.awt.datatransfer.DataFlavor
-
Deprecated.This method is never invoked by this implementation from 1.1 onwards
- normalizeMimeTypeParameter(String, String) - Method in class java.awt.datatransfer.DataFlavor
-
Deprecated.This method is never invoked by this implementation from 1.1 onwards
- Normalizer - Class in java.text
-
This class provides the method
normalize
which transforms Unicode text into an equivalent composed or decomposed form, allowing for easier sorting and searching of text. - Normalizer.Form - Enum Class in java.text
-
This enum provides constants of the four Unicode normalization forms that are described in Unicode Standard Annex #15 — Unicode Normalization Forms and two methods to access them.
- normalizeTabRuns(int, int, int, int) - Method in class javax.swing.plaf.basic.BasicTabbedPaneUI.TabbedPaneLayout
-
Normalizes the tab runs.
- normalizeWith(Calendar) - Method in class javax.xml.datatype.Duration
-
Converts the years and months fields into the days field by using a specific time instant as the reference point.
- NoRouteToHostException - Exception Class in java.net
-
Signals that an error occurred while attempting to connect a socket to a remote address and port.
- NoRouteToHostException() - Constructor for exception class java.net.NoRouteToHostException
-
Construct a new NoRouteToHostException with no detailed message.
- NoRouteToHostException(String) - Constructor for exception class java.net.NoRouteToHostException
-
Constructs a new NoRouteToHostException with the specified detail message as to why the remote host cannot be reached.
- NORTH - Static variable in class java.awt.BorderLayout
-
The north layout constraint (top of container).
- NORTH - Static variable in class java.awt.GridBagConstraints
-
Put the component at the top of its display area, centered horizontally.
- NORTH - Static variable in class javax.swing.SpringLayout
-
Specifies the top edge of a component's bounding rectangle.
- NORTH - Static variable in interface javax.swing.SwingConstants
-
Compass-direction North (up).
- NORTH_EAST - Static variable in interface javax.swing.SwingConstants
-
Compass-direction north-east (upper right).
- NORTH_WEST - Static variable in interface javax.swing.SwingConstants
-
Compass-direction north west (upper left).
- NORTHEAST - Static variable in class java.awt.GridBagConstraints
-
Put the component at the top-right corner of its display area.
- northPane - Variable in class javax.swing.plaf.basic.BasicInternalFrameUI
-
North pane
- NORTHWEST - Static variable in class java.awt.GridBagConstraints
-
Put the component at the top-left corner of its display area.
- NOSHADE - Static variable in class javax.swing.text.html.HTML.Attribute
-
Attribute "noshade"
- NoSuchAlgorithmException - Exception Class in java.security
-
This exception is thrown when a particular cryptographic algorithm is requested but is not available in the environment.
- NoSuchAlgorithmException() - Constructor for exception class java.security.NoSuchAlgorithmException
-
Constructs a
NoSuchAlgorithmException
with no detail message. - NoSuchAlgorithmException(String) - Constructor for exception class java.security.NoSuchAlgorithmException
-
Constructs a
NoSuchAlgorithmException
with the specified detail message. - NoSuchAlgorithmException(String, Throwable) - Constructor for exception class java.security.NoSuchAlgorithmException
-
Creates a
NoSuchAlgorithmException
with the specified detail message and cause. - NoSuchAlgorithmException(Throwable) - Constructor for exception class java.security.NoSuchAlgorithmException
-
Creates a
NoSuchAlgorithmException
with the specified cause and a detail message of(cause==null ? null : cause.toString())
(which typically contains the class and detail message ofcause
). - NoSuchAttributeException - Exception Class in javax.naming.directory
-
This exception is thrown when attempting to access an attribute that does not exist.
- NoSuchAttributeException() - Constructor for exception class javax.naming.directory.NoSuchAttributeException
-
Constructs a new instance of NoSuchAttributeException.
- NoSuchAttributeException(String) - Constructor for exception class javax.naming.directory.NoSuchAttributeException
-
Constructs a new instance of NoSuchAttributeException using an explanation.
- NoSuchDynamicMethodException - Exception Class in jdk.dynalink
-
Thrown at the invocation if the call site can not be linked by any available
GuardingDynamicLinker
. - NoSuchDynamicMethodException(String) - Constructor for exception class jdk.dynalink.NoSuchDynamicMethodException
-
Creates a new NoSuchDynamicMethodException
- NoSuchElementException - Exception Class in java.util
-
Thrown by various accessor methods to indicate that the element being requested does not exist.
- NoSuchElementException() - Constructor for exception class java.util.NoSuchElementException
-
Constructs a
NoSuchElementException
withnull
as its error message string. - NoSuchElementException(String) - Constructor for exception class java.util.NoSuchElementException
-
Constructs a
NoSuchElementException
, saving a reference to the error message strings
for later retrieval by thegetMessage
method. - NoSuchElementException(String, Throwable) - Constructor for exception class java.util.NoSuchElementException
-
Constructs a
NoSuchElementException
with the specified detail message and cause. - NoSuchElementException(Throwable) - Constructor for exception class java.util.NoSuchElementException
-
Constructs a
NoSuchElementException
with the specified cause. - NoSuchFieldError - Exception Class in java.lang
-
Thrown if an application tries to access or modify a specified field of an object, and that object no longer has that field.
- NoSuchFieldError() - Constructor for exception class java.lang.NoSuchFieldError
-
Constructs a
NoSuchFieldError
with no detail message. - NoSuchFieldError(String) - Constructor for exception class java.lang.NoSuchFieldError
-
Constructs a
NoSuchFieldError
with the specified detail message. - NoSuchFieldException - Exception Class in java.lang
-
Signals that the class doesn't have a field of a specified name.
- NoSuchFieldException() - Constructor for exception class java.lang.NoSuchFieldException
-
Constructor.
- NoSuchFieldException(String) - Constructor for exception class java.lang.NoSuchFieldException
-
Constructor with a detail message.
- NoSuchFileException - Exception Class in java.nio.file
-
Checked exception thrown when an attempt is made to access a file that does not exist.
- NoSuchFileException(String) - Constructor for exception class java.nio.file.NoSuchFileException
-
Constructs an instance of this class.
- NoSuchFileException(String, String, String) - Constructor for exception class java.nio.file.NoSuchFileException
-
Constructs an instance of this class.
- NoSuchMechanismException - Exception Class in javax.xml.crypto
-
This exception is thrown when a particular XML mechanism is requested but is not available in the environment.
- NoSuchMechanismException() - Constructor for exception class javax.xml.crypto.NoSuchMechanismException
-
Constructs a new
NoSuchMechanismException
withnull
as its detail message. - NoSuchMechanismException(String) - Constructor for exception class javax.xml.crypto.NoSuchMechanismException
-
Constructs a new
NoSuchMechanismException
with the specified detail message. - NoSuchMechanismException(String, Throwable) - Constructor for exception class javax.xml.crypto.NoSuchMechanismException
-
Constructs a new
NoSuchMechanismException
with the specified detail message and cause. - NoSuchMechanismException(Throwable) - Constructor for exception class javax.xml.crypto.NoSuchMechanismException
-
Constructs a new
NoSuchMechanismException
with the specified cause and a detail message of(cause==null ? null : cause.toString())
(which typically contains the class and detail message ofcause
). - NoSuchMethodError - Exception Class in java.lang
-
Thrown if an application tries to call a specified method of a class (either static or instance), and that class no longer has a definition of that method.
- NoSuchMethodError() - Constructor for exception class java.lang.NoSuchMethodError
-
Constructs a
NoSuchMethodError
with no detail message. - NoSuchMethodError(String) - Constructor for exception class java.lang.NoSuchMethodError
-
Constructs a
NoSuchMethodError
with the specified detail message. - NoSuchMethodException - Exception Class in java.lang
-
Thrown when a particular method cannot be found.
- NoSuchMethodException() - Constructor for exception class java.lang.NoSuchMethodException
-
Constructs a
NoSuchMethodException
without a detail message. - NoSuchMethodException(String) - Constructor for exception class java.lang.NoSuchMethodException
-
Constructs a
NoSuchMethodException
with a detail message. - NoSuchObjectException - Exception Class in java.rmi
-
A
NoSuchObjectException
is thrown if an attempt is made to invoke a method on an object that no longer exists in the remote virtual machine. - NoSuchObjectException(String) - Constructor for exception class java.rmi.NoSuchObjectException
-
Constructs a
NoSuchObjectException
with the specified detail message. - NoSuchPaddingException - Exception Class in javax.crypto
-
This exception is thrown when a particular padding mechanism is requested but is not available in the environment.
- NoSuchPaddingException() - Constructor for exception class javax.crypto.NoSuchPaddingException
-
Constructs a
NoSuchPaddingException
with no detail message. - NoSuchPaddingException(String) - Constructor for exception class javax.crypto.NoSuchPaddingException
-
Constructs a
NoSuchPaddingException
with the specified detail message. - NoSuchProviderException - Exception Class in java.security
-
This exception is thrown when a particular security provider is requested but is not available in the environment.
- NoSuchProviderException() - Constructor for exception class java.security.NoSuchProviderException
-
Constructs a
NoSuchProviderException
with no detail message. - NoSuchProviderException(String) - Constructor for exception class java.security.NoSuchProviderException
-
Constructs a
NoSuchProviderException
with the specified detail message. - not() - Method in class java.math.BigInteger
-
Returns a BigInteger whose value is
(~this)
. - not() - Method in class jdk.incubator.vector.ByteVector
-
Computes the bitwise logical complement (
~
) of this vector. - not() - Method in class jdk.incubator.vector.IntVector
-
Computes the bitwise logical complement (
~
) of this vector. - not() - Method in class jdk.incubator.vector.LongVector
-
Computes the bitwise logical complement (
~
) of this vector. - not() - Method in class jdk.incubator.vector.ShortVector
-
Computes the bitwise logical complement (
~
) of this vector. - not() - Method in class jdk.incubator.vector.VectorMask
-
Logically negates this mask.
- not(Predicate<? super T>) - Static method in interface java.util.function.Predicate
-
Returns a predicate that is the negation of the supplied predicate.
- not(QueryExp) - Static method in class javax.management.Query
-
Returns a constraint that is the negation of its argument.
- NOT - Static variable in class jdk.incubator.vector.VectorOperators
-
Produce
~a
. - NOT_ACCEPTING_JOBS - Static variable in class javax.print.attribute.standard.PrinterIsAcceptingJobs
-
The printer is currently rejecting any jobs sent to it.
- NOT_ATTEMPTED - Static variable in class javax.print.attribute.standard.PDLOverrideSupported
-
The printer makes no attempt to make the external job attribute values take precedence over embedded instructions in the documents' print data.
- NOT_CA_CERT - Enum constant in enum class java.security.cert.PKIXReason
-
The certificate is not a CA certificate.
- NOT_EQUAL - Enum constant in enum class javax.swing.RowFilter.ComparisonType
-
Indicates that entries with a value not equal to the supplied value should be included.
- NOT_EQUAL_TO - Enum constant in enum class com.sun.source.tree.Tree.Kind
-
Used for instances of
BinaryTree
representing not-equal-to!=
. - NOT_FOUND_ERR - Static variable in exception class org.w3c.dom.DOMException
-
If an attempt is made to reference a
Node
in a context where it does not exist. - NOT_HANDSHAKING - Enum constant in enum class javax.net.ssl.SSLEngineResult.HandshakeStatus
-
The
SSLEngine
is not currently handshaking. - NOT_NEGATIVE - Enum constant in enum class java.time.format.SignStyle
-
Style to block negative values, throwing an exception on printing.
- NOT_SPECIFIED - Static variable in class javax.sound.sampled.AudioSystem
-
An integer that stands for an unknown numeric value.
- NOT_SUPPORTED - Static variable in class javax.print.attribute.standard.ColorSupported
-
The printer is not capable of any type of color printing.
- NOT_SUPPORTED_ERR - Static variable in exception class org.w3c.dom.DOMException
-
If the implementation does not support the requested type of object or operation.
- NOT_YET_VALID - Enum constant in enum class java.security.cert.CertPathValidatorException.BasicReason
-
The certificate is not yet valid.
- NotActiveException - Exception Class in java.io
-
Thrown when serialization or deserialization is not active.
- NotActiveException() - Constructor for exception class java.io.NotActiveException
-
Constructor to create a new NotActiveException without a reason.
- NotActiveException(String) - Constructor for exception class java.io.NotActiveException
-
Constructor to create a new NotActiveException with the reason given.
- Notation - Interface in org.w3c.dom
-
This interface represents a notation declared in the DTD.
- NOTATION - Static variable in interface javax.swing.text.html.parser.DTDConstants
-
The DTD constant corresponds to NOTATION
- NOTATION_DECLARATION - Static variable in interface javax.xml.stream.XMLStreamConstants
-
Indicates a Notation
- NOTATION_NODE - Static variable in interface org.w3c.dom.Node
-
The node is a
Notation
. - notationDecl(String, String, String) - Method in interface org.xml.sax.DTDHandler
-
Receive notification of a notation declaration event.
- notationDecl(String, String, String) - Method in class org.xml.sax.HandlerBase
-
Deprecated.Receive notification of a notation declaration.
- notationDecl(String, String, String) - Method in class org.xml.sax.helpers.DefaultHandler
-
Receive notification of a notation declaration.
- notationDecl(String, String, String) - Method in class org.xml.sax.helpers.XMLFilterImpl
-
Filter a notation declaration event.
- NotationDeclaration - Interface in javax.xml.stream.events
-
An interface for handling Notation Declarations Receive notification of a notation declaration event.
- NotBoundException - Exception Class in java.rmi
-
A
NotBoundException
is thrown if an attempt is made to lookup or unbind in the registry a name that has no associated binding. - NotBoundException() - Constructor for exception class java.rmi.NotBoundException
-
Constructs a
NotBoundException
with no specified detail message. - NotBoundException(String) - Constructor for exception class java.rmi.NotBoundException
-
Constructs a
NotBoundException
with the specified detail message. - NotCompliantMBeanException - Exception Class in javax.management
-
Exception which occurs when trying to register an object in the MBean server that is not a JMX compliant MBean.
- NotCompliantMBeanException() - Constructor for exception class javax.management.NotCompliantMBeanException
-
Default constructor.
- NotCompliantMBeanException(String) - Constructor for exception class javax.management.NotCompliantMBeanException
-
Constructor that allows a specific error message to be specified.
- NotContextException - Exception Class in javax.naming
-
This exception is thrown when a naming operation proceeds to a point where a context is required to continue the operation, but the resolved object is not a context.
- NotContextException() - Constructor for exception class javax.naming.NotContextException
-
Constructs a new instance of NotContextException.
- NotContextException(String) - Constructor for exception class javax.naming.NotContextException
-
Constructs a new instance of NotContextException using an explanation.
- NotDirectoryException - Exception Class in java.nio.file
-
Checked exception thrown when a file system operation, intended for a directory, fails because the file is not a directory.
- NotDirectoryException(String) - Constructor for exception class java.nio.file.NotDirectoryException
-
Constructs an instance of this class.
- note - Variable in class javax.sound.midi.VoiceStatus
-
The MIDI note that this voice is playing.
- NOTE - Enum constant in enum class javax.tools.Diagnostic.Kind
-
Informative message from the tool.
- NOTE - Static variable in class java.awt.PageAttributes.MediaType
-
An alias for NA_LETTER.
- NOTE_OFF - Static variable in class javax.sound.midi.ShortMessage
-
Command value for Note Off message (0x80, or 128).
- NOTE_ON - Static variable in class javax.sound.midi.ShortMessage
-
Command value for Note On message (0x90, or 144).
- Note for implementors - Search tag in javax.xml.parsers.DocumentBuilderFactory.setSchema(Schema)
- Section
- Note for implementors - Search tag in javax.xml.parsers.SAXParserFactory.setSchema(Schema)
- Section
- noteOff(int) - Method in interface javax.sound.midi.MidiChannel
-
Turns the specified note off.
- noteOff(int, int) - Method in interface javax.sound.midi.MidiChannel
-
Turns the specified note off.
- noteOn(int, int) - Method in interface javax.sound.midi.MidiChannel
-
Starts the specified note sounding.
- Notes on specific components - Search tag in package javax.swing.plaf.synth
- Section
- notExists(Path, LinkOption...) - Static method in class java.nio.file.Files
-
Tests whether the file located by this path does not exist.
- notFilter(RowFilter<M, I>) - Static method in class javax.swing.RowFilter
-
Returns a
RowFilter
that includes entries if the supplied filter does not include the entry. - Notification - Search tag in package java.lang.ref
- Section
- Notification - Class in javax.management
-
The Notification class represents a notification emitted by an MBean.
- Notification - Interface in com.sun.nio.sctp
-
A notification from the SCTP stack.
- Notification(String, Object, long) - Constructor for class javax.management.Notification
-
Creates a Notification object.
- Notification(String, Object, long, long) - Constructor for class javax.management.Notification
-
Creates a Notification object.
- Notification(String, Object, long, long, String) - Constructor for class javax.management.Notification
-
Creates a Notification object.
- Notification(String, Object, long, String) - Constructor for class javax.management.Notification
-
Creates a Notification object.
- NotificationBroadcaster - Interface in javax.management
-
Interface implemented by an MBean that emits Notifications.
- NotificationBroadcasterSupport - Class in javax.management
-
Provides an implementation of
NotificationEmitter
interface. - NotificationBroadcasterSupport() - Constructor for class javax.management.NotificationBroadcasterSupport
-
Constructs a NotificationBroadcasterSupport where each listener is invoked by the thread sending the notification.
- NotificationBroadcasterSupport(Executor) - Constructor for class javax.management.NotificationBroadcasterSupport
-
Constructs a NotificationBroadcasterSupport where each listener is invoked using the given
Executor
. - NotificationBroadcasterSupport(Executor, MBeanNotificationInfo...) - Constructor for class javax.management.NotificationBroadcasterSupport
-
Constructs a NotificationBroadcasterSupport with information about the notifications that may be sent, and where each listener is invoked using the given
Executor
. - NotificationBroadcasterSupport(MBeanNotificationInfo...) - Constructor for class javax.management.NotificationBroadcasterSupport
-
Constructs a NotificationBroadcasterSupport with information about the notifications that may be sent.
- Notification dispatch - Search tag in interface javax.management.NotificationBroadcaster
- Section
- Notification dispatch - Search tag in interface javax.management.NotificationEmitter
- Section
- NotificationEmitter - Search tag in interface java.lang.management.MemoryMXBean
- Section
- NotificationEmitter - Interface in javax.management
-
Interface implemented by an MBean that emits Notifications.
- NotificationFilter - Interface in javax.management
-
To be implemented by a any class acting as a notification filter.
- NotificationFilterSupport - Class in javax.management
-
Provides an implementation of the
NotificationFilter
interface. - NotificationFilterSupport() - Constructor for class javax.management.NotificationFilterSupport
-
Constructs a
NotificationFilterSupport
. - NotificationHandler<T> - Interface in com.sun.nio.sctp
-
A handler for consuming notifications from the SCTP stack.
- NotificationListener - Interface in javax.management
-
Should be implemented by an object that wants to receive notifications.
- notificationReceived(UnsolicitedNotificationEvent) - Method in interface javax.naming.ldap.UnsolicitedNotificationListener
-
Called when an unsolicited notification has been received.
- NotificationResult - Class in javax.management.remote
-
Result of a query for buffered notifications.
- NotificationResult(long, long, TargetedNotification[]) - Constructor for class javax.management.remote.NotificationResult
-
Constructs a notification query result.
- Notifications - Search tag in interface java.lang.management.MemoryMXBean
- Section
- Notifications - Search tag in package javax.management
- Section
- notifier - Variable in class java.awt.event.InvocationEvent
-
The (potentially null) Object whose notifyAll() method will be called immediately after the Runnable.run() method has returned or thrown an exception or after the event was disposed.
- NOTIFS_LOST - Static variable in class javax.management.remote.JMXConnectionNotification
-
Notification type string for a connection that has possibly lost notifications.
- notify() - Method in class java.lang.Object
-
Wakes up a single thread that is waiting on this object's monitor.
- notifyAction - Static variable in class javax.swing.JTextField
-
Name of the action to send notification that the contents of the field have been accepted.
- notifyAction(Action, KeyStroke, KeyEvent, Object, int) - Static method in class javax.swing.SwingUtilities
-
Invokes
actionPerformed
onaction
ifaction
is non-null
and accepts the sender object. - notifyAll() - Method in class java.lang.Object
-
Wakes up all threads that are waiting on this object's monitor.
- notifyCaught() - Method in interface com.sun.jdi.request.ExceptionRequest
-
Returns whether caught exceptions of the requested type will generate events when they are thrown.
- notifyClientWindowChange(Rectangle) - Method in interface java.awt.im.spi.InputMethod
-
Notifies this input method of changes in the client window location or state.
- notifyCursorMoved() - Method in class javax.sql.rowset.BaseRowSet
-
Notifies all of the listeners registered with this
RowSet
object that its cursor has moved. - notifyObservers() - Method in class java.util.Observable
-
Deprecated.If this object has changed, as indicated by the
hasChanged
method, then notify all of its observers and then call theclearChanged
method to indicate that this object has no longer changed. - notifyObservers(Object) - Method in class java.util.Observable
-
Deprecated.If this object has changed, as indicated by the
hasChanged
method, then notify all of its observers and then call theclearChanged
method to indicate that this object has no longer changed. - notifyPathChange(Vector<?>, TreePath) - Method in class javax.swing.tree.DefaultTreeSelectionModel
-
Deprecated.As of JDK version 1.7
- notifyRowChanged() - Method in class javax.sql.rowset.BaseRowSet
-
Notifies all of the listeners registered with this
RowSet
object that one of its rows has changed. - notifyRowSetChanged() - Method in class javax.sql.rowset.BaseRowSet
-
Notifies all of the listeners registered with this
RowSet
object that its entire contents have changed. - notifyUncaught() - Method in interface com.sun.jdi.request.ExceptionRequest
-
Returns whether uncaught exceptions of the requested type will generate events when they are thrown.
- NotImplementedException(String) - Constructor for exception class jdk.jshell.spi.ExecutionControl.NotImplementedException
- NotLinkException - Exception Class in java.nio.file
-
Checked exception thrown when a file system operation fails because a file is not a symbolic link.
- NotLinkException(String) - Constructor for exception class java.nio.file.NotLinkException
-
Constructs an instance of this class.
- NotLinkException(String, String, String) - Constructor for exception class java.nio.file.NotLinkException
-
Constructs an instance of this class.
- notSelectedTextColor - Variable in class javax.swing.plaf.basic.BasicInternalFrameTitlePane
-
The color of a not selected text.
- notSelectedTitleColor - Variable in class javax.swing.plaf.basic.BasicInternalFrameTitlePane
-
The color of a not selected title.
- NotSerializableException - Exception Class in java.io
-
Thrown when an instance is required to have a Serializable interface.
- NotSerializableException() - Constructor for exception class java.io.NotSerializableException
-
Constructs a NotSerializableException object.
- NotSerializableException(String) - Constructor for exception class java.io.NotSerializableException
-
Constructs a NotSerializableException object with message string.
- NotYetBoundException - Exception Class in java.nio.channels
-
Unchecked exception thrown when an attempt is made to invoke an I/O operation upon a server socket channel that is not yet bound.
- NotYetBoundException() - Constructor for exception class java.nio.channels.NotYetBoundException
-
Constructs an instance of this class.
- NotYetConnectedException - Exception Class in java.nio.channels
-
Unchecked exception thrown when an attempt is made to invoke an I/O operation upon a socket channel that is not yet connected.
- NotYetConnectedException() - Constructor for exception class java.nio.channels.NotYetConnectedException
-
Constructs an instance of this class.
- NoType - Interface in javax.lang.model.type
-
A pseudo-type used where no actual type is appropriate.
- NOVEMBER - Enum constant in enum class java.time.Month
-
The singleton instance for the month of November with 30 days.
- NOVEMBER - Static variable in class java.util.Calendar
-
Value of the
Calendar.MONTH
field indicating the eleventh month of the year in the Gregorian and Julian calendars. - NOVEMBER - Static variable in class javax.xml.datatype.DatatypeConstants
-
Value for eleven month of year.
- now() - Static method in class java.time.chrono.HijrahDate
-
Obtains the current
HijrahDate
of the Islamic Umm Al-Qura calendar in the default time-zone. - now() - Static method in class java.time.chrono.JapaneseDate
-
Obtains the current
JapaneseDate
from the system clock in the default time-zone. - now() - Static method in class java.time.chrono.MinguoDate
-
Obtains the current
MinguoDate
from the system clock in the default time-zone. - now() - Static method in class java.time.chrono.ThaiBuddhistDate
-
Obtains the current
ThaiBuddhistDate
from the system clock in the default time-zone. - now() - Static method in class java.time.Instant
-
Obtains the current instant from the system clock.
- now() - Static method in class java.time.LocalDate
-
Obtains the current date from the system clock in the default time-zone.
- now() - Static method in class java.time.LocalDateTime
-
Obtains the current date-time from the system clock in the default time-zone.
- now() - Static method in class java.time.LocalTime
-
Obtains the current time from the system clock in the default time-zone.
- now() - Static method in class java.time.MonthDay
-
Obtains the current month-day from the system clock in the default time-zone.
- now() - Static method in class java.time.OffsetDateTime
-
Obtains the current date-time from the system clock in the default time-zone.
- now() - Static method in class java.time.OffsetTime
-
Obtains the current time from the system clock in the default time-zone.
- now() - Static method in class java.time.Year
-
Obtains the current year from the system clock in the default time-zone.
- now() - Static method in class java.time.YearMonth
-
Obtains the current year-month from the system clock in the default time-zone.
- now() - Static method in class java.time.ZonedDateTime
-
Obtains the current date-time from the system clock in the default time-zone.
- now(Clock) - Static method in class java.time.chrono.HijrahDate
-
Obtains the current
HijrahDate
of the Islamic Umm Al-Qura calendar from the specified clock. - now(Clock) - Static method in class java.time.chrono.JapaneseDate
-
Obtains the current
JapaneseDate
from the specified clock. - now(Clock) - Static method in class java.time.chrono.MinguoDate
-
Obtains the current
MinguoDate
from the specified clock. - now(Clock) - Static method in class java.time.chrono.ThaiBuddhistDate
-
Obtains the current
ThaiBuddhistDate
from the specified clock. - now(Clock) - Static method in class java.time.Instant
-
Obtains the current instant from the specified clock.
- now(Clock) - Static method in class java.time.LocalDate
-
Obtains the current date from the specified clock.
- now(Clock) - Static method in class java.time.LocalDateTime
-
Obtains the current date-time from the specified clock.
- now(Clock) - Static method in class java.time.LocalTime
-
Obtains the current time from the specified clock.
- now(Clock) - Static method in class java.time.MonthDay
-
Obtains the current month-day from the specified clock.
- now(Clock) - Static method in class java.time.OffsetDateTime
-
Obtains the current date-time from the specified clock.
- now(Clock) - Static method in class java.time.OffsetTime
-
Obtains the current time from the specified clock.
- now(Clock) - Static method in class java.time.Year
-
Obtains the current year from the specified clock.
- now(Clock) - Static method in class java.time.YearMonth
-
Obtains the current year-month from the specified clock.
- now(Clock) - Static method in class java.time.ZonedDateTime
-
Obtains the current date-time from the specified clock.
- now(ZoneId) - Static method in class java.time.chrono.HijrahDate
-
Obtains the current
HijrahDate
of the Islamic Umm Al-Qura calendar in the specified time-zone. - now(ZoneId) - Static method in class java.time.chrono.JapaneseDate
-
Obtains the current
JapaneseDate
from the system clock in the specified time-zone. - now(ZoneId) - Static method in class java.time.chrono.MinguoDate
-
Obtains the current
MinguoDate
from the system clock in the specified time-zone. - now(ZoneId) - Static method in class java.time.chrono.ThaiBuddhistDate
-
Obtains the current
ThaiBuddhistDate
from the system clock in the specified time-zone. - now(ZoneId) - Static method in class java.time.LocalDate
-
Obtains the current date from the system clock in the specified time-zone.
- now(ZoneId) - Static method in class java.time.LocalDateTime
-
Obtains the current date-time from the system clock in the specified time-zone.
- now(ZoneId) - Static method in class java.time.LocalTime
-
Obtains the current time from the system clock in the specified time-zone.
- now(ZoneId) - Static method in class java.time.MonthDay
-
Obtains the current month-day from the system clock in the specified time-zone.
- now(ZoneId) - Static method in class java.time.OffsetDateTime
-
Obtains the current date-time from the system clock in the specified time-zone.
- now(ZoneId) - Static method in class java.time.OffsetTime
-
Obtains the current time from the system clock in the specified time-zone.
- now(ZoneId) - Static method in class java.time.Year
-
Obtains the current year from the system clock in the specified time-zone.
- now(ZoneId) - Static method in class java.time.YearMonth
-
Obtains the current year-month from the system clock in the specified time-zone.
- now(ZoneId) - Static method in class java.time.ZonedDateTime
-
Obtains the current date-time from the system clock in the specified time-zone.
- NOWRAP - Static variable in class javax.swing.text.html.HTML.Attribute
-
Attribute "nowrap"
- npoints - Variable in class java.awt.Polygon
-
The total number of points.
- NSDECL - Static variable in class org.xml.sax.helpers.NamespaceSupport
-
The namespace declaration URI as a constant.
- NT_ANONYMOUS - Static variable in interface org.ietf.jgss.GSSName
-
Name type for representing an anonymous entity.
- NT_EXPORT_NAME - Static variable in interface org.ietf.jgss.GSSName
-
Name type used to indicate an exported name produced by the export method.
- NT_HOSTBASED_SERVICE - Static variable in interface org.ietf.jgss.GSSName
-
Oid indicating a host-based service name form.
- NT_MACHINE_UID_NAME - Static variable in interface org.ietf.jgss.GSSName
-
Name type to indicate a numeric user identifier corresponding to a user on a local system.
- NT_STRING_UID_NAME - Static variable in interface org.ietf.jgss.GSSName
-
Name type to indicate a string of digits representing the numeric user identifier of a user on a local system.
- NT_USER_NAME - Static variable in interface org.ietf.jgss.GSSName
-
Name type to indicate a named user on a local system.
- NTDomainPrincipal - Class in com.sun.security.auth
-
This class implements the
Principal
interface and represents the name of the Windows NT domain into which the user authenticated. - NTDomainPrincipal(String) - Constructor for class com.sun.security.auth.NTDomainPrincipal
-
Create an
NTDomainPrincipal
with a Windows NT domain name. - NTLoginModule - Class in com.sun.security.auth.module
-
This
LoginModule
renders a user's NT security information as some number ofPrincipal
s and associates them with aSubject
. - NTLoginModule() - Constructor for class com.sun.security.auth.module.NTLoginModule
-
Creates an
NTLoginModule
. - NTNumericCredential - Class in com.sun.security.auth
-
This class abstracts an NT security token and provides a mechanism to do same-process security impersonation.
- NTNumericCredential(long) - Constructor for class com.sun.security.auth.NTNumericCredential
-
Create an
NTNumericCredential
with an integer value. - NTSid - Class in com.sun.security.auth
-
This class implements the
Principal
interface and represents information about a Windows NT user, group or realm. - NTSid(String) - Constructor for class com.sun.security.auth.NTSid
-
Create an
NTSid
with a Windows NT SID. - NTSidDomainPrincipal - Class in com.sun.security.auth
-
This class extends
NTSid
and represents a Windows NT user's domain SID. - NTSidDomainPrincipal(String) - Constructor for class com.sun.security.auth.NTSidDomainPrincipal
-
Create an
NTSidDomainPrincipal
with a Windows NT SID. - NTSidGroupPrincipal - Class in com.sun.security.auth
-
This class extends
NTSid
and represents one of the groups to which a Windows NT user belongs. - NTSidGroupPrincipal(String) - Constructor for class com.sun.security.auth.NTSidGroupPrincipal
-
Create an
NTSidGroupPrincipal
with a Windows NT group name. - NTSidPrimaryGroupPrincipal - Class in com.sun.security.auth
-
This class extends
NTSid
and represents a Windows NT user's primary group SID. - NTSidPrimaryGroupPrincipal(String) - Constructor for class com.sun.security.auth.NTSidPrimaryGroupPrincipal
-
Create an
NTSidPrimaryGroupPrincipal
with a Windows NT group SID. - NTSidUserPrincipal - Class in com.sun.security.auth
-
This class extends
NTSid
and represents a Windows NT user's SID. - NTSidUserPrincipal(String) - Constructor for class com.sun.security.auth.NTSidUserPrincipal
-
Create an
NTSidUserPrincipal
with a Windows NT SID. - NTSystem - Class in com.sun.security.auth.module
-
This class implementation retrieves and makes available NT security information for the current user.
- NTSystem() - Constructor for class com.sun.security.auth.module.NTSystem
-
Instantiate an
NTSystem
and load the native library to access the underlying system information. - NTUserPrincipal - Class in com.sun.security.auth
-
This class implements the
Principal
interface and represents a Windows NT user. - NTUserPrincipal(String) - Constructor for class com.sun.security.auth.NTUserPrincipal
-
Create an
NTUserPrincipal
with a Windows NT username. - NULL - Enum constant in enum class java.lang.classfile.attribute.StackMapFrameInfo.SimpleVerificationTypeInfo
-
verification type null
- NULL - Enum constant in enum class java.sql.JDBCType
-
Identifies the generic SQL value
NULL
. - NULL - Enum constant in enum class javax.lang.model.type.TypeKind
-
The null type.
- NULL - Static variable in class java.lang.constant.ConstantDescs
-
Nominal descriptor representing the constant
null
- NULL - Static variable in interface java.lang.foreign.MemorySegment
-
A zero-length native segment modelling the
NULL
address. - NULL - Static variable in class java.sql.Types
-
The constant in the Java programming language that identifies the generic SQL value
NULL
. - NULL_ATTRIBUTE_VALUE - Static variable in class javax.swing.text.html.HTML
-
NULL_ATTRIBUTE_VALUE
used in cases where the value for the attribute has not been specified. - NULL_LITERAL - Enum constant in enum class com.sun.source.tree.Tree.Kind
-
Used for instances of
LiteralTree
representing the use ofnull
. - NULL_NS_URI - Static variable in class javax.xml.XMLConstants
-
Namespace URI to use to represent that there is no Namespace.
- NullCipher - Class in javax.crypto
-
The
NullCipher
class is a class that provides an "identity cipher" -- one that does not transform the plain text. - NullCipher() - Constructor for class javax.crypto.NullCipher
-
Creates a
NullCipher
object. - nullConstant(MethodHandles.Lookup, String, Class<?>) - Static method in class java.lang.invoke.ConstantBootstraps
-
Returns a
null
object reference for the reference type specified bytype
. - Null handling - Search tag in class java.util.ServiceLoader
- Section
- nullInputStream() - Static method in class java.io.InputStream
-
Returns a new
InputStream
that reads no bytes. - NULLORDER - Static variable in class java.text.CollationElementIterator
-
Null order which indicates the end of string is reached by the cursor.
- nullOutputStream() - Static method in class java.io.OutputStream
-
Returns a new
OutputStream
which discards all bytes. - nullPlusNonNullIsNull() - Method in interface java.sql.DatabaseMetaData
-
Retrieves whether this database supports concatenations between
NULL
and non-NULL
values beingNULL
. - NullPointerException - Exception Class in java.lang
-
Thrown when an application attempts to use
null
in a case where an object is required. - NullPointerException() - Constructor for exception class java.lang.NullPointerException
-
Constructs a
NullPointerException
with no detail message. - NullPointerException(String) - Constructor for exception class java.lang.NullPointerException
-
Constructs a
NullPointerException
with the specified detail message. - Null Pointers - Search tag in package java.util.logging
- Section
- nullReader() - Static method in class java.io.Reader
-
Returns a new
Reader
that reads no characters. - nullsAreSortedAtEnd() - Method in interface java.sql.DatabaseMetaData
-
Retrieves whether
NULL
values are sorted at the end regardless of sort order. - nullsAreSortedAtStart() - Method in interface java.sql.DatabaseMetaData
-
Retrieves whether
NULL
values are sorted at the start regardless of sort order. - nullsAreSortedHigh() - Method in interface java.sql.DatabaseMetaData
-
Retrieves whether
NULL
values are sorted high. - nullsAreSortedLow() - Method in interface java.sql.DatabaseMetaData
-
Retrieves whether
NULL
values are sorted low. - nullsFirst(Comparator<? super T>) - Static method in interface java.util.Comparator
-
Returns a null-friendly comparator that considers
null
to be less than non-null. - nullsLast(Comparator<? super T>) - Static method in interface java.util.Comparator
-
Returns a null-friendly comparator that considers
null
to be greater than non-null. - NullType - Interface in javax.lang.model.type
-
Represents the null type.
- nullWriter() - Static method in class java.io.Writer
-
Returns a new
Writer
which discards all characters. - NUM_COLORS - Static variable in class java.awt.SystemColor
-
The number of system colors in the array.
- NUM_LOCK - Static variable in class java.awt.Event
-
Deprecated.The Num Lock key, a non-ASCII action key.
- numBands - Variable in class java.awt.image.ComponentSampleModel
-
The number of bands in this
ComponentSampleModel
. - numBands - Variable in class java.awt.image.Raster
-
The number of bands in the Raster.
- numBands - Variable in class java.awt.image.SampleModel
-
Number of bands of the image data that this SampleModel describes.
- numBanks - Variable in class java.awt.image.ComponentSampleModel
-
The number of banks in this
ComponentSampleModel
. - Number - Class in java.lang
-
The abstract class
Number
is the superclass of platform classes representing numeric values that are convertible to the primitive typesbyte
,double
,float
,int
,long
, andshort
. - Number() - Constructor for class java.lang.Number
-
Constructor for subclasses to call.
- NUMBER - Enum constant in enum class javax.xml.xpath.XPathEvaluationResult.XPathResultType
-
The XPath 1.0 Number data type.
- NUMBER - Static variable in interface javax.swing.text.html.parser.DTDConstants
-
The DTD constant corresponds to NUMBER
- NUMBER - Static variable in class javax.xml.xpath.XPathConstants
-
The XPath 1.0 number data type.
- NUMBER_FORMS - Static variable in class java.lang.Character.UnicodeBlock
-
Constant for the "Number Forms" Unicode character block.
- NUMBER_TYPE - Static variable in interface org.w3c.dom.xpath.XPathResult
-
The result is a number as defined by .
- NumberEditor(JSpinner) - Constructor for class javax.swing.JSpinner.NumberEditor
-
Construct a
JSpinner
editor that supports displaying and editing the value of aSpinnerNumberModel
with aJFormattedTextField
. - NumberEditor(JSpinner, String) - Constructor for class javax.swing.JSpinner.NumberEditor
-
Construct a
JSpinner
editor that supports displaying and editing the value of aSpinnerNumberModel
with aJFormattedTextField
. - numberFilter(RowFilter.ComparisonType, Number, int...) - Static method in class javax.swing.RowFilter
-
Returns a
RowFilter
that includes entries that have at least oneNumber
value meeting the specified criteria. - numberFormat - Variable in class java.text.DateFormat
-
The number formatter that
DateFormat
uses to format numbers in dates and times. - NumberFormat - Class in java.text
-
NumberFormat
is the abstract base class for all number formats. - NumberFormat() - Constructor for class java.text.NumberFormat
-
Sole constructor.
- NumberFormat.Field - Class in java.text
-
Defines constants that are used as attribute keys in the
AttributedCharacterIterator
returned fromNumberFormat.formatToCharacterIterator
and as field identifiers inFieldPosition
. - NumberFormat.Style - Enum Class in java.text
-
A number format style.
- NumberFormatException - Exception Class in java.lang
-
Thrown to indicate that the application has attempted to convert a string to one of the numeric types, but that the string does not have the appropriate format.
- NumberFormatException() - Constructor for exception class java.lang.NumberFormatException
-
Constructs a
NumberFormatException
with no detail message. - NumberFormatException(String) - Constructor for exception class java.lang.NumberFormatException
-
Constructs a
NumberFormatException
with the specified detail message. - NumberFormatProvider - Class in java.text.spi
-
An abstract class for service providers that provide concrete implementations of the
NumberFormat
class. - NumberFormatProvider() - Constructor for class java.text.spi.NumberFormatProvider
-
Sole constructor.
- NumberFormatter - Class in javax.swing.text
-
NumberFormatter
subclassesInternationalFormatter
adding special behavior for numbers. - NumberFormatter() - Constructor for class javax.swing.text.NumberFormatter
-
Creates a
NumberFormatter
with the defaultNumberFormat
instance obtained fromNumberFormat.getNumberInstance()
. - NumberFormatter(NumberFormat) - Constructor for class javax.swing.text.NumberFormatter
-
Creates a NumberFormatter with the specified Format instance.
- NumberOfDocuments - Class in javax.print.attribute.standard
-
Class
NumberOfDocuments
is an integer valued printing attribute that indicates the number of individual docs the printer has accepted for this job, regardless of whether the docs' print data has reached the printer or not. - NumberOfDocuments(int) - Constructor for class javax.print.attribute.standard.NumberOfDocuments
-
Construct a new number of documents attribute with the given integer value.
- NumberOfInterveningJobs - Class in javax.print.attribute.standard
-
Class
NumberOfInterveningJobs
is an integer valued printing attribute that indicates the number of jobs that are ahead of this job in the relative chronological order of expected time to complete (i.e., the current scheduled order). - NumberOfInterveningJobs(int) - Constructor for class javax.print.attribute.standard.NumberOfInterveningJobs
-
Construct a new number of intervening jobs attribute with the given integer value.
- numberOfLeadingZeros(int) - Static method in class java.lang.Integer
-
Returns the number of zero bits preceding the highest-order ("leftmost") one-bit in the two's complement binary representation of the specified
int
value. - numberOfLeadingZeros(long) - Static method in class java.lang.Long
-
Returns the number of zero bits preceding the highest-order ("leftmost") one-bit in the two's complement binary representation of the specified
long
value. - numberOfTrailingZeros(int) - Static method in class java.lang.Integer
-
Returns the number of zero bits following the lowest-order ("rightmost") one-bit in the two's complement binary representation of the specified
int
value. - numberOfTrailingZeros(long) - Static method in class java.lang.Long
-
Returns the number of zero bits following the lowest-order ("rightmost") one-bit in the two's complement binary representation of the specified
long
value. - NUMBERS - Static variable in interface javax.swing.text.html.parser.DTDConstants
-
The DTD constant corresponds to NUMBERS
- Number syntax - Search tag in class java.util.Scanner
- Section
- NumberUp - Class in javax.print.attribute.standard
-
Class
NumberUp
is an integer valued printing attribute class that specifies the number of print-stream pages to impose upon a single side of an instance of a selected medium. - NumberUp(int) - Constructor for class javax.print.attribute.standard.NumberUp
-
Construct a new number up attribute with the given integer value.
- NumberUpSupported - Class in javax.print.attribute.standard
-
Class
NumberUpSupported
is a printing attribute class, a set of integers, that gives the supported values for aNumberUp
attribute. - NumberUpSupported(int) - Constructor for class javax.print.attribute.standard.NumberUpSupported
-
Construct a new number up supported attribute containing a single integer.
- NumberUpSupported(int[][]) - Constructor for class javax.print.attribute.standard.NumberUpSupported
-
Construct a new number up supported attribute with the given members.
- NumberUpSupported(int, int) - Constructor for class javax.print.attribute.standard.NumberUpSupported
-
Construct a new number up supported attribute containing a single range of integers.
- numBuffers - Variable in class java.awt.Component.FlipBufferStrategy
-
The number of buffers
- numDataElements - Variable in class java.awt.image.Raster
-
The number of DataBuffer data elements per pixel.
- Numeric - Search tag in class java.util.Formatter
- Section
- NUMERIC - Enum constant in enum class java.sql.JDBCType
-
Identifies the generic SQL type
NUMERIC
. - NUMERIC - Static variable in class java.sql.Types
-
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
NUMERIC
. - NUMERIC_SHAPING - Static variable in class java.awt.font.TextAttribute
-
Attribute key for converting ASCII decimal digits to other decimal ranges.
- numerical equality - Search tag in class java.lang.Double
- NumericShaper - Class in java.awt.font
-
The
NumericShaper
class is used to convert Latin-1 (European) digits to other Unicode decimal digits. - NumericShaper.Range - Enum Class in java.awt.font
-
A
NumericShaper.Range
represents a Unicode range of a script having its own decimal digits. - numProgressivePasses - Variable in class javax.imageio.ImageReadParam
-
The maximum number of progressive passes to read from the source.
- NUSHU - Enum constant in enum class java.lang.Character.UnicodeScript
-
Unicode script "Nushu".
- NUSHU - Static variable in class java.lang.Character.UnicodeBlock
-
Constant for the "Nushu" Unicode character block.
- NUTOKEN - Static variable in interface javax.swing.text.html.parser.DTDConstants
-
The DTD constant corresponds to NUTOKEN
- NUTOKENS - Static variable in interface javax.swing.text.html.parser.DTDConstants
-
The DTD constant corresponds to NUTOKENS
- nval - Variable in class java.io.StreamTokenizer
-
If the current token is a number, this field contains the value of that number.
- NVARCHAR - Enum constant in enum class java.sql.JDBCType
-
Identifies the generic SQL type
NVARCHAR
. - NVARCHAR - Static variable in class java.sql.Types
-
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
NVARCHAR
. - NW_RESIZE_CURSOR - Static variable in class java.awt.Cursor
-
The north-west-resize cursor type.
- NW_RESIZE_CURSOR - Static variable in class java.awt.Frame
-
Deprecated.replaced by
Cursor.NW_RESIZE_CURSOR
. - NYIAKENG_PUACHUE_HMONG - Enum constant in enum class java.lang.Character.UnicodeScript
-
Unicode script "Nyiakeng Puachue Hmong".
- NYIAKENG_PUACHUE_HMONG - Static variable in class java.lang.Character.UnicodeBlock
-
Constant for the "Nyiakeng Puachue Hmong" Unicode character block.
All Classes and Interfaces|All Packages|Constant Field Values|External Specifications|Restricted Methods|Search Tags|Serialized Form|System Properties
Cursor.N_RESIZE_CURSOR
.