Uses of Class
java.lang.Override
-
Packages that use Override Package Description java.applet Provides the classes necessary to create an applet and the classes an applet uses to communicate with its applet context.java.awt Contains all of the classes for creating user interfaces and for painting graphics and images.java.awt.datatransfer Provides interfaces and classes for transferring data between and within applications.java.beans Contains classes related to developing beans -- components based on the JavaBeans™ architecture.java.io Provides for system input and output through data streams, serialization and the file system.java.lang Provides classes that are fundamental to the design of the Java programming language.java.lang.invoke Thejava.lang.invoke
package contains dynamic language support provided directly by the Java core class libraries and virtual machine.java.lang.ref Provides reference-object classes, which support a limited degree of interaction with the garbage collector.java.lang.reflect Provides classes and interfaces for obtaining reflective information about classes and objects.java.math Provides classes for performing arbitrary-precision integer arithmetic (BigInteger
) and arbitrary-precision decimal arithmetic (BigDecimal
).java.net Provides the classes for implementing networking applications.java.nio Defines buffers, which are containers for data, and provides an overview of the other NIO packages.java.nio.channels Defines channels, which represent connections to entities that are capable of performing I/O operations, such as files and sockets; defines selectors, for multiplexed, non-blocking I/O operations.java.nio.file Defines interfaces and classes for the Java virtual machine to access files, file attributes, and file systems.java.nio.file.attribute Interfaces and classes providing access to file and file system attributes.java.security Provides the classes and interfaces for the security framework.java.security.cert Provides classes and interfaces for parsing and managing certificates, certificate revocation lists (CRLs), and certification paths.java.security.spec Provides classes and interfaces for key specifications and algorithm parameter specifications.java.sql Provides the API for accessing and processing data stored in a data source (usually a relational database) using the JavaTM programming language.java.text Provides classes and interfaces for handling text, dates, numbers, and messages in a manner independent of natural languages.java.time The main API for dates, times, instants, and durations.java.time.chrono Generic API for calendar systems other than the default ISO.java.time.format Provides classes to print and parse dates and times.java.time.temporal Access to date and time using fields and units, and date time adjusters.java.time.zone Support for time-zones and their rules.java.util Contains the collections framework, legacy collection classes, event model, date and time facilities, internationalization, and miscellaneous utility classes (a string tokenizer, a random-number generator, and a bit array).java.util.concurrent Utility classes commonly useful in concurrent programming.java.util.jar Provides classes for reading and writing the JAR (Java ARchive) file format, which is based on the standard ZIP file format with an optional manifest file.java.util.logging Provides the classes and interfaces of the JavaTM 2 platform's core logging facilities.java.util.stream Classes to support functional-style operations on streams of elements, such as map-reduce transformations on collections.javax.lang.model.element Interfaces used to model elements of the Java programming language.javax.lang.model.util Utilities to assist in the processing of program elements and types.javax.management Provides the core classes for the Java Management Extensions.javax.management.modelmbean Provides the definition of the ModelMBean classes.javax.management.monitor Provides the definition of the monitor classes.javax.management.openmbean Provides the open data types and Open MBean descriptor classes.javax.management.relation Provides the definition of the Relation Service.javax.management.remote Interfaces for remote access to JMX MBean servers.javax.management.remote.rmi The RMI connector is a connector for the JMX Remote API that uses RMI to transmit client requests to a remote MBean server.javax.net.ssl Provides classes for the secure socket package.javax.swing Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.javax.swing.border Provides classes and interface for drawing specialized borders around a Swing component.javax.swing.plaf.basic Provides user interface objects built according to the Basic look and feel.javax.swing.plaf.metal Provides user interface objects built according to the Java look and feel (once codenamed Metal), which is the default look and feel.javax.swing.plaf.nimbus Provides user interface objects built according to the cross-platform Nimbus look and feel.javax.swing.plaf.synth Synth is a skinnable look and feel in which all painting is delegated.javax.swing.text Provides classes and interfaces that deal with editable and noneditable text components.javax.tools Provides interfaces for tools which can be invoked from a program, for example, compilers.javax.xml.bind Provides a runtime binding framework for client applications including unmarshalling, marshalling, and validation capabilities.javax.xml.parsers Provides classes allowing the processing of XML documents.javax.xml.stream javax.xml.transform This package defines the generic APIs for processing transformation instructions, and performing a transformation from source to result. -
-
Uses of Override in java.applet
Methods in java.applet with annotations of type Override Modifier and Type Method and Description boolean
Applet. isValidateRoot()
Indicates if this container is a validate root. -
Uses of Override in java.awt
Methods in java.awt with annotations of type Override Modifier and Type Method and Description Color
Window. getBackground()
Gets the background color of this window.void
Container. invalidate()
Invalidates the container.boolean
Window. isOpaque()
Indicates if the window is currently opaque.boolean
Window. isValidateRoot()
Indicates if this container is a validate root.void
Window. paint(Graphics g)
Paints the container.void
Dialog. setBackground(Color bgColor)
Sets the background color of this window.void
Frame. setBackground(Color bgColor)
Sets the background color of this window.void
Window. setBackground(Color bgColor)
Sets the background color of this window.void
Window. setLocation(int x, int y)
Moves this component to a new location.void
Window. setLocation(Point p)
Moves this component to a new location.void
Dialog. setOpacity(float opacity)
Sets the opacity of the window.void
Frame. setOpacity(float opacity)
Sets the opacity of the window.void
Dialog. setShape(Shape shape)
Sets the shape of the window.void
Frame. setShape(Shape shape)
Sets the shape of the window. -
Uses of Override in java.awt.datatransfer
Methods in java.awt.datatransfer with annotations of type Override Modifier and Type Method and Description List<DataFlavor>
SystemFlavorMap. getFlavorsForNative(String nat)
Returns aList
ofDataFlavor
s to which the specifiedString
native can be translated by the data transfer subsystem.Map<String,DataFlavor>
SystemFlavorMap. getFlavorsForNatives(String[] natives)
Returns aMap
of the specifiedString
natives to their most preferredDataFlavor
.List<String>
SystemFlavorMap. getNativesForFlavor(DataFlavor flav)
Returns aList
ofString
natives to which the specifiedDataFlavor
can be translated by the data transfer subsystem.Map<DataFlavor,String>
SystemFlavorMap. getNativesForFlavors(DataFlavor[] flavors)
Returns aMap
of the specifiedDataFlavor
s to their most preferredString
native. -
Uses of Override in java.beans
Methods in java.beans with annotations of type Override Modifier and Type Method and Description void
Expression. execute()
Theexecute
method finds a method whose name is the same as themethodName
property, and invokes the method on the target. -
Uses of Override in java.io
Methods in java.io with annotations of type Override Modifier and Type Method and Description IOException
UncheckedIOException. getCause()
Returns the cause of this exception. -
Uses of Override in java.lang
Methods in java.lang with annotations of type Override Modifier and Type Method and Description StringBuffer
StringBuffer. append(boolean b)
StringBuilder
StringBuilder. append(boolean b)
StringBuffer
StringBuffer. append(char c)
StringBuilder
StringBuilder. append(char c)
StringBuffer
StringBuffer. append(char[] str)
StringBuilder
StringBuilder. append(char[] str)
StringBuffer
StringBuffer. append(char[] str, int offset, int len)
StringBuilder
StringBuilder. append(char[] str, int offset, int len)
StringBuffer
StringBuffer. append(CharSequence s)
Appends the specifiedCharSequence
to this sequence.StringBuilder
StringBuilder. append(CharSequence s)
StringBuffer
StringBuffer. append(CharSequence s, int start, int end)
StringBuilder
StringBuilder. append(CharSequence s, int start, int end)
StringBuffer
StringBuffer. append(double d)
StringBuilder
StringBuilder. append(double d)
StringBuffer
StringBuffer. append(float f)
StringBuilder
StringBuilder. append(float f)
StringBuffer
StringBuffer. append(int i)
StringBuilder
StringBuilder. append(int i)
StringBuffer
StringBuffer. append(long lng)
StringBuilder
StringBuilder. append(long lng)
StringBuffer
StringBuffer. append(Object obj)
StringBuilder
StringBuilder. append(Object obj)
StringBuffer
StringBuffer. append(String str)
StringBuilder
StringBuilder. append(String str)
StringBuffer
StringBuffer. appendCodePoint(int codePoint)
StringBuilder
StringBuilder. appendCodePoint(int codePoint)
int
StringBuffer. capacity()
char
StringBuffer. charAt(int index)
protected Object
Thread. clone()
Throws CloneNotSupportedException as a Thread can not be meaningfully cloned.int
StringBuffer. codePointAt(int index)
int
StringBuffer. codePointBefore(int index)
int
StringBuffer. codePointCount(int beginIndex, int endIndex)
StringBuffer
StringBuffer. delete(int start, int end)
StringBuilder
StringBuilder. delete(int start, int end)
StringBuffer
StringBuffer. deleteCharAt(int index)
StringBuilder
StringBuilder. deleteCharAt(int index)
void
StringBuffer. ensureCapacity(int minimumCapacity)
<A extends Annotation>
A[]Package. getAnnotationsByType(Class<A> annotationClass)
<A extends Annotation>
A[]Class. getAnnotationsByType(Class<A> annotationClass)
void
StringBuffer. getChars(int srcBegin, int srcEnd, char[] dst, int dstBegin)
<A extends Annotation>
APackage. getDeclaredAnnotation(Class<A> annotationClass)
<A extends Annotation>
AClass. getDeclaredAnnotation(Class<A> annotationClass)
<A extends Annotation>
A[]Package. getDeclaredAnnotationsByType(Class<A> annotationClass)
<A extends Annotation>
A[]Class. getDeclaredAnnotationsByType(Class<A> annotationClass)
int
Float. hashCode()
Returns a hash code for thisFloat
object.int
Short. hashCode()
Returns a hash code for thisShort
; equal to the result of invokingintValue()
.int
Byte. hashCode()
Returns a hash code for thisByte
; equal to the result of invokingintValue()
.int
Double. hashCode()
Returns a hash code for thisDouble
object.int
Character. hashCode()
Returns a hash code for thisCharacter
; equal to the result of invokingcharValue()
.int
Boolean. hashCode()
Returns a hash code for thisBoolean
object.int
Long. hashCode()
Returns a hash code for thisLong
.int
Integer. hashCode()
Returns a hash code for thisInteger
.int
StringBuffer. indexOf(String str)
int
StringBuilder. indexOf(String str)
int
StringBuffer. indexOf(String str, int fromIndex)
int
StringBuilder. indexOf(String str, int fromIndex)
StringBuffer
StringBuffer. insert(int offset, boolean b)
StringBuilder
StringBuilder. insert(int offset, boolean b)
StringBuffer
StringBuffer. insert(int offset, char c)
StringBuilder
StringBuilder. insert(int offset, char c)
StringBuffer
StringBuffer. insert(int offset, char[] str)
StringBuilder
StringBuilder. insert(int offset, char[] str)
StringBuffer
StringBuffer. insert(int index, char[] str, int offset, int len)
StringBuilder
StringBuilder. insert(int index, char[] str, int offset, int len)
StringBuffer
StringBuffer. insert(int dstOffset, CharSequence s)
StringBuilder
StringBuilder. insert(int dstOffset, CharSequence s)
StringBuffer
StringBuffer. insert(int dstOffset, CharSequence s, int start, int end)
StringBuilder
StringBuilder. insert(int dstOffset, CharSequence s, int start, int end)
StringBuffer
StringBuffer. insert(int offset, double d)
StringBuilder
StringBuilder. insert(int offset, double d)
StringBuffer
StringBuffer. insert(int offset, float f)
StringBuilder
StringBuilder. insert(int offset, float f)
StringBuffer
StringBuffer. insert(int offset, int i)
StringBuilder
StringBuilder. insert(int offset, int i)
StringBuffer
StringBuffer. insert(int offset, long l)
StringBuilder
StringBuilder. insert(int offset, long l)
StringBuffer
StringBuffer. insert(int offset, Object obj)
StringBuilder
StringBuilder. insert(int offset, Object obj)
StringBuffer
StringBuffer. insert(int offset, String str)
StringBuilder
StringBuilder. insert(int offset, String str)
boolean
Package. isAnnotationPresent(Class<? extends Annotation> annotationClass)
Returns true if an annotation for the specified type is present on this element, else false.boolean
Class. isAnnotationPresent(Class<? extends Annotation> annotationClass)
Returns true if an annotation for the specified type is present on this element, else false.int
StringBuffer. lastIndexOf(String str)
int
StringBuilder. lastIndexOf(String str)
int
StringBuffer. lastIndexOf(String str, int fromIndex)
int
StringBuilder. lastIndexOf(String str, int fromIndex)
int
StringBuffer. length()
int
StringBuffer. offsetByCodePoints(int index, int codePointOffset)
StringBuffer
StringBuffer. replace(int start, int end, String str)
StringBuilder
StringBuilder. replace(int start, int end, String str)
StringBuffer
StringBuffer. reverse()
StringBuilder
StringBuilder. reverse()
void
Thread. run()
If this thread was constructed using a separateRunnable
run object, then thatRunnable
object'srun
method is called; otherwise, this method does nothing and returns.void
StringBuffer. setCharAt(int index, char ch)
void
StringBuffer. setLength(int newLength)
CharSequence
StringBuffer. subSequence(int start, int end)
String
StringBuffer. substring(int start)
String
StringBuffer. substring(int start, int end)
String
StringBuffer. toString()
String
StringBuilder. toString()
void
StringBuffer. trimToSize()
-
Uses of Override in java.lang.invoke
Methods in java.lang.invoke with annotations of type Override Modifier and Type Method and Description MethodHandle
MutableCallSite. dynamicInvoker()
Produces a method handle equivalent to an invokedynamic instruction which has been linked to this call site.MethodHandle
ConstantCallSite. dynamicInvoker()
Returns this call site's permanent target.MethodHandle
VolatileCallSite. dynamicInvoker()
Produces a method handle equivalent to an invokedynamic instruction which has been linked to this call site.boolean
MethodType. equals(Object x)
Compares the specified object with this type for equality.MethodHandle
MutableCallSite. getTarget()
Returns the target method of the call site, which behaves like a normal field of theMutableCallSite
.MethodHandle
ConstantCallSite. getTarget()
Returns the target method of the call site, which behaves like afinal
field of theConstantCallSite
.MethodHandle
VolatileCallSite. getTarget()
Returns the target method of the call site, which behaves like avolatile
field of theVolatileCallSite
.int
MethodType. hashCode()
Returns the hash code value for this method type.void
MutableCallSite. setTarget(MethodHandle newTarget)
Updates the target method of this call site, as a normal variable.void
ConstantCallSite. setTarget(MethodHandle ignore)
Always throws anUnsupportedOperationException
.void
VolatileCallSite. setTarget(MethodHandle newTarget)
Updates the target method of this call site, as a volatile variable.String
SerializedLambda. toString()
String
MethodHandles.Lookup. toString()
Displays the name of the class from which lookups are to be made.String
MethodType. toString()
Returns a string representation of the method type, of the form"(PT0,PT1...)RT"
.String
MethodHandle. toString()
Returns a string representation of the method handle, starting with the string"MethodHandle"
and ending with the string representation of the method handle's type. -
Uses of Override in java.lang.ref
Methods in java.lang.ref with annotations of type Override Modifier and Type Method and Description protected Object
Reference. clone()
ThrowsCloneNotSupportedException
. -
Uses of Override in java.lang.reflect
Methods in java.lang.reflect with annotations of type Override Modifier and Type Method and Description AnnotatedType
Constructor. getAnnotatedReceiverType()
Returns anAnnotatedType
object that represents the use of a type to specify the receiver type of the method/constructor represented by this Executable object.AnnotatedType
Method. getAnnotatedReturnType()
Returns anAnnotatedType
object that represents the use of a type to specify the return type of the method/constructor represented by this Executable.AnnotatedType
Constructor. getAnnotatedReturnType()
Returns anAnnotatedType
object that represents the use of a type to specify the return type of the method/constructor represented by this Executable.<T extends Annotation>
T[]Field. getAnnotationsByType(Class<T> annotationClass)
Returns annotations that are associated with this element.<T extends Annotation>
T[]Parameter. getAnnotationsByType(Class<T> annotationClass)
Returns annotations that are associated with this element.<T extends Annotation>
T[]AccessibleObject. getAnnotationsByType(Class<T> annotationClass)
<T extends Annotation>
T[]Executable. getAnnotationsByType(Class<T> annotationClass)
Returns annotations that are associated with this element.<T extends Annotation>
TAccessibleObject. getDeclaredAnnotation(Class<T> annotationClass)
<T extends Annotation>
T[]Parameter. getDeclaredAnnotationsByType(Class<T> annotationClass)
<T extends Annotation>
T[]AccessibleObject. getDeclaredAnnotationsByType(Class<T> annotationClass)
Class<?>
Method. getDeclaringClass()
Returns theClass
object representing the class or interface that declares the executable represented by this object.Class<T>
Constructor. getDeclaringClass()
Returns theClass
object representing the class or interface that declares the executable represented by this object.Class<?>[]
Method. getExceptionTypes()
Returns an array ofClass
objects that represent the types of exceptions declared to be thrown by the underlying executable represented by this object.Class<?>[]
Constructor. getExceptionTypes()
Returns an array ofClass
objects that represent the types of exceptions declared to be thrown by the underlying executable represented by this object.Type[]
Method. getGenericExceptionTypes()
Returns an array ofType
objects that represent the exceptions declared to be thrown by this executable object.Type[]
Constructor. getGenericExceptionTypes()
Returns an array ofType
objects that represent the exceptions declared to be thrown by this executable object.Type[]
Method. getGenericParameterTypes()
Returns an array ofType
objects that represent the formal parameter types, in declaration order, of the executable represented by this object.Type[]
Constructor. getGenericParameterTypes()
Returns an array ofType
objects that represent the formal parameter types, in declaration order, of the executable represented by this object.int
Method. getModifiers()
Returns the Java language modifiers for the executable represented by this object.int
Constructor. getModifiers()
Returns the Java language modifiers for the executable represented by this object.String
Method. getName()
Returns the name of the method represented by thisMethod
object, as aString
.String
Constructor. getName()
Returns the name of this constructor, as a string.Annotation[][]
Method. getParameterAnnotations()
Returns an array of arrays ofAnnotation
s that represent the annotations on the formal parameters, in declaration order, of theExecutable
represented by this object.Annotation[][]
Constructor. getParameterAnnotations()
Returns an array of arrays ofAnnotation
s that represent the annotations on the formal parameters, in declaration order, of theExecutable
represented by this object.Class<?>[]
Method. getParameterTypes()
Returns an array ofClass
objects that represent the formal parameter types, in declaration order, of the executable represented by this object.Class<?>[]
Constructor. getParameterTypes()
Returns an array ofClass
objects that represent the formal parameter types, in declaration order, of the executable represented by this object.TypeVariable<Method>[]
Method. getTypeParameters()
Returns an array ofTypeVariable
objects that represent the type variables declared by the generic declaration represented by thisGenericDeclaration
object, in declaration order.TypeVariable<Constructor<T>>[]
Constructor. getTypeParameters()
Returns an array ofTypeVariable
objects that represent the type variables declared by the generic declaration represented by thisGenericDeclaration
object, in declaration order.boolean
AccessibleObject. isAnnotationPresent(Class<? extends Annotation> annotationClass)
Returns true if an annotation for the specified type is present on this element, else false.boolean
Method. isSynthetic()
Returnstrue
if this executable is a synthetic construct; returnsfalse
otherwise.boolean
Constructor. isSynthetic()
Returnstrue
if this executable is a synthetic construct; returnsfalse
otherwise.boolean
Method. isVarArgs()
Returnstrue
if this executable was declared to take a variable number of arguments; returnsfalse
otherwise.boolean
Constructor. isVarArgs()
Returnstrue
if this executable was declared to take a variable number of arguments; returnsfalse
otherwise.String
Method. toGenericString()
Returns a string describing thisMethod
, including type parameters.String
Constructor. toGenericString()
Returns a string describing thisConstructor
, including type parameters. -
Uses of Override in java.math
Methods in java.math with annotations of type Override Modifier and Type Method and Description boolean
BigDecimal. equals(Object x)
Compares thisBigDecimal
with the specifiedObject
for equality.int
BigDecimal. hashCode()
Returns the hash code for thisBigDecimal
.String
BigDecimal. toString()
Returns the string representation of thisBigDecimal
, using scientific notation if an exponent is needed. -
Uses of Override in java.net
Methods in java.net with annotations of type Override Modifier and Type Method and Description Object
HttpCookie. clone()
Create and return a copy of this object.boolean
Inet6Address. equals(Object obj)
Compares this object against the specified object.boolean
HttpCookie. equals(Object obj)
Test the equality of two HTTP cookies.boolean
InetSocketAddress. equals(Object obj)
Compares this object against the specified object.byte[]
Inet6Address. getAddress()
Returns the raw IP address of thisInetAddress
object.String
Inet6Address. getHostAddress()
Returns the IP address string in textual presentation.int
Inet6Address. hashCode()
Returns a hashcode for this IP address.int
HttpCookie. hashCode()
Returns the hash code of this HTTP cookie.int
InetSocketAddress. hashCode()
Returns a hashcode for this socket address.boolean
Inet6Address. isAnyLocalAddress()
Utility routine to check if the InetAddress in a wildcard address.boolean
Inet6Address. isLinkLocalAddress()
Utility routine to check if the InetAddress is an link local address.boolean
Inet6Address. isLoopbackAddress()
Utility routine to check if the InetAddress is a loopback address.boolean
Inet6Address. isMCGlobal()
Utility routine to check if the multicast address has global scope.boolean
Inet6Address. isMCLinkLocal()
Utility routine to check if the multicast address has link scope.boolean
Inet6Address. isMCNodeLocal()
Utility routine to check if the multicast address has node scope.boolean
Inet6Address. isMCOrgLocal()
Utility routine to check if the multicast address has organization scope.boolean
Inet6Address. isMCSiteLocal()
Utility routine to check if the multicast address has site scope.boolean
Inet6Address. isMulticastAddress()
Utility routine to check if the InetAddress is an IP multicast address.boolean
Inet6Address. isSiteLocalAddress()
Utility routine to check if the InetAddress is a site local address.String
HttpCookie. toString()
Constructs a cookie header string representation of this cookie, which is in the format defined by corresponding cookie specification, but without the leading "Cookie:" token.String
InetSocketAddress. toString()
Constructs a string representation of this InetSocketAddress. -
Uses of Override in java.nio
Methods in java.nio with annotations of type Override Modifier and Type Method and Description IntStream
CharBuffer. chars()
-
Uses of Override in java.nio.channels
Methods in java.nio.channels with annotations of type Override Modifier and Type Method and Description abstract AsynchronousSocketChannel
AsynchronousSocketChannel. bind(SocketAddress local)
abstract SocketChannel
SocketChannel. bind(SocketAddress local)
void
AsynchronousChannel. close()
Closes this channel.void
MulticastChannel. close()
Closes this channel.abstract SocketAddress
AsynchronousServerSocketChannel. getLocalAddress()
Returns the socket address that this channel's socket is bound to.abstract SocketAddress
DatagramChannel. getLocalAddress()
Returns the socket address that this channel's socket is bound to.abstract SocketAddress
ServerSocketChannel. getLocalAddress()
Returns the socket address that this channel's socket is bound to.abstract SocketAddress
SocketChannel. getLocalAddress()
Returns the socket address that this channel's socket is bound to.abstract Future<Integer>
AsynchronousSocketChannel. read(ByteBuffer dst)
int
SeekableByteChannel. read(ByteBuffer dst)
Reads a sequence of bytes from this channel into the given buffer.<A> void
AsynchronousSocketChannel. read(ByteBuffer dst, A attachment, CompletionHandler<Integer,? super A> handler)
abstract <T> AsynchronousSocketChannel
AsynchronousSocketChannel. setOption(SocketOption<T> name, T value)
abstract <T> SocketChannel
SocketChannel. setOption(SocketOption<T> name, T value)
abstract Future<Integer>
AsynchronousSocketChannel. write(ByteBuffer src)
int
SeekableByteChannel. write(ByteBuffer src)
Writes a sequence of bytes to this channel from the given buffer.<A> void
AsynchronousSocketChannel. write(ByteBuffer src, A attachment, CompletionHandler<Integer,? super A> handler)
-
Uses of Override in java.nio.file
Methods in java.nio.file with annotations of type Override Modifier and Type Method and Description void
WatchService. close()
Closes this watch service.abstract void
FileSystem. close()
Closes this file system.int
Path. compareTo(Path other)
Compares two abstract paths lexicographically.IOException
DirectoryIteratorException. getCause()
Returns the cause of this exception.String
FileSystemException. getMessage()
Returns the detail message string.Iterator<T>
DirectoryStream. iterator()
Returns the iterator associated with thisDirectoryStream
.Iterator<Path>
Path. iterator()
Returns an iterator over the name elements of this path.FileVisitResult
SimpleFileVisitor. postVisitDirectory(T dir, IOException exc)
Invoked for a directory after entries in the directory, and all of their descendants, have been visited.FileVisitResult
SimpleFileVisitor. preVisitDirectory(T dir, BasicFileAttributes attrs)
Invoked for a directory before entries in the directory are visited.WatchKey
Path. register(WatchService watcher, WatchEvent.Kind<?>... events)
Registers the file located by this path with a watch service.WatchKey
Path. register(WatchService watcher, WatchEvent.Kind<?>[] events, WatchEvent.Modifier... modifiers)
Registers the file located by this path with a watch service.FileVisitResult
SimpleFileVisitor. visitFile(T file, BasicFileAttributes attrs)
Invoked for a file in a directory.FileVisitResult
SimpleFileVisitor. visitFileFailed(T file, IOException exc)
Invoked for a file that could not be visited. -
Uses of Override in java.nio.file.attribute
Methods in java.nio.file.attribute with annotations of type Override Modifier and Type Method and Description int
FileTime. compareTo(FileTime other)
Compares the value of twoFileTime
objects for order.boolean
AclEntry. equals(Object ob)
Compares the specified object with this ACL entry for equality.boolean
FileTime. equals(Object obj)
Tests thisFileTime
for equality with the given object.int
AclEntry. hashCode()
Returns the hash-code value for this ACL entry.int
FileTime. hashCode()
Computes a hash code for this file time.String
DosFileAttributeView. name()
Returns the name of the attribute view.String
BasicFileAttributeView. name()
Returns the name of the attribute view.String
PosixFileAttributeView. name()
Returns the name of the attribute view.String
FileOwnerAttributeView. name()
Returns the name of the attribute view.String
AclFileAttributeView. name()
Returns the name of the attribute view.String
UserDefinedFileAttributeView. name()
Returns the name of this attribute view.DosFileAttributes
DosFileAttributeView. readAttributes()
PosixFileAttributes
PosixFileAttributeView. readAttributes()
String
AclEntry. toString()
Returns the string representation of this ACL entry.String
FileTime. toString()
Returns the string representation of thisFileTime
. -
Uses of Override in java.security
Methods in java.security with annotations of type Override Modifier and Type Method and Description void
Provider. clear()
Clears this provider so that it no longer contains the properties used to look up facilities implemented by the provider.Object
Provider. compute(Object key, BiFunction<? super Object,? super Object,? extends Object> remappingFunction)
Attempts to compute a mapping for the specified key and its current mapped value (ornull
if there is no current mapping).Object
Provider. computeIfAbsent(Object key, Function<? super Object,? extends Object> mappingFunction)
If the specified key is not already associated with a value (or is mapped tonull
), attempts to compute its value using the given mapping function and enters it into this map unlessnull
.Object
Provider. computeIfPresent(Object key, BiFunction<? super Object,? super Object,? extends Object> remappingFunction)
If the value for the specified key is present and non-null, attempts to compute a new mapping given the key and its current mapped value.Enumeration<Object>
Provider. elements()
Set<Map.Entry<Object,Object>>
Provider. entrySet()
Returns an unmodifiable Set view of the property entries contained in this Provider.boolean
PKCS12Attribute. equals(Object obj)
Compares thisPKCS12Attribute
and a specified object for equality.boolean
UnresolvedPermission. equals(Object obj)
Checks two UnresolvedPermission objects for equality.boolean
CodeSource. equals(Object obj)
Tests for equality between the specified object and this object.void
Provider. forEach(BiConsumer<? super Object,? super Object> action)
Object
Provider. get(Object key)
String
UnresolvedPermission. getActions()
Returns the canonical string representation of the actions, which currently is the empty string "", since there are no actions for an UnresolvedPermission.Set<KeyStore.Entry.Attribute>
KeyStore.PrivateKeyEntry. getAttributes()
Retrieves the attributes associated with an entry.Set<KeyStore.Entry.Attribute>
KeyStore.SecretKeyEntry. getAttributes()
Retrieves the attributes associated with an entry.Set<KeyStore.Entry.Attribute>
KeyStore.TrustedCertificateEntry. getAttributes()
Retrieves the attributes associated with an entry.String
PKCS12Attribute. getName()
Returns the attribute's ASN.1 Object Identifier represented as a list of dot-separated integers.Object
Provider. getOrDefault(Object key, Object defaultValue)
KeyStore.ProtectionParameter
DomainLoadStoreParameter. getProtectionParameter()
Gets the keystore protection parameters for this domain.String
PKCS12Attribute. getValue()
Returns the attribute's ASN.1 DER-encoded value as a string.int
PKCS12Attribute. hashCode()
Returns the hashcode for thisPKCS12Attribute
.int
UnresolvedPermission. hashCode()
Returns the hash code value for this object.int
CodeSource. hashCode()
Returns the hash code value for this object.boolean
UnresolvedPermission. implies(Permission p)
This method always returns false for unresolved permissions.Enumeration<Object>
Provider. keys()
Set<Object>
Provider. keySet()
Returns an unmodifiable Set view of the property keys contained in this provider.void
Provider. load(InputStream inStream)
Reads a property list (key and element pairs) from the input stream.Object
Provider. merge(Object key, Object value, BiFunction<? super Object,? super Object,? extends Object> remappingFunction)
If the specified key is not already associated with a value or is associated with null, associates it with the given value.PermissionCollection
UnresolvedPermission. newPermissionCollection()
Returns a new PermissionCollection object for storing UnresolvedPermission objects.protected int
SecureRandom. next(int numBits)
Generates an integer containing the user-specified number of pseudo-random bits (right justified, with leading zeros).void
SecureRandom. nextBytes(byte[] bytes)
Generates a user-specified number of random bytes.Object
Provider. put(Object key, Object value)
Sets thekey
property to have the specifiedvalue
.void
Provider. putAll(Map<?,?> t)
Copies all of the mappings from the specified Map to this provider.Object
Provider. putIfAbsent(Object key, Object value)
If the specified key is not already associated with a value (or is mapped tonull
) associates it with the given value and returnsnull
, else returns the current value.Object
Provider. remove(Object key)
Removes thekey
property (and its correspondingvalue
).boolean
Provider. remove(Object key, Object value)
Removes the entry for the specified key only if it is currently mapped to the specified value.Object
Provider. replace(Object key, Object value)
Replaces the entry for the specified key only if it is currently mapped to some value.boolean
Provider. replace(Object key, Object oldValue, Object newValue)
Replaces the entry for the specified key only if currently mapped to the specified value.void
Provider. replaceAll(BiFunction<? super Object,? super Object,? extends Object> function)
Replaces each entry's value with the result of invoking the given function on that entry, in the order entries are returned by an entry set iterator, until all entries have been processed or the function throws an exception.void
SecureRandom. setSeed(long seed)
Reseeds this random object, using the eight bytes contained in the givenlong seed
.String
PKCS12Attribute. toString()
Returns a string representation of thisPKCS12Attribute
.String
UnresolvedPermission. toString()
Returns a string describing this UnresolvedPermission.String
CodeSource. toString()
Returns a string describing this CodeSource, telling its URL and certificates.String
ProtectionDomain. toString()
Convert a ProtectionDomain to a String.Collection<Object>
Provider. values()
Returns an unmodifiable Collection view of the property values contained in this provider. -
Uses of Override in java.security.cert
Methods in java.security.cert with annotations of type Override Modifier and Type Method and Description void
PKIXCertPathChecker. check(Certificate cert)
Performs the check(s) on the specified certificate using its internal state.PKIXRevocationChecker
PKIXRevocationChecker. clone()
Object
PKIXCertPathChecker. clone()
Returns a clone of this object.String
CertificateRevokedException. getMessage()
abstract void
PKIXCertPathChecker. init(boolean forward)
Initializes the internal state of thisPKIXCertPathChecker
.abstract boolean
PKIXCertPathChecker. isForwardCheckingSupported()
Indicates if forward checking is supported. -
Uses of Override in java.security.spec
Methods in java.security.spec with annotations of type Override Modifier and Type Method and Description String
PSSParameterSpec. toString()
-
Uses of Override in java.sql
Methods in java.sql with annotations of type Override Modifier and Type Method and Description int
Timestamp. hashCode()
Returns a hash code value for this object.Instant
Timestamp. toInstant()
Converts thisTimestamp
object to anInstant
.Instant
Time. toInstant()
This method always throws an UnsupportedOperationException and should not be used because SQLTime
values do not have a date component.Instant
Date. toInstant()
This method always throws an UnsupportedOperationException and should not be used because SQLDate
values do not have a time component. -
Uses of Override in java.text
Methods in java.text with annotations of type Override Modifier and Type Method and Description Object
DecimalFormat. clone()
Standard override; no change in semantics.Object
SimpleDateFormat. clone()
Creates a copy of thisSimpleDateFormat
.Object
DecimalFormatSymbols. clone()
Standard override.Object
Collator. clone()
Overrides CloneableObject
BreakIterator. clone()
Create a copy of this iteratorObject
NumberFormat. clone()
Overrides Cloneable.int
Collator. compare(Object o1, Object o2)
Compares its two arguments for order.boolean
DecimalFormat. equals(Object obj)
Overrides equalsboolean
SimpleDateFormat. equals(Object obj)
Compares the given object with thisSimpleDateFormat
for equality.boolean
DecimalFormatSymbols. equals(Object obj)
Override equals.boolean
Collator. equals(Object that)
Compares the equality of two Collators.boolean
NumberFormat. equals(Object obj)
Overrides equals.StringBuffer
SimpleDateFormat. format(Date date, StringBuffer toAppendTo, FieldPosition pos)
Formats the givenDate
into a date/time string and appends the result to the givenStringBuffer
.StringBuffer
DecimalFormat. format(double number, StringBuffer result, FieldPosition fieldPosition)
Formats a double to produce a string.StringBuffer
DecimalFormat. format(long number, StringBuffer result, FieldPosition fieldPosition)
Format a long to produce a string.StringBuffer
DecimalFormat. format(Object number, StringBuffer toAppendTo, FieldPosition pos)
Formats a number and appends the resulting text to the given string buffer.StringBuffer
NumberFormat. format(Object number, StringBuffer toAppendTo, FieldPosition pos)
Formats a number and appends the resulting text to the given string buffer.AttributedCharacterIterator
DecimalFormat. formatToCharacterIterator(Object obj)
Formats an Object producing anAttributedCharacterIterator
.AttributedCharacterIterator
SimpleDateFormat. formatToCharacterIterator(Object obj)
Formats an Object producing anAttributedCharacterIterator
.Currency
DecimalFormat. getCurrency()
Gets the currency used by this decimal format when formatting currency values.int
DecimalFormat. getMaximumFractionDigits()
Gets the maximum number of digits allowed in the fraction portion of a number.int
DecimalFormat. getMaximumIntegerDigits()
Gets the maximum number of digits allowed in the integer portion of a number.int
DecimalFormat. getMinimumFractionDigits()
Gets the minimum number of digits allowed in the fraction portion of a number.int
DecimalFormat. getMinimumIntegerDigits()
Gets the minimum number of digits allowed in the integer portion of a number.RoundingMode
DecimalFormat. getRoundingMode()
Gets theRoundingMode
used in this DecimalFormat.int
DecimalFormat. hashCode()
Overrides hashCodeint
SimpleDateFormat. hashCode()
Returns the hash code value for thisSimpleDateFormat
object.int
DecimalFormatSymbols. hashCode()
Override hashCode.abstract int
Collator. hashCode()
Generates the hash code for this Collator.int
DateFormatSymbols. hashCode()
Override hashCode.int
NumberFormat. hashCode()
Overrides hashCode.Number
DecimalFormat. parse(String text, ParsePosition pos)
Parses text from a string to produce aNumber
.Date
SimpleDateFormat. parse(String text, ParsePosition pos)
Parses text from a string to produce aDate
.Object
NumberFormat. parseObject(String source, ParsePosition pos)
Parses text from a string to produce aNumber
.protected Object
NumberFormat.Field. readResolve()
Resolves instances being deserialized to the predefined constants.protected Object
DateFormat.Field. readResolve()
Resolves instances being deserialized to the predefined constants.void
DecimalFormat. setCurrency(Currency currency)
Sets the currency used by this number format when formatting currency values.void
DecimalFormat. setGroupingUsed(boolean newValue)
Set whether or not grouping will be used in this format.void
DecimalFormat. setMaximumFractionDigits(int newValue)
Sets the maximum number of digits allowed in the fraction portion of a number.void
DecimalFormat. setMaximumIntegerDigits(int newValue)
Sets the maximum number of digits allowed in the integer portion of a number.void
DecimalFormat. setMinimumFractionDigits(int newValue)
Sets the minimum number of digits allowed in the fraction portion of a number.void
DecimalFormat. setMinimumIntegerDigits(int newValue)
Sets the minimum number of digits allowed in the integer portion of a number.void
DecimalFormat. setRoundingMode(RoundingMode roundingMode)
Sets theRoundingMode
used in this DecimalFormat. -
Uses of Override in java.time
Methods in java.time with annotations of type Override Modifier and Type Method and Description Temporal
Period. addTo(Temporal temporal)
Adds this period to the specified temporal object.Temporal
Duration. addTo(Temporal temporal)
Adds this duration to the specified temporal object.Temporal
Year. adjustInto(Temporal temporal)
Adjusts the specified temporal object to have this year.Temporal
MonthDay. adjustInto(Temporal temporal)
Adjusts the specified temporal object to have this month-day.Temporal
YearMonth. adjustInto(Temporal temporal)
Adjusts the specified temporal object to have this year-month.Temporal
DayOfWeek. adjustInto(Temporal temporal)
Adjusts the specified temporal object to have this day-of-week.Temporal
Month. adjustInto(Temporal temporal)
Adjusts the specified temporal object to have this month-of-year.Temporal
OffsetTime. adjustInto(Temporal temporal)
Adjusts the specified temporal object to have the same offset and time as this object.Temporal
LocalDateTime. adjustInto(Temporal temporal)
Adjusts the specified temporal object to have the same date and time as this object.Temporal
LocalDate. adjustInto(Temporal temporal)
Adjusts the specified temporal object to have the same date as this object.Temporal
OffsetDateTime. adjustInto(Temporal temporal)
Adjusts the specified temporal object to have the same offset, date and time as this object.Temporal
ZoneOffset. adjustInto(Temporal temporal)
Adjusts the specified temporal object to have the same offset as this object.Temporal
Instant. adjustInto(Temporal temporal)
Adjusts the specified temporal object to have this instant.Temporal
LocalTime. adjustInto(Temporal temporal)
Adjusts the specified temporal object to have the same time as this object.LocalDateTime
LocalDate. atTime(LocalTime time)
Combines this date with a time to create aLocalDateTime
.ZonedDateTime
LocalDateTime. atZone(ZoneId zone)
Combines this date-time with a time-zone to create aZonedDateTime
.int
LocalDate. compareTo(ChronoLocalDate other)
Compares this date to another date.int
LocalDateTime. compareTo(ChronoLocalDateTime<?> other)
Compares this date-time to another date-time.int
Duration. compareTo(Duration otherDuration)
Compares this duration to the specifiedDuration
.int
Instant. compareTo(Instant otherInstant)
Compares this instant to the specified instant.int
LocalTime. compareTo(LocalTime other)
Compares this time to another time.int
MonthDay. compareTo(MonthDay other)
Compares this month-day to another month-day.int
OffsetDateTime. compareTo(OffsetDateTime other)
Compares this date-time to another date-time.int
OffsetTime. compareTo(OffsetTime other)
Compares thisOffsetTime
to another time.int
Year. compareTo(Year other)
Compares this year to another year.int
YearMonth. compareTo(YearMonth other)
Compares this year-month to another year-month.int
ZoneOffset. compareTo(ZoneOffset other)
Compares this offset to another offset in descending order.boolean
Year. equals(Object obj)
Checks if this year is equal to another year.boolean
MonthDay. equals(Object obj)
Checks if this month-day is equal to another month-day.boolean
YearMonth. equals(Object obj)
Checks if this year-month is equal to another year-month.boolean
Period. equals(Object obj)
Checks if this period is equal to another period.boolean
Duration. equals(Object otherDuration)
Checks if this duration is equal to the specifiedDuration
.boolean
OffsetTime. equals(Object obj)
Checks if this time is equal to another time.boolean
LocalDateTime. equals(Object obj)
Checks if this date-time is equal to another date-time.boolean
LocalDate. equals(Object obj)
Checks if this date is equal to another date.boolean
ZonedDateTime. equals(Object obj)
Checks if this date-time is equal to another date-time.boolean
OffsetDateTime. equals(Object obj)
Checks if this date-time is equal to another date-time.boolean
ZoneId. equals(Object obj)
Checks if this time-zone ID is equal to another time-zone ID.boolean
ZoneOffset. equals(Object obj)
Checks if this offset is equal to another offset.boolean
Clock. equals(Object obj)
Checks if this clock is equal to another clock.boolean
Instant. equals(Object otherInstant)
Checks if this instant is equal to the specified instant.boolean
LocalTime. equals(Object obj)
Checks if this time is equal to another time.String
LocalDateTime. format(DateTimeFormatter formatter)
Formats this date-time using the specified formatter.String
LocalDate. format(DateTimeFormatter formatter)
Formats this date using the specified formatter.String
ZonedDateTime. format(DateTimeFormatter formatter)
Formats this date-time using the specified formatter.int
Year. get(TemporalField field)
Gets the value of the specified field from this year as anint
.int
MonthDay. get(TemporalField field)
Gets the value of the specified field from this month-day as anint
.int
YearMonth. get(TemporalField field)
Gets the value of the specified field from this year-month as anint
.int
DayOfWeek. get(TemporalField field)
Gets the value of the specified field from this day-of-week as anint
.int
Month. get(TemporalField field)
Gets the value of the specified field from this month-of-year as anint
.int
OffsetTime. get(TemporalField field)
Gets the value of the specified field from this time as anint
.int
LocalDateTime. get(TemporalField field)
Gets the value of the specified field from this date-time as anint
.int
LocalDate. get(TemporalField field)
Gets the value of the specified field from this date as anint
.int
ZonedDateTime. get(TemporalField field)
Gets the value of the specified field from this date-time as anint
.int
OffsetDateTime. get(TemporalField field)
Gets the value of the specified field from this date-time as anint
.int
ZoneOffset. get(TemporalField field)
Gets the value of the specified field from this offset as anint
.int
Instant. get(TemporalField field)
Gets the value of the specified field from this instant as anint
.int
LocalTime. get(TemporalField field)
Gets the value of the specified field from this time as anint
.long
Period. get(TemporalUnit unit)
Gets the value of the requested unit.long
Duration. get(TemporalUnit unit)
Gets the value of the requested unit.IsoChronology
Period. getChronology()
Gets the chronology of this period, which is the ISO calendar system.IsoChronology
LocalDate. getChronology()
Gets the chronology of this date, which is the ISO calendar system.Era
LocalDate. getEra()
Gets the era applicable at this date.String
ZoneOffset. getId()
Gets the normalized zone offset ID.long
Year. getLong(TemporalField field)
Gets the value of the specified field from this year as along
.long
MonthDay. getLong(TemporalField field)
Gets the value of the specified field from this month-day as along
.long
YearMonth. getLong(TemporalField field)
Gets the value of the specified field from this year-month as along
.long
DayOfWeek. getLong(TemporalField field)
Gets the value of the specified field from this day-of-week as along
.long
Month. getLong(TemporalField field)
Gets the value of the specified field from this month-of-year as along
.long
OffsetTime. getLong(TemporalField field)
Gets the value of the specified field from this time as along
.long
LocalDateTime. getLong(TemporalField field)
Gets the value of the specified field from this date-time as along
.long
LocalDate. getLong(TemporalField field)
Gets the value of the specified field from this date as along
.long
ZonedDateTime. getLong(TemporalField field)
Gets the value of the specified field from this date-time as along
.long
OffsetDateTime. getLong(TemporalField field)
Gets the value of the specified field from this date-time as along
.long
ZoneOffset. getLong(TemporalField field)
Gets the value of the specified field from this offset as along
.long
Instant. getLong(TemporalField field)
Gets the value of the specified field from this instant as along
.long
LocalTime. getLong(TemporalField field)
Gets the value of the specified field from this time as along
.ZoneOffset
ZonedDateTime. getOffset()
Gets the zone offset, such as '+01:00'.ZoneRules
ZoneOffset. getRules()
Gets the associated time-zone rules.List<TemporalUnit>
Period. getUnits()
Gets the set of units supported by this period.List<TemporalUnit>
Duration. getUnits()
Gets the set of units supported by this duration.ZoneId
ZonedDateTime. getZone()
Gets the time-zone, such as 'Europe/Paris'.int
Year. hashCode()
A hash code for this year.int
MonthDay. hashCode()
A hash code for this month-day.int
YearMonth. hashCode()
A hash code for this year-month.int
Period. hashCode()
A hash code for this period.int
Duration. hashCode()
A hash code for this duration.int
OffsetTime. hashCode()
A hash code for this time.int
LocalDateTime. hashCode()
A hash code for this date-time.int
LocalDate. hashCode()
A hash code for this date.int
ZonedDateTime. hashCode()
A hash code for this date-time.int
OffsetDateTime. hashCode()
A hash code for this date-time.int
ZoneId. hashCode()
A hash code for this time-zone ID.int
ZoneOffset. hashCode()
A hash code for this offset.int
Clock. hashCode()
A hash code for this clock.int
Instant. hashCode()
Returns a hash code for this instant.int
LocalTime. hashCode()
A hash code for this time.boolean
LocalDate. isAfter(ChronoLocalDate other)
Checks if this date is after the specified date.boolean
LocalDateTime. isAfter(ChronoLocalDateTime<?> other)
Checks if this date-time is after the specified date-time.boolean
LocalDate. isBefore(ChronoLocalDate other)
Checks if this date is before the specified date.boolean
LocalDateTime. isBefore(ChronoLocalDateTime<?> other)
Checks if this date-time is before the specified date-time.boolean
LocalDate. isEqual(ChronoLocalDate other)
Checks if this date is equal to the specified date.boolean
LocalDateTime. isEqual(ChronoLocalDateTime<?> other)
Checks if this date-time is equal to the specified date-time.boolean
LocalDate. isLeapYear()
Checks if the year is a leap year, according to the ISO proleptic calendar system rules.boolean
Year. isSupported(TemporalField field)
Checks if the specified field is supported.boolean
MonthDay. isSupported(TemporalField field)
Checks if the specified field is supported.boolean
YearMonth. isSupported(TemporalField field)
Checks if the specified field is supported.boolean
DayOfWeek. isSupported(TemporalField field)
Checks if the specified field is supported.boolean
Month. isSupported(TemporalField field)
Checks if the specified field is supported.boolean
OffsetTime. isSupported(TemporalField field)
Checks if the specified field is supported.boolean
LocalDateTime. isSupported(TemporalField field)
Checks if the specified field is supported.boolean
LocalDate. isSupported(TemporalField field)
Checks if the specified field is supported.boolean
ZonedDateTime. isSupported(TemporalField field)
Checks if the specified field is supported.boolean
OffsetDateTime. isSupported(TemporalField field)
Checks if the specified field is supported.boolean
ZoneOffset. isSupported(TemporalField field)
Checks if the specified field is supported.boolean
Instant. isSupported(TemporalField field)
Checks if the specified field is supported.boolean
LocalTime. isSupported(TemporalField field)
Checks if the specified field is supported.boolean
Year. isSupported(TemporalUnit unit)
Checks if the specified unit is supported.boolean
YearMonth. isSupported(TemporalUnit unit)
Checks if the specified unit is supported.boolean
OffsetTime. isSupported(TemporalUnit unit)
Checks if the specified unit is supported.boolean
LocalDateTime. isSupported(TemporalUnit unit)
Checks if the specified unit is supported.boolean
LocalDate. isSupported(TemporalUnit unit)
Checks if the specified unit is supported.boolean
ZonedDateTime. isSupported(TemporalUnit unit)
Checks if the specified unit is supported.boolean
OffsetDateTime. isSupported(TemporalUnit unit)
Checks if the specified unit is supported.boolean
Instant. isSupported(TemporalUnit unit)
Checks if the specified unit is supported.boolean
LocalTime. isSupported(TemporalUnit unit)
Checks if the specified unit is supported.int
LocalDate. lengthOfMonth()
Returns the length of the month represented by this date.int
LocalDate. lengthOfYear()
Returns the length of the year represented by this date.Year
Year. minus(long amountToSubtract, TemporalUnit unit)
Returns a copy of this year with the specified amount subtracted.YearMonth
YearMonth. minus(long amountToSubtract, TemporalUnit unit)
Returns a copy of this year-month with the specified amount subtracted.OffsetTime
OffsetTime. minus(long amountToSubtract, TemporalUnit unit)
Returns a copy of this time with the specified amount subtracted.LocalDateTime
LocalDateTime. minus(long amountToSubtract, TemporalUnit unit)
Returns a copy of this date-time with the specified amount subtracted.LocalDate
LocalDate. minus(long amountToSubtract, TemporalUnit unit)
Returns a copy of this date with the specified amount subtracted.ZonedDateTime
ZonedDateTime. minus(long amountToSubtract, TemporalUnit unit)
Returns a copy of this date-time with the specified amount subtracted.OffsetDateTime
OffsetDateTime. minus(long amountToSubtract, TemporalUnit unit)
Returns a copy of this date-time with the specified amount subtracted.Instant
Instant. minus(long amountToSubtract, TemporalUnit unit)
Returns a copy of this instant with the specified amount subtracted.LocalTime
LocalTime. minus(long amountToSubtract, TemporalUnit unit)
Returns a copy of this time with the specified amount subtracted.Year
Year. minus(TemporalAmount amountToSubtract)
Returns a copy of this year with the specified amount subtracted.YearMonth
YearMonth. minus(TemporalAmount amountToSubtract)
Returns a copy of this year-month with the specified amount subtracted.OffsetTime
OffsetTime. minus(TemporalAmount amountToSubtract)
Returns a copy of this time with the specified amount subtracted.LocalDateTime
LocalDateTime. minus(TemporalAmount amountToSubtract)
Returns a copy of this date-time with the specified amount subtracted.LocalDate
LocalDate. minus(TemporalAmount amountToSubtract)
Returns a copy of this date with the specified amount subtracted.ZonedDateTime
ZonedDateTime. minus(TemporalAmount amountToSubtract)
Returns a copy of this date-time with the specified amount subtracted.OffsetDateTime
OffsetDateTime. minus(TemporalAmount amountToSubtract)
Returns a copy of this date-time with the specified amount subtracted.Instant
Instant. minus(TemporalAmount amountToSubtract)
Returns a copy of this instant with the specified amount subtracted.LocalTime
LocalTime. minus(TemporalAmount amountToSubtract)
Returns a copy of this time with the specified amount subtracted.Year
Year. plus(long amountToAdd, TemporalUnit unit)
Returns a copy of this year with the specified amount added.YearMonth
YearMonth. plus(long amountToAdd, TemporalUnit unit)
Returns a copy of this year-month with the specified amount added.OffsetTime
OffsetTime. plus(long amountToAdd, TemporalUnit unit)
Returns a copy of this time with the specified amount added.LocalDateTime
LocalDateTime. plus(long amountToAdd, TemporalUnit unit)
Returns a copy of this date-time with the specified amount added.LocalDate
LocalDate. plus(long amountToAdd, TemporalUnit unit)
Returns a copy of this date with the specified amount added.ZonedDateTime
ZonedDateTime. plus(long amountToAdd, TemporalUnit unit)
Returns a copy of this date-time with the specified amount added.OffsetDateTime
OffsetDateTime. plus(long amountToAdd, TemporalUnit unit)
Returns a copy of this date-time with the specified amount added.Instant
Instant. plus(long amountToAdd, TemporalUnit unit)
Returns a copy of this instant with the specified amount added.LocalTime
LocalTime. plus(long amountToAdd, TemporalUnit unit)
Returns a copy of this time with the specified amount added.Year
Year. plus(TemporalAmount amountToAdd)
Returns a copy of this year with the specified amount added.YearMonth
YearMonth. plus(TemporalAmount amountToAdd)
Returns a copy of this year-month with the specified amount added.OffsetTime
OffsetTime. plus(TemporalAmount amountToAdd)
Returns a copy of this time with the specified amount added.LocalDateTime
LocalDateTime. plus(TemporalAmount amountToAdd)
Returns a copy of this date-time with the specified amount added.LocalDate
LocalDate. plus(TemporalAmount amountToAdd)
Returns a copy of this date with the specified amount added.ZonedDateTime
ZonedDateTime. plus(TemporalAmount amountToAdd)
Returns a copy of this date-time with the specified amount added.OffsetDateTime
OffsetDateTime. plus(TemporalAmount amountToAdd)
Returns a copy of this date-time with the specified amount added.Instant
Instant. plus(TemporalAmount amountToAdd)
Returns a copy of this instant with the specified amount added.LocalTime
LocalTime. plus(TemporalAmount amountToAdd)
Returns a copy of this time with the specified amount added.<R> R
Year. query(TemporalQuery<R> query)
Queries this year using the specified query.<R> R
MonthDay. query(TemporalQuery<R> query)
Queries this month-day using the specified query.<R> R
YearMonth. query(TemporalQuery<R> query)
Queries this year-month using the specified query.<R> R
DayOfWeek. query(TemporalQuery<R> query)
Queries this day-of-week using the specified query.<R> R
Month. query(TemporalQuery<R> query)
Queries this month-of-year using the specified query.<R> R
OffsetTime. query(TemporalQuery<R> query)
Queries this time using the specified query.<R> R
LocalDateTime. query(TemporalQuery<R> query)
Queries this date-time using the specified query.<R> R
LocalDate. query(TemporalQuery<R> query)
Queries this date using the specified query.<R> R
ZonedDateTime. query(TemporalQuery<R> query)
Queries this date-time using the specified query.<R> R
OffsetDateTime. query(TemporalQuery<R> query)
Queries this date-time using the specified query.<R> R
ZoneOffset. query(TemporalQuery<R> query)
Queries this offset using the specified query.<R> R
Instant. query(TemporalQuery<R> query)
Queries this instant using the specified query.<R> R
LocalTime. query(TemporalQuery<R> query)
Queries this time using the specified query.ValueRange
Year. range(TemporalField field)
Gets the range of valid values for the specified field.ValueRange
MonthDay. range(TemporalField field)
Gets the range of valid values for the specified field.ValueRange
YearMonth. range(TemporalField field)
Gets the range of valid values for the specified field.ValueRange
DayOfWeek. range(TemporalField field)
Gets the range of valid values for the specified field.ValueRange
Month. range(TemporalField field)
Gets the range of valid values for the specified field.ValueRange
OffsetTime. range(TemporalField field)
Gets the range of valid values for the specified field.ValueRange
LocalDateTime. range(TemporalField field)
Gets the range of valid values for the specified field.ValueRange
LocalDate. range(TemporalField field)
Gets the range of valid values for the specified field.ValueRange
ZonedDateTime. range(TemporalField field)
Gets the range of valid values for the specified field.ValueRange
OffsetDateTime. range(TemporalField field)
Gets the range of valid values for the specified field.ValueRange
ZoneOffset. range(TemporalField field)
Gets the range of valid values for the specified field.ValueRange
Instant. range(TemporalField field)
Gets the range of valid values for the specified field.ValueRange
LocalTime. range(TemporalField field)
Gets the range of valid values for the specified field.Temporal
Period. subtractFrom(Temporal temporal)
Subtracts this period from the specified temporal object.Temporal
Duration. subtractFrom(Temporal temporal)
Subtracts this duration from the specified temporal object.long
LocalDate. toEpochDay()
LocalDate
LocalDateTime. toLocalDate()
Gets theLocalDate
part of this date-time.LocalDate
ZonedDateTime. toLocalDate()
Gets theLocalDate
part of this date-time.LocalDateTime
ZonedDateTime. toLocalDateTime()
Gets theLocalDateTime
part of this date-time.LocalTime
LocalDateTime. toLocalTime()
Gets theLocalTime
part of this date-time.LocalTime
ZonedDateTime. toLocalTime()
Gets theLocalTime
part of this date-time.String
Year. toString()
Outputs this year as aString
.String
MonthDay. toString()
Outputs this month-day as aString
, such as--12-03
.String
YearMonth. toString()
Outputs this year-month as aString
, such as2007-12
.String
Period. toString()
Outputs this period as aString
, such asP6Y3M1D
.String
Duration. toString()
A string representation of this duration using ISO-8601 seconds based representation, such asPT8H6M12.345S
.String
OffsetTime. toString()
Outputs this time as aString
, such as10:15:30+01:00
.String
LocalDateTime. toString()
Outputs this date-time as aString
, such as2007-12-03T10:15:30
.String
LocalDate. toString()
Outputs this date as aString
, such as2007-12-03
.String
ZonedDateTime. toString()
Outputs this date-time as aString
, such as2007-12-03T10:15:30+01:00[Europe/Paris]
.String
OffsetDateTime. toString()
Outputs this date-time as aString
, such as2007-12-03T10:15:30+01:00
.String
ZoneId. toString()
Outputs this zone as aString
, using the ID.String
ZoneOffset. toString()
Outputs this offset as aString
, using the normalized ID.String
Instant. toString()
A string representation of this instant using ISO-8601 representation.String
LocalTime. toString()
Outputs this time as aString
, such as10:15
.Period
LocalDate. until(ChronoLocalDate endDateExclusive)
Calculates the period between this date and another date as aPeriod
.long
Year. until(Temporal endExclusive, TemporalUnit unit)
Calculates the amount of time until another year in terms of the specified unit.long
YearMonth. until(Temporal endExclusive, TemporalUnit unit)
Calculates the amount of time until another year-month in terms of the specified unit.long
OffsetTime. until(Temporal endExclusive, TemporalUnit unit)
Calculates the amount of time until another time in terms of the specified unit.long
LocalDateTime. until(Temporal endExclusive, TemporalUnit unit)
Calculates the amount of time until another date-time in terms of the specified unit.long
LocalDate. until(Temporal endExclusive, TemporalUnit unit)
Calculates the amount of time until another date in terms of the specified unit.long
ZonedDateTime. until(Temporal endExclusive, TemporalUnit unit)
Calculates the amount of time until another date-time in terms of the specified unit.long
OffsetDateTime. until(Temporal endExclusive, TemporalUnit unit)
Calculates the amount of time until another date-time in terms of the specified unit.long
Instant. until(Temporal endExclusive, TemporalUnit unit)
Calculates the amount of time until another instant in terms of the specified unit.long
LocalTime. until(Temporal endExclusive, TemporalUnit unit)
Calculates the amount of time until another time in terms of the specified unit.Year
Year. with(TemporalAdjuster adjuster)
Returns an adjusted copy of this year.YearMonth
YearMonth. with(TemporalAdjuster adjuster)
Returns an adjusted copy of this year-month.OffsetTime
OffsetTime. with(TemporalAdjuster adjuster)
Returns an adjusted copy of this time.LocalDateTime
LocalDateTime. with(TemporalAdjuster adjuster)
Returns an adjusted copy of this date-time.LocalDate
LocalDate. with(TemporalAdjuster adjuster)
Returns an adjusted copy of this date.ZonedDateTime
ZonedDateTime. with(TemporalAdjuster adjuster)
Returns an adjusted copy of this date-time.OffsetDateTime
OffsetDateTime. with(TemporalAdjuster adjuster)
Returns an adjusted copy of this date-time.Instant
Instant. with(TemporalAdjuster adjuster)
Returns an adjusted copy of this instant.LocalTime
LocalTime. with(TemporalAdjuster adjuster)
Returns an adjusted copy of this time.Year
Year. with(TemporalField field, long newValue)
Returns a copy of this year with the specified field set to a new value.YearMonth
YearMonth. with(TemporalField field, long newValue)
Returns a copy of this year-month with the specified field set to a new value.OffsetTime
OffsetTime. with(TemporalField field, long newValue)
Returns a copy of this time with the specified field set to a new value.LocalDateTime
LocalDateTime. with(TemporalField field, long newValue)
Returns a copy of this date-time with the specified field set to a new value.LocalDate
LocalDate. with(TemporalField field, long newValue)
Returns a copy of this date with the specified field set to a new value.ZonedDateTime
ZonedDateTime. with(TemporalField field, long newValue)
Returns a copy of this date-time with the specified field set to a new value.OffsetDateTime
OffsetDateTime. with(TemporalField field, long newValue)
Returns a copy of this date-time with the specified field set to a new value.Instant
Instant. with(TemporalField field, long newValue)
Returns a copy of this instant with the specified field set to a new value.LocalTime
LocalTime. with(TemporalField field, long newValue)
Returns a copy of this time with the specified field set to a new value.ZonedDateTime
ZonedDateTime. withEarlierOffsetAtOverlap()
Returns a copy of this date-time changing the zone offset to the earlier of the two valid offsets at a local time-line overlap.ZonedDateTime
ZonedDateTime. withLaterOffsetAtOverlap()
Returns a copy of this date-time changing the zone offset to the later of the two valid offsets at a local time-line overlap.ZonedDateTime
ZonedDateTime. withZoneSameInstant(ZoneId zone)
Returns a copy of this date-time with a different time-zone, retaining the instant.ZonedDateTime
ZonedDateTime. withZoneSameLocal(ZoneId zone)
Returns a copy of this date-time with a different time-zone, retaining the local date-time if possible. -
Uses of Override in java.time.chrono
Methods in java.time.chrono with annotations of type Override Modifier and Type Method and Description Temporal
ChronoPeriod. addTo(Temporal temporal)
Adds this period to the specified temporal object.default Temporal
Era. adjustInto(Temporal temporal)
Adjusts the specified temporal object to have the same era as this object.default Temporal
ChronoLocalDateTime. adjustInto(Temporal temporal)
Adjusts the specified temporal object to have the same date and time as this object.default Temporal
ChronoLocalDate. adjustInto(Temporal temporal)
Adjusts the specified temporal object to have the same date as this object.ChronoLocalDateTime<ThaiBuddhistDate>
ThaiBuddhistDate. atTime(LocalTime localTime)
ChronoLocalDateTime<JapaneseDate>
JapaneseDate. atTime(LocalTime localTime)
ChronoLocalDateTime<HijrahDate>
HijrahDate. atTime(LocalTime localTime)
ChronoLocalDateTime<MinguoDate>
MinguoDate. atTime(LocalTime localTime)
default int
ChronoLocalDate. compareTo(ChronoLocalDate other)
Compares this date to another date, including the chronology.default int
ChronoLocalDateTime. compareTo(ChronoLocalDateTime<?> other)
Compares this date-time to another date-time, including the chronology.int
AbstractChronology. compareTo(Chronology other)
Compares this chronology to another chronology.int
Chronology. compareTo(Chronology other)
Compares this chronology to another chronology.default int
ChronoZonedDateTime. compareTo(ChronoZonedDateTime<?> other)
Compares this date-time to another date-time, including the chronology.ThaiBuddhistDate
ThaiBuddhistChronology. date(Era era, int yearOfEra, int month, int dayOfMonth)
Obtains a local date in Thai Buddhist calendar system from the era, year-of-era, month-of-year and day-of-month fields.JapaneseDate
JapaneseChronology. date(Era era, int yearOfEra, int month, int dayOfMonth)
Obtains a local date in Japanese calendar system from the era, year-of-era, month-of-year and day-of-month fields.HijrahDate
HijrahChronology. date(Era era, int yearOfEra, int month, int dayOfMonth)
Obtains a local date in Hijrah calendar system from the era, year-of-era, month-of-year and day-of-month fields.MinguoDate
MinguoChronology. date(Era era, int yearOfEra, int month, int dayOfMonth)
Obtains a local date in Minguo calendar system from the era, year-of-era, month-of-year and day-of-month fields.LocalDate
IsoChronology. date(Era era, int yearOfEra, int month, int dayOfMonth)
Obtains an ISO local date from the era, year-of-era, month-of-year and day-of-month fields.ThaiBuddhistDate
ThaiBuddhistChronology. date(int prolepticYear, int month, int dayOfMonth)
Obtains a local date in Thai Buddhist calendar system from the proleptic-year, month-of-year and day-of-month fields.JapaneseDate
JapaneseChronology. date(int prolepticYear, int month, int dayOfMonth)
Obtains a local date in Japanese calendar system from the proleptic-year, month-of-year and day-of-month fields.HijrahDate
HijrahChronology. date(int prolepticYear, int month, int dayOfMonth)
Obtains a local date in Hijrah calendar system from the proleptic-year, month-of-year and day-of-month fields.MinguoDate
MinguoChronology. date(int prolepticYear, int month, int dayOfMonth)
Obtains a local date in Minguo calendar system from the proleptic-year, month-of-year and day-of-month fields.LocalDate
IsoChronology. date(int prolepticYear, int month, int dayOfMonth)
Obtains an ISO local date from the proleptic-year, month-of-year and day-of-month fields.ThaiBuddhistDate
ThaiBuddhistChronology. date(TemporalAccessor temporal)
JapaneseDate
JapaneseChronology. date(TemporalAccessor temporal)
HijrahDate
HijrahChronology. date(TemporalAccessor temporal)
MinguoDate
MinguoChronology. date(TemporalAccessor temporal)
LocalDate
IsoChronology. date(TemporalAccessor temporal)
Obtains an ISO local date from another date-time object.ThaiBuddhistDate
ThaiBuddhistChronology. dateEpochDay(long epochDay)
Obtains a local date in the Thai Buddhist calendar system from the epoch-day.JapaneseDate
JapaneseChronology. dateEpochDay(long epochDay)
Obtains a local date in the Japanese calendar system from the epoch-day.HijrahDate
HijrahChronology. dateEpochDay(long epochDay)
Obtains a local date in the Hijrah calendar system from the epoch-day.MinguoDate
MinguoChronology. dateEpochDay(long epochDay)
Obtains a local date in the Minguo calendar system from the epoch-day.LocalDate
IsoChronology. dateEpochDay(long epochDay)
Obtains an ISO local date from the epoch-day.ThaiBuddhistDate
ThaiBuddhistChronology. dateNow()
JapaneseDate
JapaneseChronology. dateNow()
HijrahDate
HijrahChronology. dateNow()
MinguoDate
MinguoChronology. dateNow()
LocalDate
IsoChronology. dateNow()
Obtains the current ISO local date from the system clock in the default time-zone.ThaiBuddhistDate
ThaiBuddhistChronology. dateNow(Clock clock)
JapaneseDate
JapaneseChronology. dateNow(Clock clock)
HijrahDate
HijrahChronology. dateNow(Clock clock)
MinguoDate
MinguoChronology. dateNow(Clock clock)
LocalDate
IsoChronology. dateNow(Clock clock)
Obtains the current ISO local date from the specified clock.ThaiBuddhistDate
ThaiBuddhistChronology. dateNow(ZoneId zone)
JapaneseDate
JapaneseChronology. dateNow(ZoneId zone)
HijrahDate
HijrahChronology. dateNow(ZoneId zone)
MinguoDate
MinguoChronology. dateNow(ZoneId zone)
LocalDate
IsoChronology. dateNow(ZoneId zone)
Obtains the current ISO local date from the system clock in the specified time-zone.ThaiBuddhistDate
ThaiBuddhistChronology. dateYearDay(Era era, int yearOfEra, int dayOfYear)
Obtains a local date in Thai Buddhist calendar system from the era, year-of-era and day-of-year fields.JapaneseDate
JapaneseChronology. dateYearDay(Era era, int yearOfEra, int dayOfYear)
Obtains a local date in Japanese calendar system from the era, year-of-era and day-of-year fields.HijrahDate
HijrahChronology. dateYearDay(Era era, int yearOfEra, int dayOfYear)
Obtains a local date in Hijrah calendar system from the era, year-of-era and day-of-year fields.MinguoDate
MinguoChronology. dateYearDay(Era era, int yearOfEra, int dayOfYear)
Obtains a local date in Minguo calendar system from the era, year-of-era and day-of-year fields.LocalDate
IsoChronology. dateYearDay(Era era, int yearOfEra, int dayOfYear)
Obtains an ISO local date from the era, year-of-era and day-of-year fields.ThaiBuddhistDate
ThaiBuddhistChronology. dateYearDay(int prolepticYear, int dayOfYear)
Obtains a local date in Thai Buddhist calendar system from the proleptic-year and day-of-year fields.JapaneseDate
JapaneseChronology. dateYearDay(int prolepticYear, int dayOfYear)
Obtains a local date in Japanese calendar system from the proleptic-year and day-of-year fields.HijrahDate
HijrahChronology. dateYearDay(int prolepticYear, int dayOfYear)
Obtains a local date in Hijrah calendar system from the proleptic-year and day-of-year fields.MinguoDate
MinguoChronology. dateYearDay(int prolepticYear, int dayOfYear)
Obtains a local date in Minguo calendar system from the proleptic-year and day-of-year fields.LocalDate
IsoChronology. dateYearDay(int prolepticYear, int dayOfYear)
Obtains an ISO local date from the proleptic-year and day-of-year fields.boolean
ThaiBuddhistDate. equals(Object obj)
Compares this date to another date, including the chronology.boolean
JapaneseDate. equals(Object obj)
Compares this date to another date, including the chronology.boolean
HijrahDate. equals(Object obj)
Compares this date to another date, including the chronology.boolean
MinguoDate. equals(Object obj)
Compares this date to another date, including the chronology.boolean
AbstractChronology. equals(Object obj)
Checks if this chronology is equal to another chronology.boolean
ChronoPeriod. equals(Object obj)
Checks if this period is equal to another period, including the chronology.boolean
Chronology. equals(Object obj)
Checks if this chronology is equal to another chronology.boolean
ChronoLocalDateTime. equals(Object obj)
Checks if this date-time is equal to another date-time, including the chronology.boolean
ChronoLocalDate. equals(Object obj)
Checks if this date is equal to another date, including the chronology.boolean
ChronoZonedDateTime. equals(Object obj)
Checks if this date-time is equal to another date-time.ThaiBuddhistEra
ThaiBuddhistChronology. eraOf(int eraValue)
JapaneseEra
JapaneseChronology. eraOf(int eraValue)
Returns the calendar system era object from the given numeric value.HijrahEra
HijrahChronology. eraOf(int eraValue)
MinguoEra
MinguoChronology. eraOf(int eraValue)
IsoEra
IsoChronology. eraOf(int eraValue)
List<Era>
ThaiBuddhistChronology. eras()
List<Era>
JapaneseChronology. eras()
List<Era>
HijrahChronology. eras()
List<Era>
MinguoChronology. eras()
List<Era>
IsoChronology. eras()
default int
Era. get(TemporalField field)
Gets the value of the specified field from this era as anint
.default int
ChronoZonedDateTime. get(TemporalField field)
long
ChronoPeriod. get(TemporalUnit unit)
Gets the value of the requested unit.String
ThaiBuddhistChronology. getCalendarType()
Gets the calendar type of the underlying calendar system - 'buddhist'.String
JapaneseChronology. getCalendarType()
Gets the calendar type of the underlying calendar system - 'japanese'.String
HijrahChronology. getCalendarType()
Gets the calendar type of the Islamic calendar.String
MinguoChronology. getCalendarType()
Gets the calendar type of the underlying calendar system - 'roc'.String
IsoChronology. getCalendarType()
Gets the calendar type of the underlying calendar system - 'iso8601'.ThaiBuddhistChronology
ThaiBuddhistDate. getChronology()
Gets the chronology of this date, which is the Thai Buddhist calendar system.JapaneseChronology
JapaneseDate. getChronology()
Gets the chronology of this date, which is the Japanese calendar system.HijrahChronology
HijrahDate. getChronology()
Gets the chronology of this date, which is the Hijrah calendar system.MinguoChronology
MinguoDate. getChronology()
Gets the chronology of this date, which is the Minguo calendar system.String
JapaneseEra. getDisplayName(TextStyle style, Locale locale)
Gets the textual representation of this era.String
HijrahEra. getDisplayName(TextStyle style, Locale locale)
Gets the textual representation of this era.String
ThaiBuddhistEra. getDisplayName(TextStyle style, Locale locale)
Gets the textual representation of this era.String
MinguoEra. getDisplayName(TextStyle style, Locale locale)
Gets the textual representation of this era.ThaiBuddhistEra
ThaiBuddhistDate. getEra()
Gets the era applicable at this date.JapaneseEra
JapaneseDate. getEra()
Gets the era applicable at this date.HijrahEra
HijrahDate. getEra()
Gets the era applicable at this date.MinguoEra
MinguoDate. getEra()
Gets the era applicable at this date.String
ThaiBuddhistChronology. getId()
Gets the ID of the chronology - 'ThaiBuddhist'.String
JapaneseChronology. getId()
Gets the ID of the chronology - 'Japanese'.String
HijrahChronology. getId()
Gets the ID of the chronology.String
MinguoChronology. getId()
Gets the ID of the chronology - 'Minguo'.String
IsoChronology. getId()
Gets the ID of the chronology - 'ISO'.long
ThaiBuddhistDate. getLong(TemporalField field)
long
JapaneseDate. getLong(TemporalField field)
long
HijrahDate. getLong(TemporalField field)
long
MinguoDate. getLong(TemporalField field)
default long
Era. getLong(TemporalField field)
Gets the value of the specified field from this era as along
.default long
ChronoZonedDateTime. getLong(TemporalField field)
List<TemporalUnit>
ChronoPeriod. getUnits()
Gets the set of units supported by this period.int
JapaneseEra. getValue()
Gets the numeric eraint
value.int
HijrahEra. getValue()
Gets the numeric eraint
value.int
ThaiBuddhistEra. getValue()
Gets the numeric eraint
value.int
MinguoEra. getValue()
Gets the numeric eraint
value.int
IsoEra. getValue()
Gets the numeric eraint
value.int
ThaiBuddhistDate. hashCode()
A hash code for this date.int
JapaneseDate. hashCode()
A hash code for this date.int
HijrahDate. hashCode()
A hash code for this date.int
MinguoDate. hashCode()
A hash code for this date.int
AbstractChronology. hashCode()
A hash code for this chronology.int
ChronoPeriod. hashCode()
A hash code for this period.int
Chronology. hashCode()
A hash code for this chronology.int
ChronoLocalDateTime. hashCode()
A hash code for this date-time.int
ChronoLocalDate. hashCode()
A hash code for this date.int
ChronoZonedDateTime. hashCode()
A hash code for this date-time.boolean
HijrahDate. isLeapYear()
Checks if the year is a leap year, according to the Hijrah calendar system rules.boolean
ThaiBuddhistChronology. isLeapYear(long prolepticYear)
Checks if the specified year is a leap year.boolean
JapaneseChronology. isLeapYear(long prolepticYear)
Checks if the specified year is a leap year.boolean
HijrahChronology. isLeapYear(long prolepticYear)
boolean
MinguoChronology. isLeapYear(long prolepticYear)
Checks if the specified year is a leap year.boolean
IsoChronology. isLeapYear(long prolepticYear)
Checks if the year is a leap year, according to the ISO proleptic calendar system rules.boolean
JapaneseDate. isSupported(TemporalField field)
Checks if the specified field is supported.default boolean
Era. isSupported(TemporalField field)
Checks if the specified field is supported.boolean
ChronoLocalDateTime. isSupported(TemporalField field)
Checks if the specified field is supported.default boolean
ChronoLocalDate. isSupported(TemporalField field)
Checks if the specified field is supported.boolean
ChronoZonedDateTime. isSupported(TemporalField field)
Checks if the specified field is supported.default boolean
ChronoLocalDateTime. isSupported(TemporalUnit unit)
Checks if the specified unit is supported.default boolean
ChronoLocalDate. isSupported(TemporalUnit unit)
Checks if the specified unit is supported.default boolean
ChronoZonedDateTime. isSupported(TemporalUnit unit)
Checks if the specified unit is supported.int
ThaiBuddhistDate. lengthOfMonth()
Returns the length of the month represented by this date.int
JapaneseDate. lengthOfMonth()
Returns the length of the month represented by this date.int
HijrahDate. lengthOfMonth()
Returns the length of the month represented by this date.int
MinguoDate. lengthOfMonth()
Returns the length of the month represented by this date.int
JapaneseDate. lengthOfYear()
int
HijrahDate. lengthOfYear()
Returns the length of the year represented by this date.ChronoLocalDateTime<ThaiBuddhistDate>
ThaiBuddhistChronology. localDateTime(TemporalAccessor temporal)
ChronoLocalDateTime<JapaneseDate>
JapaneseChronology. localDateTime(TemporalAccessor temporal)
ChronoLocalDateTime<HijrahDate>
HijrahChronology. localDateTime(TemporalAccessor temporal)
ChronoLocalDateTime<MinguoDate>
MinguoChronology. localDateTime(TemporalAccessor temporal)
LocalDateTime
IsoChronology. localDateTime(TemporalAccessor temporal)
Obtains an ISO local date-time from another date-time object.ThaiBuddhistDate
ThaiBuddhistDate. minus(long amountToAdd, TemporalUnit unit)
JapaneseDate
JapaneseDate. minus(long amountToAdd, TemporalUnit unit)
HijrahDate
HijrahDate. minus(long amountToSubtract, TemporalUnit unit)
MinguoDate
MinguoDate. minus(long amountToAdd, TemporalUnit unit)
default ChronoLocalDateTime<D>
ChronoLocalDateTime. minus(long amountToSubtract, TemporalUnit unit)
Returns an object of the same type as this object with the specified period subtracted.default ChronoLocalDate
ChronoLocalDate. minus(long amountToSubtract, TemporalUnit unit)
Returns an object of the same type as this object with the specified period subtracted.default ChronoZonedDateTime<D>
ChronoZonedDateTime. minus(long amountToSubtract, TemporalUnit unit)
Returns an object of the same type as this object with the specified period subtracted.ThaiBuddhistDate
ThaiBuddhistDate. minus(TemporalAmount amount)
Returns an object of the same type as this object with an amount subtracted.JapaneseDate
JapaneseDate. minus(TemporalAmount amount)
Returns an object of the same type as this object with an amount subtracted.HijrahDate
HijrahDate. minus(TemporalAmount amount)
Returns an object of the same type as this object with an amount subtracted.MinguoDate
MinguoDate. minus(TemporalAmount amount)
Returns an object of the same type as this object with an amount subtracted.default ChronoLocalDateTime<D>
ChronoLocalDateTime. minus(TemporalAmount amount)
Returns an object of the same type as this object with an amount subtracted.default ChronoLocalDate
ChronoLocalDate. minus(TemporalAmount amount)
Returns an object of the same type as this object with an amount subtracted.default ChronoZonedDateTime<D>
ChronoZonedDateTime. minus(TemporalAmount amount)
Returns an object of the same type as this object with an amount subtracted.Period
IsoChronology. period(int years, int months, int days)
Obtains a period for this chronology based on years, months and days.ThaiBuddhistDate
ThaiBuddhistDate. plus(long amountToAdd, TemporalUnit unit)
JapaneseDate
JapaneseDate. plus(long amountToAdd, TemporalUnit unit)
HijrahDate
HijrahDate. plus(long amountToAdd, TemporalUnit unit)
MinguoDate
MinguoDate. plus(long amountToAdd, TemporalUnit unit)
ChronoLocalDateTime<D>
ChronoLocalDateTime. plus(long amountToAdd, TemporalUnit unit)
Returns an object of the same type as this object with the specified period added.default ChronoLocalDate
ChronoLocalDate. plus(long amountToAdd, TemporalUnit unit)
Returns an object of the same type as this object with the specified period added.ChronoZonedDateTime<D>
ChronoZonedDateTime. plus(long amountToAdd, TemporalUnit unit)
Returns an object of the same type as this object with the specified period added.ThaiBuddhistDate
ThaiBuddhistDate. plus(TemporalAmount amount)
Returns an object of the same type as this object with an amount added.JapaneseDate
JapaneseDate. plus(TemporalAmount amount)
Returns an object of the same type as this object with an amount added.HijrahDate
HijrahDate. plus(TemporalAmount amount)
Returns an object of the same type as this object with an amount added.MinguoDate
MinguoDate. plus(TemporalAmount amount)
Returns an object of the same type as this object with an amount added.default ChronoLocalDateTime<D>
ChronoLocalDateTime. plus(TemporalAmount amount)
Returns an object of the same type as this object with an amount added.default ChronoLocalDate
ChronoLocalDate. plus(TemporalAmount amount)
Returns an object of the same type as this object with an amount added.default ChronoZonedDateTime<D>
ChronoZonedDateTime. plus(TemporalAmount amount)
Returns an object of the same type as this object with an amount added.int
ThaiBuddhistChronology. prolepticYear(Era era, int yearOfEra)
int
JapaneseChronology. prolepticYear(Era era, int yearOfEra)
int
HijrahChronology. prolepticYear(Era era, int yearOfEra)
int
MinguoChronology. prolepticYear(Era era, int yearOfEra)
int
IsoChronology. prolepticYear(Era era, int yearOfEra)
default <R> R
Era. query(TemporalQuery<R> query)
Queries this era using the specified query.default <R> R
ChronoLocalDateTime. query(TemporalQuery<R> query)
Queries this date-time using the specified query.default <R> R
ChronoLocalDate. query(TemporalQuery<R> query)
Queries this date using the specified query.default <R> R
ChronoZonedDateTime. query(TemporalQuery<R> query)
Queries this date-time using the specified query.ValueRange
ThaiBuddhistChronology. range(ChronoField field)
ValueRange
JapaneseChronology. range(ChronoField field)
ValueRange
HijrahChronology. range(ChronoField field)
ValueRange
MinguoChronology. range(ChronoField field)
ValueRange
IsoChronology. range(ChronoField field)
ValueRange
ThaiBuddhistDate. range(TemporalField field)
ValueRange
JapaneseEra. range(TemporalField field)
Gets the range of valid values for the specified field.ValueRange
JapaneseDate. range(TemporalField field)
ValueRange
HijrahEra. range(TemporalField field)
Gets the range of valid values for the specified field.ValueRange
HijrahDate. range(TemporalField field)
ValueRange
MinguoDate. range(TemporalField field)
default ValueRange
Era. range(TemporalField field)
Gets the range of valid values for the specified field.default ValueRange
ChronoZonedDateTime. range(TemporalField field)
ThaiBuddhistDate
ThaiBuddhistChronology. resolveDate(Map<TemporalField,Long> fieldValues, ResolverStyle resolverStyle)
JapaneseDate
JapaneseChronology. resolveDate(Map<TemporalField,Long> fieldValues, ResolverStyle resolverStyle)
HijrahDate
HijrahChronology. resolveDate(Map<TemporalField,Long> fieldValues, ResolverStyle resolverStyle)
MinguoDate
MinguoChronology. resolveDate(Map<TemporalField,Long> fieldValues, ResolverStyle resolverStyle)
ChronoLocalDate
AbstractChronology. resolveDate(Map<TemporalField,Long> fieldValues, ResolverStyle resolverStyle)
Resolves parsedChronoField
values into a date during parsing.LocalDate
IsoChronology. resolveDate(Map<TemporalField,Long> fieldValues, ResolverStyle resolverStyle)
Resolves parsedChronoField
values into a date during parsing.Temporal
ChronoPeriod. subtractFrom(Temporal temporal)
Subtracts this period from the specified temporal object.long
ThaiBuddhistDate. toEpochDay()
long
JapaneseDate. toEpochDay()
long
HijrahDate. toEpochDay()
long
MinguoDate. toEpochDay()
String
JapaneseEra. toString()
String
AbstractChronology. toString()
Outputs this chronology as aString
, using the chronology ID.String
ChronoPeriod. toString()
Outputs this period as aString
.String
Chronology. toString()
Outputs this chronology as aString
.String
ChronoLocalDateTime. toString()
Outputs this date-time as aString
.String
ChronoLocalDate. toString()
Outputs this date as aString
.String
ChronoZonedDateTime. toString()
Outputs this date-time as aString
.ChronoPeriod
ThaiBuddhistDate. until(ChronoLocalDate endDate)
ChronoPeriod
JapaneseDate. until(ChronoLocalDate endDate)
ChronoPeriod
HijrahDate. until(ChronoLocalDate endDate)
ChronoPeriod
MinguoDate. until(ChronoLocalDate endDate)
long
ChronoLocalDate. until(Temporal endExclusive, TemporalUnit unit)
Calculates the amount of time until another date in terms of the specified unit.ThaiBuddhistDate
ThaiBuddhistDate. with(TemporalAdjuster adjuster)
Returns an adjusted object of the same type as this object with the adjustment made.JapaneseDate
JapaneseDate. with(TemporalAdjuster adjuster)
Returns an adjusted object of the same type as this object with the adjustment made.HijrahDate
HijrahDate. with(TemporalAdjuster adjuster)
Returns an adjusted object of the same type as this object with the adjustment made.MinguoDate
MinguoDate. with(TemporalAdjuster adjuster)
Returns an adjusted object of the same type as this object with the adjustment made.default ChronoLocalDateTime<D>
ChronoLocalDateTime. with(TemporalAdjuster adjuster)
Returns an adjusted object of the same type as this object with the adjustment made.default ChronoLocalDate
ChronoLocalDate. with(TemporalAdjuster adjuster)
Returns an adjusted object of the same type as this object with the adjustment made.default ChronoZonedDateTime<D>
ChronoZonedDateTime. with(TemporalAdjuster adjuster)
Returns an adjusted object of the same type as this object with the adjustment made.ThaiBuddhistDate
ThaiBuddhistDate. with(TemporalField field, long newValue)
JapaneseDate
JapaneseDate. with(TemporalField field, long newValue)
HijrahDate
HijrahDate. with(TemporalField field, long newValue)
MinguoDate
MinguoDate. with(TemporalField field, long newValue)
ChronoLocalDateTime<D>
ChronoLocalDateTime. with(TemporalField field, long newValue)
Returns an object of the same type as this object with the specified field altered.default ChronoLocalDate
ChronoLocalDate. with(TemporalField field, long newValue)
Returns an object of the same type as this object with the specified field altered.ChronoZonedDateTime<D>
ChronoZonedDateTime. with(TemporalField field, long newValue)
Returns an object of the same type as this object with the specified field altered.ChronoZonedDateTime<ThaiBuddhistDate>
ThaiBuddhistChronology. zonedDateTime(Instant instant, ZoneId zone)
ChronoZonedDateTime<JapaneseDate>
JapaneseChronology. zonedDateTime(Instant instant, ZoneId zone)
ChronoZonedDateTime<HijrahDate>
HijrahChronology. zonedDateTime(Instant instant, ZoneId zone)
ChronoZonedDateTime<MinguoDate>
MinguoChronology. zonedDateTime(Instant instant, ZoneId zone)
ZonedDateTime
IsoChronology. zonedDateTime(Instant instant, ZoneId zone)
Obtains an ISO zoned date-time in this chronology from anInstant
.ChronoZonedDateTime<ThaiBuddhistDate>
ThaiBuddhistChronology. zonedDateTime(TemporalAccessor temporal)
ChronoZonedDateTime<JapaneseDate>
JapaneseChronology. zonedDateTime(TemporalAccessor temporal)
ChronoZonedDateTime<HijrahDate>
HijrahChronology. zonedDateTime(TemporalAccessor temporal)
ChronoZonedDateTime<MinguoDate>
MinguoChronology. zonedDateTime(TemporalAccessor temporal)
ZonedDateTime
IsoChronology. zonedDateTime(TemporalAccessor temporal)
Obtains an ISO zoned date-time from another date-time object. -
Uses of Override in java.time.format
Methods in java.time.format with annotations of type Override Modifier and Type Method and Description boolean
DecimalStyle. equals(Object obj)
Checks if this DecimalStyle is equal to another DecimalStyle.int
DecimalStyle. hashCode()
A hash code for this DecimalStyle.String
DecimalStyle. toString()
Returns a string describing this DecimalStyle.String
DateTimeFormatter. toString()
Returns a description of the underlying formatters. -
Uses of Override in java.time.temporal
Methods in java.time.temporal with annotations of type Override Modifier and Type Method and Description <R extends Temporal>
RChronoUnit. addTo(R temporal, long amount)
<R extends Temporal>
RChronoField. adjustInto(R temporal, long newValue)
long
ChronoUnit. between(Temporal temporal1Inclusive, Temporal temporal2Exclusive)
boolean
WeekFields. equals(Object object)
Checks if thisWeekFields
is equal to the specified object.boolean
ValueRange. equals(Object obj)
Checks if this range is equal to another range.TemporalUnit
ChronoField. getBaseUnit()
String
ChronoField. getDisplayName(Locale locale)
Duration
ChronoUnit. getDuration()
Gets the estimated duration of this unit in the ISO calendar system.long
ChronoField. getFrom(TemporalAccessor temporal)
TemporalUnit
ChronoField. getRangeUnit()
int
WeekFields. hashCode()
A hash code for thisWeekFields
.int
ValueRange. hashCode()
A hash code for this range.boolean
ChronoField. isDateBased()
Checks if this field represents a component of a date.boolean
ChronoUnit. isDateBased()
Checks if this unit is a date unit.boolean
ChronoUnit. isDurationEstimated()
Checks if the duration of the unit is an estimate.boolean
ChronoUnit. isSupportedBy(Temporal temporal)
boolean
ChronoField. isSupportedBy(TemporalAccessor temporal)
boolean
ChronoField. isTimeBased()
Checks if this field represents a component of a time.boolean
ChronoUnit. isTimeBased()
Checks if this unit is a time unit.ValueRange
ChronoField. range()
Gets the range of valid values for the field.ValueRange
ChronoField. rangeRefinedBy(TemporalAccessor temporal)
String
WeekFields. toString()
A string representation of thisWeekFields
instance.String
ValueRange. toString()
Outputs this range as aString
.String
TemporalField. toString()
Gets a descriptive name for the field.String
ChronoField. toString()
String
TemporalUnit. toString()
Gets a descriptive name for the unit.String
ChronoUnit. toString()
-
Uses of Override in java.time.zone
Methods in java.time.zone with annotations of type Override Modifier and Type Method and Description int
ZoneOffsetTransition. compareTo(ZoneOffsetTransition transition)
Compares this transition to another based on the transition instant.boolean
ZoneOffsetTransition. equals(Object other)
Checks if this object equals another.boolean
ZoneOffsetTransitionRule. equals(Object otherRule)
Checks if this object equals another.boolean
ZoneRules. equals(Object otherRules)
Checks if this set of rules equals another.int
ZoneOffsetTransition. hashCode()
Returns a suitable hash code.int
ZoneOffsetTransitionRule. hashCode()
Returns a suitable hash code.int
ZoneRules. hashCode()
Returns a suitable hash code given the definition of#equals
.String
ZoneOffsetTransition. toString()
Returns a string describing this object.String
ZoneOffsetTransitionRule. toString()
Returns a string describing this object.String
ZoneRules. toString()
Returns a string describing this object. -
Uses of Override in java.util
Methods in java.util with annotations of type Override Modifier and Type Method and Description void
DoubleSummaryStatistics. accept(double value)
Records another value into the summary information.void
LongSummaryStatistics. accept(int value)
Records a newint
value into the summary information.void
IntSummaryStatistics. accept(int value)
Records a new value into the summary informationvoid
LongSummaryStatistics. accept(long value)
Records a newlong
value into the summary information.void
GregorianCalendar. add(int field, int amount)
Adds the specified (signed) amount of time to the given calendar field, based on the calendar's rules.int
Spliterators.AbstractSpliterator. characteristics()
Returns a set of characteristics of this Spliterator and its elements.int
Spliterators.AbstractIntSpliterator. characteristics()
Returns a set of characteristics of this Spliterator and its elements.int
Spliterators.AbstractLongSpliterator. characteristics()
Returns a set of characteristics of this Spliterator and its elements.int
Spliterators.AbstractDoubleSpliterator. characteristics()
Returns a set of characteristics of this Spliterator and its elements.Object
GregorianCalendar. clone()
Object
Calendar. clone()
Creates and returns a copy of this object.Object
HashMap. clone()
Returns a shallow copy of this HashMap instance: the keys and values themselves are not cloned.Object
Locale. clone()
Overrides Cloneable.int
Calendar. compareTo(Calendar anotherCalendar)
Compares the time values (millisecond offsets from the Epoch) represented by twoCalendar
objects.V
Hashtable. compute(K key, BiFunction<? super K,? super V,? extends V> remappingFunction)
V
HashMap. compute(K key, BiFunction<? super K,? super V,? extends V> remappingFunction)
protected void
GregorianCalendar. computeFields()
Converts the time value (millisecond offset from the Epoch) to calendar field values.V
Hashtable. computeIfAbsent(K key, Function<? super K,? extends V> mappingFunction)
V
HashMap. computeIfAbsent(K key, Function<? super K,? extends V> mappingFunction)
V
Hashtable. computeIfPresent(K key, BiFunction<? super K,? super V,? extends V> remappingFunction)
protected void
GregorianCalendar. computeTime()
Converts calendar field values to the time value (millisecond offset from the Epoch).boolean
GregorianCalendar. equals(Object obj)
Compares thisGregorianCalendar
to the specifiedObject
.boolean
Calendar. equals(Object obj)
Compares thisCalendar
to the specifiedObject
.boolean
OptionalLong. equals(Object obj)
Indicates whether some other object is "equal to" this OptionalLong.boolean
Optional. equals(Object obj)
Indicates whether some other object is "equal to" this Optional.boolean
OptionalDouble. equals(Object obj)
Indicates whether some other object is "equal to" this OptionalDouble.boolean
OptionalInt. equals(Object obj)
Indicates whether some other object is "equal to" this OptionalInt.boolean
Locale. equals(Object obj)
Returns true if this Locale is equal to another object.boolean
Locale.LanguageRange. equals(Object obj)
Compares this object to the specified object.long
Spliterators.AbstractSpliterator. estimateSize()
Returns an estimate of the number of elements that would be encountered by aSpliterator.forEachRemaining(java.util.function.Consumer<? super T>)
traversal, or returnsLong.MAX_VALUE
if infinite, unknown, or too expensive to compute.long
Spliterators.AbstractIntSpliterator. estimateSize()
Returns an estimate of the number of elements that would be encountered by aSpliterator.forEachRemaining(java.util.function.Consumer<? super T>)
traversal, or returnsLong.MAX_VALUE
if infinite, unknown, or too expensive to compute.long
Spliterators.AbstractLongSpliterator. estimateSize()
Returns an estimate of the number of elements that would be encountered by aSpliterator.forEachRemaining(java.util.function.Consumer<? super T>)
traversal, or returnsLong.MAX_VALUE
if infinite, unknown, or too expensive to compute.long
Spliterators.AbstractDoubleSpliterator. estimateSize()
Returns an estimate of the number of elements that would be encountered by aSpliterator.forEachRemaining(java.util.function.Consumer<? super T>)
traversal, or returnsLong.MAX_VALUE
if infinite, unknown, or too expensive to compute.void
IdentityHashMap. forEach(BiConsumer<? super K,? super V> action)
void
TreeMap. forEach(BiConsumer<? super K,? super V> action)
void
Hashtable. forEach(BiConsumer<? super K,? super V> action)
void
HashMap. forEach(BiConsumer<? super K,? super V> action)
void
WeakHashMap. forEach(BiConsumer<? super K,? super V> action)
void
ArrayList. forEach(Consumer<? super E> action)
void
Vector. forEach(Consumer<? super E> action)
default void
PrimitiveIterator.OfDouble. forEachRemaining(Consumer<? super Double> action)
Performs the given action for each remaining element until all elements have been processed or the action throws an exception.default void
Spliterator.OfDouble. forEachRemaining(Consumer<? super Double> action)
Performs the given action for each remaining element, sequentially in the current thread, until all elements have been processed or the action throws an exception.default void
PrimitiveIterator.OfInt. forEachRemaining(Consumer<? super Integer> action)
Performs the given action for each remaining element until all elements have been processed or the action throws an exception.default void
Spliterator.OfInt. forEachRemaining(Consumer<? super Integer> action)
Performs the given action for each remaining element, sequentially in the current thread, until all elements have been processed or the action throws an exception.default void
PrimitiveIterator.OfLong. forEachRemaining(Consumer<? super Long> action)
Performs the given action for each remaining element until all elements have been processed or the action throws an exception.default void
Spliterator.OfLong. forEachRemaining(Consumer<? super Long> action)
Performs the given action for each remaining element, sequentially in the current thread, until all elements have been processed or the action throws an exception.default void
Spliterator.OfDouble. forEachRemaining(DoubleConsumer action)
default void
Spliterator.OfInt. forEachRemaining(IntConsumer action)
default void
Spliterator.OfLong. forEachRemaining(LongConsumer action)
int
GregorianCalendar. getActualMaximum(int field)
Returns the maximum value that this calendar field could have, taking into consideration the given time value and the current values of thegetFirstDayOfWeek
,getMinimalDaysInFirstWeek
,getGregorianChange
andgetTimeZone
methods.int
GregorianCalendar. getActualMinimum(int field)
Returns the minimum value that this calendar field could have, taking into consideration the given time value and the current values of thegetFirstDayOfWeek
,getMinimalDaysInFirstWeek
,getGregorianChange
andgetTimeZone
methods.String
GregorianCalendar. getCalendarType()
Returns"gregory"
as the calendar type.int
GregorianCalendar. getGreatestMinimum(int field)
Returns the highest minimum value for the given calendar field of thisGregorianCalendar
instance.int
GregorianCalendar. getLeastMaximum(int field)
Returns the lowest maximum value for the given calendar field of thisGregorianCalendar
instance.int
GregorianCalendar. getMaximum(int field)
Returns the maximum value for the given calendar field of thisGregorianCalendar
instance.int
GregorianCalendar. getMinimum(int field)
Returns the minimum value for the given calendar field of thisGregorianCalendar
instance.V
Hashtable. getOrDefault(Object key, V defaultValue)
V
HashMap. getOrDefault(Object key, V defaultValue)
TimeZone
GregorianCalendar. getTimeZone()
int
GregorianCalendar. getWeeksInWeekYear()
Returns the number of weeks in the week year represented by thisGregorianCalendar
.int
GregorianCalendar. getWeekYear()
Returns the week year represented by thisGregorianCalendar
.int
GregorianCalendar. hashCode()
Generates the hash code for thisGregorianCalendar
object.int
Calendar. hashCode()
Returns a hash code for this calendar.int
OptionalLong. hashCode()
Returns the hash code value of the present value, if any, or 0 (zero) if no value is present.int
Optional. hashCode()
Returns the hash code value of the present value, if any, or 0 (zero) if no value is present.int
OptionalDouble. hashCode()
Returns the hash code value of the present value, if any, or 0 (zero) if no value is present.int
OptionalInt. hashCode()
Returns the hash code value of the present value, if any, or 0 (zero) if no value is present.int
Locale. hashCode()
Override hashCode.int
Locale.LanguageRange. hashCode()
Returns a hash code value for the object.boolean
GregorianCalendar. isWeekDateSupported()
Returnstrue
indicating thisGregorianCalendar
supports week dates.V
Hashtable. merge(K key, V value, BiFunction<? super V,? super V,? extends V> remappingFunction)
V
HashMap. merge(K key, V value, BiFunction<? super V,? super V,? extends V> remappingFunction)
default Integer
PrimitiveIterator.OfInt. next()
Returns the next element in the iteration.default Long
PrimitiveIterator.OfLong. next()
Returns the next element in the iteration.default Double
PrimitiveIterator.OfDouble. next()
Returns the next element in the iteration.boolean
SimpleTimeZone. observesDaylightTime()
Returnstrue
if thisSimpleTimeZone
observes Daylight Saving Time.V
Hashtable. putIfAbsent(K key, V value)
V
HashMap. putIfAbsent(K key, V value)
boolean
Hashtable. remove(Object key, Object value)
boolean
HashMap. remove(Object key, Object value)
boolean
ArrayList. removeIf(Predicate<? super E> filter)
boolean
Vector. removeIf(Predicate<? super E> filter)
V
TreeMap. replace(K key, V value)
V
Hashtable. replace(K key, V value)
V
HashMap. replace(K key, V value)
boolean
TreeMap. replace(K key, V oldValue, V newValue)
boolean
Hashtable. replace(K key, V oldValue, V newValue)
boolean
HashMap. replace(K key, V oldValue, V newValue)
void
IdentityHashMap. replaceAll(BiFunction<? super K,? super V,? extends V> function)
void
TreeMap. replaceAll(BiFunction<? super K,? super V,? extends V> function)
void
Hashtable. replaceAll(BiFunction<? super K,? super V,? extends V> function)
void
HashMap. replaceAll(BiFunction<? super K,? super V,? extends V> function)
void
WeakHashMap. replaceAll(BiFunction<? super K,? super V,? extends V> function)
void
ArrayList. replaceAll(UnaryOperator<E> operator)
void
Vector. replaceAll(UnaryOperator<E> operator)
void
GregorianCalendar. roll(int field, boolean up)
Adds or subtracts (up/down) a single unit of time on the given time field without changing larger fields.void
GregorianCalendar. roll(int field, int amount)
Adds a signed amount to the specified calendar field without changing larger fields.void
GregorianCalendar. setTimeZone(TimeZone zone)
void
GregorianCalendar. setWeekDate(int weekYear, int weekOfYear, int dayOfWeek)
Sets thisGregorianCalendar
to the date given by the date specifiers -weekYear
,weekOfYear
, anddayOfWeek
.void
ArrayList. sort(Comparator<? super E> c)
void
Vector. sort(Comparator<? super E> c)
Spliterator<E>
LinkedHashSet. spliterator()
Creates a late-binding and fail-fastSpliterator
over the elements in this set.Spliterator<E>
LinkedList. spliterator()
Creates a late-binding and fail-fastSpliterator
over the elements in this list.default Spliterator<E>
SortedSet. spliterator()
Creates aSpliterator
over the elements in this sorted set.Spliterator<E>
ArrayList. spliterator()
Creates a late-binding and fail-fastSpliterator
over the elements in this list.Spliterator<E>
Vector. spliterator()
Creates a late-binding and fail-fastSpliterator
over the elements in this list.default Spliterator<E>
Set. spliterator()
Creates aSpliterator
over the elements in this set.default Spliterator<E>
Collection. spliterator()
Creates aSpliterator
over the elements in this collection.default Spliterator<E>
List. spliterator()
Creates aSpliterator
over the elements in this list.String
StringJoiner. toString()
Returns the current value, consisting of theprefix
, the values added so far separated by thedelimiter
, and thesuffix
, unless no elements have been added in which case, theprefix + suffix
or theemptyValue
characters are returnedString
Currency. toString()
Returns the ISO 4217 currency code of this currency.String
Calendar. toString()
Return a string representation of this calendar.String
DoubleSummaryStatistics. toString()
Returns a string representation of the object.String
LongSummaryStatistics. toString()
String
OptionalLong. toString()
Returns a string representation of the object.String
Optional. toString()
Returns a non-empty string representation of this Optional suitable for debugging.String
IntSummaryStatistics. toString()
String
OptionalDouble. toString()
Returns a string representation of the object.String
OptionalInt. toString()
Returns a string representation of the object.String
Locale. toString()
Returns a string representation of thisLocale
object, consisting of language, country, variant, script, and extensions as below: language + "_" + country + "_" + (variant + "_#" | "#") + script + "-" + extensions Language is always lower case, country is always upper case, script is always title case, and extensions are always lower case.default boolean
Spliterator.OfDouble. tryAdvance(Consumer<? super Double> action)
If a remaining element exists, performs the given action on it, returningtrue
; else returnsfalse
.default boolean
Spliterator.OfInt. tryAdvance(Consumer<? super Integer> action)
If a remaining element exists, performs the given action on it, returningtrue
; else returnsfalse
.default boolean
Spliterator.OfLong. tryAdvance(Consumer<? super Long> action)
If a remaining element exists, performs the given action on it, returningtrue
; else returnsfalse
.boolean
Spliterator.OfDouble. tryAdvance(DoubleConsumer action)
boolean
Spliterator.OfInt. tryAdvance(IntConsumer action)
boolean
Spliterator.OfLong. tryAdvance(LongConsumer action)
Spliterator<T>
Spliterators.AbstractSpliterator. trySplit()
If this spliterator can be partitioned, returns a Spliterator covering elements, that will, upon return from this method, not be covered by this Spliterator.Spliterator.OfInt
Spliterators.AbstractIntSpliterator. trySplit()
If this spliterator can be partitioned, returns a Spliterator covering elements, that will, upon return from this method, not be covered by this Spliterator.Spliterator.OfLong
Spliterators.AbstractLongSpliterator. trySplit()
If this spliterator can be partitioned, returns a Spliterator covering elements, that will, upon return from this method, not be covered by this Spliterator.Spliterator.OfDouble
Spliterators.AbstractDoubleSpliterator. trySplit()
If this spliterator can be partitioned, returns a Spliterator covering elements, that will, upon return from this method, not be covered by this Spliterator.T_SPLITR
Spliterator.OfPrimitive. trySplit()
Spliterator.OfInt
Spliterator.OfInt. trySplit()
Spliterator.OfLong
Spliterator.OfLong. trySplit()
Spliterator.OfDouble
Spliterator.OfDouble. trySplit()
-
Uses of Override in java.util.concurrent
Methods in java.util.concurrent with annotations of type Override Modifier and Type Method and Description default V
ConcurrentMap. compute(K key, BiFunction<? super K,? super V,? extends V> remappingFunction)
Attempts to compute a mapping for the specified key and its current mapped value (ornull
if there is no current mapping).default V
ConcurrentMap. computeIfAbsent(K key, Function<? super K,? extends V> mappingFunction)
If the specified key is not already associated with a value (or is mapped tonull
), attempts to compute its value using the given mapping function and enters it into this map unlessnull
.default V
ConcurrentMap. computeIfPresent(K key, BiFunction<? super K,? super V,? extends V> remappingFunction)
If the value for the specified key is present and non-null, attempts to compute a new mapping given the key and its current mapped value.default void
ConcurrentMap. forEach(BiConsumer<? super K,? super V> action)
Performs the given action for each entry in this map until all entries have been processed or the action throws an exception.default V
ConcurrentMap. getOrDefault(Object key, V defaultValue)
Returns the value to which the specified key is mapped, ordefaultValue
if this map contains no mapping for the key.default V
ConcurrentMap. merge(K key, V value, BiFunction<? super V,? super V,? extends V> remappingFunction)
If the specified key is not already associated with a value or is associated with null, associates it with the given non-null value.default void
ConcurrentMap. replaceAll(BiFunction<? super K,? super V,? extends V> function)
Replaces each entry's value with the result of invoking the given function on that entry until all entries have been processed or the function throws an exception.Spliterator<E>
ConcurrentLinkedQueue. spliterator()
Returns aSpliterator
over the elements in this queue. -
Uses of Override in java.util.jar
Methods in java.util.jar with annotations of type Override Modifier and Type Method and Description Stream<JarEntry>
JarFile. stream()
-
Uses of Override in java.util.logging
Methods in java.util.logging with annotations of type Override Modifier and Type Method and Description void
ConsoleHandler. close()
Override StreamHandler.close to do a flush but not to close the output stream.void
MemoryHandler. close()
Close the Handler and free all associated resources.void
FileHandler. close()
Close all the files.void
SocketHandler. close()
Close this output stream.void
StreamHandler. close()
Close the current output stream.boolean
Level. equals(Object ox)
Compare two objects for value equality.void
MemoryHandler. flush()
Causes a flush on the target Handler.void
StreamHandler. flush()
Flush any buffered messages.int
Level. hashCode()
Generate a hashcode.boolean
MemoryHandler. isLoggable(LogRecord record)
Check if this Handler would actually log a given LogRecord into its internal buffer.boolean
StreamHandler. isLoggable(LogRecord record)
Check if this Handler would actually log a given LogRecord.void
ConsoleHandler. publish(LogRecord record)
Publish a LogRecord.void
MemoryHandler. publish(LogRecord record)
Store a LogRecord in an internal buffer.void
FileHandler. publish(LogRecord record)
Format and publish a LogRecord.void
SocketHandler. publish(LogRecord record)
Format and publish a LogRecord.void
StreamHandler. publish(LogRecord record)
Format and publish a LogRecord.void
StreamHandler. setEncoding(String encoding)
Set (or change) the character encoding used by this Handler.String
Level. toString()
Returns a string representation of this Level. -
Uses of Override in java.util.stream
Methods in java.util.stream with annotations of type Override Modifier and Type Method and Description void
DoubleStream.Builder. accept(double t)
Adds an element to the stream being built.void
IntStream.Builder. accept(int t)
Adds an element to the stream being built.void
LongStream.Builder. accept(long t)
Adds an element to the stream being built.void
Stream.Builder. accept(T t)
Adds an element to the stream being built.void
BaseStream. close()
Closes this stream, causing all close handlers for this stream pipeline to be called.PrimitiveIterator.OfDouble
DoubleStream. iterator()
PrimitiveIterator.OfLong
LongStream. iterator()
PrimitiveIterator.OfInt
IntStream. iterator()
DoubleStream
DoubleStream. parallel()
LongStream
LongStream. parallel()
IntStream
IntStream. parallel()
DoubleStream
DoubleStream. sequential()
LongStream
LongStream. sequential()
IntStream
IntStream. sequential()
Spliterator.OfDouble
DoubleStream. spliterator()
Spliterator.OfLong
LongStream. spliterator()
Spliterator.OfInt
IntStream. spliterator()
-
Uses of Override in javax.lang.model.element
Methods in javax.lang.model.element with annotations of type Override Modifier and Type Method and Description boolean
Element. equals(Object obj)
Returnstrue
if the argument represents the same element asthis
, orfalse
otherwise.<A extends Annotation>
AElement. getAnnotation(Class<A> annotationType)
Returns this construct's annotation of the specified type if such an annotation is present, elsenull
.List<? extends AnnotationMirror>
Element. getAnnotationMirrors()
Returns the annotations that are directly present on this construct.List<? extends Element>
PackageElement. getEnclosedElements()
Returns the top-level classes and interfaces within this package.List<? extends Element>
TypeElement. getEnclosedElements()
Returns the fields, methods, constructors, and member types that are directly declared in this class or interface.Element
TypeParameterElement. getEnclosingElement()
Returns the generic element of this type parameter.Element
PackageElement. getEnclosingElement()
Returnsnull
since a package is not enclosed by another element.Element
VariableElement. getEnclosingElement()
Returns the enclosing element of this variable.Element
TypeElement. getEnclosingElement()
Returns the package of a top-level type and returns the immediately lexically enclosing element for a nested type.Name
PackageElement. getSimpleName()
Returns the simple name of this package.Name
VariableElement. getSimpleName()
Returns the simple name of this variable element.Name
ExecutableElement. getSimpleName()
Returns the simple name of a constructor, method, or initializer.Name
TypeElement. getSimpleName()
Returns the simple name of this type element.int
Element. hashCode()
Obeys the general contract ofObject.hashCode
. -
Uses of Override in javax.lang.model.util
Methods in javax.lang.model.util with annotations of type Override Modifier and Type Method and Description R
ElementKindVisitor6. visitExecutable(ExecutableElement e, P p)
Visits an executable element, dispatching to the visit method for the specific kind of executable,CONSTRUCTOR
,INSTANCE_INIT
,METHOD
, orSTATIC_INIT
.R
TypeKindVisitor8. visitIntersection(IntersectionType t, P p)
This implementation visits anIntersectionType
by callingdefaultAction
.R
SimpleTypeVisitor8. visitIntersection(IntersectionType t, P p)
This implementation visits anIntersectionType
by callingdefaultAction
.R
TypeKindVisitor6. visitNoType(NoType t, P p)
R
ElementKindVisitor6. visitPackage(PackageElement e, P p)
Visits a package element.R
TypeKindVisitor6. visitPrimitive(PrimitiveType t, P p)
Visits a primitive type, dispatching to the visit method for the specific kind of primitive type:BOOLEAN
,BYTE
, etc.R
ElementKindVisitor6. visitType(TypeElement e, P p)
Visits a type element, dispatching to the visit method for the specific kind of type,ANNOTATION_TYPE
,CLASS
,ENUM
, orINTERFACE
.R
ElementKindVisitor6. visitTypeParameter(TypeParameterElement e, P p)
Visits a type parameter element.R
TypeKindVisitor7. visitUnion(UnionType t, P p)
This implementation visits aUnionType
by callingdefaultAction
.R
SimpleTypeVisitor7. visitUnion(UnionType t, P p)
This implementation visits aUnionType
by callingdefaultAction
.R
ElementKindVisitor6. visitVariable(VariableElement e, P p)
Visits a variable element, dispatching to the visit method for the specific kind of variable,ENUM_CONSTANT
,EXCEPTION_PARAMETER
,FIELD
,LOCAL_VARIABLE
,PARAMETER
, orRESOURCE_VARIABLE
.R
ElementScanner7. visitVariable(VariableElement e, P p)
This implementation scans the enclosed elements.R
SimpleElementVisitor7. visitVariable(VariableElement e, P p)
This implementation callsdefaultAction
.R
ElementKindVisitor7. visitVariableAsResourceVariable(VariableElement e, P p)
Visits aRESOURCE_VARIABLE
variable element by callingdefaultAction
. -
Uses of Override in javax.management
Methods in javax.management with annotations of type Override Modifier and Type Method and Description void
AttributeList. add(int index, Object element)
Inserts the specified element at the specified position in this list.boolean
AttributeList. add(Object element)
Appends the specified element to the end of this list.boolean
AttributeList. addAll(Collection<?> c)
Appends all of the elements in the specified collection to the end of this list, in the order that they are returned by the specified collection's Iterator.boolean
AttributeList. addAll(int index, Collection<?> c)
Inserts all of the elements in the specified collection into this list, starting at the specified position.ValueExp
AttributeValueExp. apply(ObjectName name)
Applies theAttributeValueExp
on an MBean.Object
MBeanOperationInfo. clone()
Returns a shallow clone of this instance.Object
MBeanInfo. clone()
Returns a shallow clone of this instance.Descriptor
ImmutableDescriptor. clone()
Returns a descriptor which is equal to this descriptor.boolean
MBeanOperationInfo. equals(Object o)
Compare this MBeanOperationInfo to another.boolean
MBeanInfo. equals(Object o)
Compare this MBeanInfo to another.boolean
ImmutableDescriptor. equals(Object o)
Compares this descriptor to the given object.boolean
ObjectName. equals(Object object)
Compares the current object name with another object name.int
MBeanOperationInfo. hashCode()
int
MBeanInfo. hashCode()
int
ImmutableDescriptor. hashCode()
Returns the hash code value for this descriptor.int
ObjectName. hashCode()
Returns a hash code for this object name.Object
AttributeList. set(int index, Object element)
Replaces the element at the specified position in this list with the specified element.void
AttributeValueExp. setMBeanServer(MBeanServer s)
Deprecated.This method has no effect. The MBean Server used to obtain an attribute value isQueryEval.getMBeanServer()
.String
AttributeValueExp. toString()
Returns the string representing its value.String
MBeanServerNotification. toString()
String
MBeanOperationInfo. toString()
String
Notification. toString()
Returns a String representation of this notification.String
MBeanInfo. toString()
String
ImmutableDescriptor. toString()
String
ObjectName. toString()
Returns a string representation of the object name. -
Uses of Override in javax.management.modelmbean
Methods in javax.management.modelmbean with annotations of type Override Modifier and Type Method and Description Object
DescriptorSupport. clone()
Returns a new Descriptor which is a duplicate of the Descriptor.Object
ModelMBeanConstructorInfo. clone()
Creates and returns a new ModelMBeanConstructorInfo which is a duplicate of this ModelMBeanConstructorInfo.Object
ModelMBeanAttributeInfo. clone()
Creates and returns a new ModelMBeanAttributeInfo which is a duplicate of this ModelMBeanAttributeInfo.boolean
DescriptorSupport. equals(Object o)
Compares this descriptor to the given object.Descriptor
ModelMBeanConstructorInfo. getDescriptor()
Returns a copy of the associated Descriptor.Descriptor
ModelMBeanInfoSupport. getDescriptor()
int
DescriptorSupport. hashCode()
Returns the hash code value for this descriptor.String
DescriptorSupport. toString()
Returns a human readable string representing the descriptor.String
ModelMBeanConstructorInfo. toString()
Returns a string containing the entire contents of the ModelMBeanConstructorInfo in human readable form.String
ModelMBeanAttributeInfo. toString()
Returns a human-readable version of the ModelMBeanAttributeInfo instance. -
Uses of Override in javax.management.monitor
Methods in javax.management.monitor with annotations of type Override Modifier and Type Method and Description Number
CounterMonitor. getDerivedGauge(ObjectName object)
Gets the derived gauge of the specified object, if this object is contained in the set of observed MBeans, ornull
otherwise.String
StringMonitor. getDerivedGauge(ObjectName object)
Gets the derived gauge of the specified object, if this object is contained in the set of observed MBeans, ornull
otherwise.Number
GaugeMonitor. getDerivedGauge(ObjectName object)
Gets the derived gauge of the specified object, if this object is contained in the set of observed MBeans, ornull
otherwise.long
CounterMonitor. getDerivedGaugeTimeStamp(ObjectName object)
Gets the derived gauge timestamp of the specified object, if this object is contained in the set of observed MBeans, or0
otherwise.long
StringMonitor. getDerivedGaugeTimeStamp(ObjectName object)
Gets the derived gauge timestamp of the specified object, if this object is contained in the set of observed MBeans, or0
otherwise.long
GaugeMonitor. getDerivedGaugeTimeStamp(ObjectName object)
Gets the derived gauge timestamp of the specified object, if this object is contained in the set of observed MBeans, or0
otherwise.MBeanNotificationInfo[]
CounterMonitor. getNotificationInfo()
Returns aNotificationInfo
object containing the name of the Java class of the notification and the notification types sent by the counter monitor.MBeanNotificationInfo[]
StringMonitor. getNotificationInfo()
Returns aNotificationInfo
object containing the name of the Java class of the notification and the notification types sent by the string monitor.MBeanNotificationInfo[]
GaugeMonitor. getNotificationInfo()
Returns aNotificationInfo
object containing the name of the Java class of the notification and the notification types sent by the gauge monitor. -
Uses of Override in javax.management.openmbean
Methods in javax.management.openmbean with annotations of type Override Modifier and Type Method and Description boolean
CompositeDataSupport. equals(Object obj)
Compares the specified obj parameter with thisCompositeDataSupport
instance for equality.int
CompositeDataSupport. hashCode()
Returns the hash code value for thisCompositeDataSupport
instance.String
CompositeDataSupport. toString()
Returns a string representation of thisCompositeDataSupport
instance. -
Uses of Override in javax.management.relation
Methods in javax.management.relation with annotations of type Override Modifier and Type Method and Description void
RoleUnresolvedList. add(int index, Object element)
void
RoleList. add(int index, Object element)
boolean
RoleUnresolvedList. add(Object o)
boolean
RoleList. add(Object o)
boolean
RoleUnresolvedList. addAll(Collection<?> c)
boolean
RoleList. addAll(Collection<?> c)
boolean
RoleUnresolvedList. addAll(int index, Collection<?> c)
boolean
RoleList. addAll(int index, Collection<?> c)
Object
RoleUnresolvedList. set(int index, Object element)
Object
RoleList. set(int index, Object element)
-
Uses of Override in javax.management.remote
Methods in javax.management.remote with annotations of type Override Modifier and Type Method and Description MBeanNotificationInfo[]
JMXConnectorServer. getNotificationInfo()
Returns an array indicating the notifications that this MBean sends. -
Uses of Override in javax.management.remote.rmi
Methods in javax.management.remote.rmi with annotations of type Override Modifier and Type Method and Description protected void
RMIConnectorServer. connectionClosed(String connectionId, String message, Object userData)
protected void
RMIConnectorServer. connectionFailed(String connectionId, String message, Object userData)
protected void
RMIConnectorServer. connectionOpened(String connectionId, String message, Object userData)
void
RMIConnectorServer. setMBeanServerForwarder(MBeanServerForwarder mbsf)
String
RMIConnector. toString()
Returns a string representation of this object.String
RMIConnectionImpl. toString()
Returns a string representation of this object. -
Uses of Override in javax.net.ssl
Methods in javax.net.ssl with annotations of type Override Modifier and Type Method and Description boolean
SNIHostName. equals(Object other)
Compares this server name to the specified object.boolean
SNIServerName. equals(Object other)
Indicates whether some other object is "equal to" this server name.int
SNIHostName. hashCode()
Returns a hash code value for thisSNIHostName
.int
SNIServerName. hashCode()
Returns a hash code value for this server name.String
SNIHostName. toString()
Returns a string representation of the object, including the DNS hostname in thisSNIHostName
object.String
SNIServerName. toString()
Returns a string representation of this server name, including the server name type and the encoded server name value in thisSNIServerName
object.String
SSLEngineResult. toString()
Returns a String representation of this object. -
Uses of Override in javax.swing
Methods in javax.swing with annotations of type Override Modifier and Type Method and Description void
DefaultListCellRenderer. firePropertyChange(String propertyName, boolean oldValue, boolean newValue)
Overridden for performance reasons.void
DefaultListCellRenderer. firePropertyChange(String propertyName, byte oldValue, byte newValue)
Overridden for performance reasons.void
DefaultListCellRenderer. firePropertyChange(String propertyName, char oldValue, char newValue)
Overridden for performance reasons.void
DefaultListCellRenderer. firePropertyChange(String propertyName, double oldValue, double newValue)
Overridden for performance reasons.void
DefaultListCellRenderer. firePropertyChange(String propertyName, float oldValue, float newValue)
Overridden for performance reasons.void
DefaultListCellRenderer. firePropertyChange(String propertyName, int oldValue, int newValue)
Overridden for performance reasons.void
DefaultListCellRenderer. firePropertyChange(String propertyName, long oldValue, long newValue)
Overridden for performance reasons.protected void
DefaultListCellRenderer. firePropertyChange(String propertyName, Object oldValue, Object newValue)
Overridden for performance reasons.void
DefaultListCellRenderer. firePropertyChange(String propertyName, short oldValue, short newValue)
Overridden for performance reasons.void
JComponent. hide()
Deprecated.void
DefaultListCellRenderer. invalidate()
Overridden for performance reasons.boolean
DefaultListCellRenderer. isOpaque()
Overridden for performance reasons.boolean
JSplitPane. isValidateRoot()
Returns true, so that calls torevalidate
on any descendant of thisJSplitPane
will cause a request to be queued that will validate theJSplitPane
and all its descendants.boolean
JTextField. isValidateRoot()
Calls torevalidate
that come from within the textfield itself will be handled by validating the textfield, unless the textfield is contained within aJViewport
, in which case this returns false.boolean
JScrollPane. isValidateRoot()
Overridden to return true so that any calls torevalidate
on any descendants of thisJScrollPane
will cause the entire tree beginning with thisJScrollPane
to be validated.boolean
JRootPane. isValidateRoot()
If a descendant of thisJRootPane
callsrevalidate
, validate from here on down.boolean
JComponent. isValidateRoot()
If this method returns true,revalidate
calls by descendants of this component will cause the entire tree beginning with this root to be validated.protected boolean
JComboBox. processKeyBinding(KeyStroke ks, KeyEvent e, int condition, boolean pressed)
Invoked to process the key bindings forks
as the result of theKeyEvent
e
.void
JDesktopPane. remove(Component comp)
Removes the specified component from this container.void
DefaultListCellRenderer. repaint()
Overridden for performance reasons.void
DefaultListCellRenderer. repaint(long tm, int x, int y, int width, int height)
Overridden for performance reasons.void
DefaultListCellRenderer. repaint(Rectangle r)
Overridden for performance reasons.void
JTextPane. replaceSelection(String content)
Replaces the currently selected content with new content represented by the given string.void
JEditorPane. replaceSelection(String content)
Replaces the currently selected content with new content represented by the given string.void
DefaultListCellRenderer. revalidate()
Overridden for performance reasons.void
JPasswordField. setText(String t)
Sets the text of thisTextComponent
to the specified text.void
DefaultListCellRenderer. validate()
Overridden for performance reasons. -
Uses of Override in javax.swing.border
Methods in javax.swing.border with annotations of type Override Modifier and Type Method and Description Insets
StrokeBorder. getBorderInsets(Component c, Insets insets)
Reinitializes theinsets
parameter with this border's current insets.boolean
CompoundBorder. isBorderOpaque()
Returns whether or not the compound border is opaque.void
StrokeBorder. paintBorder(Component c, Graphics g, int x, int y, int width, int height)
Paints the border for the specified component with the specified position and size. -
Uses of Override in javax.swing.plaf.basic
Methods in javax.swing.plaf.basic with annotations of type Override Modifier and Type Method and Description Accessible
BasicComboBoxUI. getAccessibleChild(JComponent c, int i)
int
BasicComboBoxUI. getAccessibleChildrenCount(JComponent c)
int
BasicComboBoxUI. getBaseline(JComponent c, int width, int height)
Returns the baseline.Component.BaselineResizeBehavior
BasicComboBoxUI. getBaselineResizeBehavior(JComponent c)
Returns an enum indicating how the baseline of the component changes as the size changes.Dimension
BasicDesktopPaneUI. getMaximumSize(JComponent c)
Dimension
BasicComboBoxUI. getMaximumSize(JComponent c)
Dimension
BasicDesktopPaneUI. getMinimumSize(JComponent c)
Dimension
BasicComboBoxUI. getMinimumSize(JComponent c)
The minimum size is the size of the display area plus insets plus the button.Dimension
BasicDesktopPaneUI. getPreferredSize(JComponent c)
Dimension
BasicComboBoxUI. getPreferredSize(JComponent c)
Dimension
BasicRadioButtonUI. getPreferredSize(JComponent c)
The preferred size of the radio buttonprotected String
BasicRadioButtonUI. getPropertyPrefix()
protected void
BasicRadioButtonUI. installDefaults(AbstractButton b)
void
BasicComboBoxUI. installUI(JComponent c)
void
BasicComboBoxUI.KeyHandler. keyPressed(KeyEvent e)
void
BasicComboBoxUI. paint(Graphics g, JComponent c)
void
BasicRadioButtonUI. paint(Graphics g, JComponent c)
paint the radio buttonprotected void
BasicRadioButtonUI. uninstallDefaults(AbstractButton b)
void
BasicComboBoxUI. uninstallUI(JComponent c)
-
Uses of Override in javax.swing.plaf.metal
Methods in javax.swing.plaf.metal with annotations of type Override Modifier and Type Method and Description Dimension
MetalFileChooserUI. getMaximumSize(JComponent c)
Returns the maximum size of theJFileChooser
.Dimension
MetalFileChooserUI. getMinimumSize(JComponent c)
Returns the minimum size of theJFileChooser
.Dimension
MetalFileChooserUI. getPreferredSize(JComponent c)
Returns the preferred size of the specifiedJFileChooser
. -
Uses of Override in javax.swing.plaf.nimbus
Methods in javax.swing.plaf.nimbus with annotations of type Override Modifier and Type Method and Description Object
NimbusStyle. get(SynthContext ctx, Object key)
Getter for a region specific style property.protected Color
NimbusStyle. getColorForState(SynthContext ctx, ColorType type)
Returns the color for the specified state.UIDefaults
NimbusLookAndFeel. getDefaults()
Returns the defaults for this SynthLookAndFeel.String
NimbusLookAndFeel. getDescription()
Returns a textual description of this look and feel.Icon
NimbusLookAndFeel. getDisabledIcon(JComponent component, Icon icon)
protected Font
NimbusStyle. getFontForState(SynthContext ctx)
Returns the font for the specified state.String
NimbusLookAndFeel. getID()
Return a string that identifies this look and feel.Insets
NimbusStyle. getInsets(SynthContext ctx, Insets in)
Returns the Insets that are used to calculate sizing information.String
NimbusLookAndFeel. getName()
Return a short string that identifies this look and feel.SynthPainter
NimbusStyle. getPainter(SynthContext ctx)
Returns theSynthPainter
that will be used for painting.void
NimbusLookAndFeel. initialize()
Called by UIManager when this look and feel is installed.void
NimbusStyle. installDefaults(SynthContext ctx)
Installs the necessary state from this Style on theJComponent
fromcontext
.boolean
NimbusStyle. isOpaque(SynthContext ctx)
Returns true if the region is opaque.void
AbstractRegionPainter. paint(Graphics2D g, JComponent c, int w, int h)
Renders to the givenGraphics2D
object.boolean
NimbusLookAndFeel. shouldUpdateStyleOnAncestorChanged()
Returns whether or not the UIs should update theirSynthStyles
from theSynthStyleFactory
when the ancestor of theJComponent
changes.protected boolean
NimbusLookAndFeel. shouldUpdateStyleOnEvent(PropertyChangeEvent ev)
Returns whether or not the UIs should update their styles when a particular event occurs.String
State. toString()
void
NimbusLookAndFeel. uninitialize()
Called by UIManager when this look and feel is uninstalled. -
Uses of Override in javax.swing.plaf.synth
Methods in javax.swing.plaf.synth with annotations of type Override Modifier and Type Method and Description protected void
SynthSliderUI. calculateGeometry()
protected int
SynthTabbedPaneUI. calculateMaxTabHeight(int tabPlacement)
protected int
SynthTabbedPaneUI. calculateMaxTabWidth(int tabPlacement)
protected int
SynthTabbedPaneUI. calculateTabWidth(int tabPlacement, int tabIndex, FontMetrics metrics)
protected void
SynthSliderUI. calculateThumbLocation()
protected void
SynthScrollBarUI. configureScrollBarColors()
View
SynthPasswordFieldUI. create(Element elem)
Creates a view (PasswordView) for an element.protected JButton
SynthComboBoxUI. createArrowButton()
Creates a button which will be used as the control to show or hide the popup portion of the combo box.protected ComponentListener
SynthInternalFrameUI. createComponentListener()
protected JButton
SynthScrollBarUI. createDecreaseButton(int orientation)
protected TreeCellEditor
SynthTreeUI. createDefaultCellEditor()
Creates a default cell editor.protected TreeCellRenderer
SynthTreeUI. createDefaultCellRenderer()
Returns the default cell renderer that is used to do the stamping of each node.protected AbstractColorChooserPanel[]
SynthColorChooserUI. createDefaultChoosers()
BasicSplitPaneDivider
SynthSplitPaneUI. createDefaultDivider()
Creates the default divider.protected Component
SynthSplitPaneUI. createDefaultNonContinuousLayoutDivider()
Returns the default non continuous layout divider, which is an instance ofCanvas
that fills in the background with dark gray.protected JComponent
SynthSpinnerUI. createEditor()
This method is called by installUI to get the editor component of theJSpinner
.protected ComboBoxEditor
SynthComboBoxUI. createEditor()
Creates the default editor that will be used in editable combo boxes.protected JButton
SynthScrollBarUI. createIncreaseButton(int orientation)
protected LayoutManager
SynthSpinnerUI. createLayout()
Creates aLayoutManager
that manages theeditor
,nextButton
, andpreviousButton
children of the JSpinner.protected LayoutManager
SynthTabbedPaneUI. createLayoutManager()
Invoked byinstallUI
to create a layout manager object to manage theJTabbedPane
.protected Container
SynthOptionPaneUI. createMessageArea()
Called fromSynthOptionPaneUI.installComponents()
to create aContainer
containing the body of the message.protected MouseListener
SynthTabbedPaneUI. createMouseListener()
Overridden to keep track of whether the selected tab is also pressed.protected Component
SynthSpinnerUI. createNextButton()
Creates an increment button, i.e.protected JComponent
SynthInternalFrameUI. createNorthPane(JInternalFrame w)
protected ComboPopup
SynthComboBoxUI. createPopup()
Creates the popup portion of the combo box.protected Component
SynthSpinnerUI. createPreviousButton()
Creates a decrement button, i.e.protected ListCellRenderer
SynthComboBoxUI. createRenderer()
Creates the default renderer that will be used in a non-editiable combo box.protected JButton
SynthTabbedPaneUI. createScrollButton(int direction)
Creates and returns a JButton that will provide the user with a way to scroll the tabs in a particular direction.protected Container
SynthOptionPaneUI. createSeparator()
protected BasicSliderUI.TrackListener
SynthSliderUI. createTrackListener(JSlider s)
protected void
SynthTreeUI. drawCentered(Component c, Graphics graphics, Icon icon, int x, int y)
void
SynthSplitPaneUI. finishedPaintingChildren(JSplitPane jc, Graphics g)
Called when the specified split pane has finished painting its children.protected int
SynthTabbedPaneUI. getBaseline(int tab)
Returns the baseline for the specified tab.int
SynthSliderUI. getBaseline(JComponent c, int width, int height)
Returns the baseline.int
SynthProgressBarUI. getBaseline(JComponent c, int width, int height)
Returns the baseline.int
SynthButtonUI. getBaseline(JComponent c, int width, int height)
Returns the baseline.int
SynthLabelUI. getBaseline(JComponent c, int width, int height)
Returns the baseline.protected Rectangle
SynthProgressBarUI. getBox(Rectangle r)
Stores the position and size of the bouncing box that would be painted for the current animation index inr
and returnsr
.SynthContext
SynthScrollPaneUI. getContext(JComponent c)
Returns the Context for the specified component.SynthContext
SynthSeparatorUI. getContext(JComponent c)
Returns the Context for the specified component.SynthContext
SynthTextAreaUI. getContext(JComponent c)
Returns the Context for the specified component.SynthContext
SynthSliderUI. getContext(JComponent c)
Returns the Context for the specified component.SynthContext
SynthListUI. getContext(JComponent c)
Returns the Context for the specified component.SynthContext
SynthRootPaneUI. getContext(JComponent c)
Returns the Context for the specified component.SynthContext
SynthScrollBarUI. getContext(JComponent c)
Returns the Context for the specified component.SynthContext
SynthTableHeaderUI. getContext(JComponent c)
Returns the Context for the specified component.SynthContext
SynthSplitPaneUI. getContext(JComponent c)
Returns the Context for the specified component.SynthContext
SynthMenuUI. getContext(JComponent c)
Returns the Context for the specified component.SynthContext
SynthProgressBarUI. getContext(JComponent c)
Returns the Context for the specified component.SynthContext
SynthSpinnerUI. getContext(JComponent c)
Returns the Context for the specified component.SynthContext
SynthTextFieldUI. getContext(JComponent c)
Returns the Context for the specified component.SynthContext
SynthDesktopIconUI. getContext(JComponent c)
Returns the Context for the specified component.SynthContext
SynthViewportUI. getContext(JComponent c)
Returns the Context for the specified component.SynthContext
SynthTabbedPaneUI. getContext(JComponent c)
Returns the Context for the specified component.SynthContext
SynthButtonUI. getContext(JComponent c)
Returns the Context for the specified component.SynthContext
SynthOptionPaneUI. getContext(JComponent c)
Returns the Context for the specified component.SynthContext
SynthColorChooserUI. getContext(JComponent c)
Returns the Context for the specified component.SynthContext
SynthToolTipUI. getContext(JComponent c)
Returns the Context for the specified component.SynthContext
SynthTableUI. getContext(JComponent c)
Returns the Context for the specified component.SynthContext
SynthMenuItemUI. getContext(JComponent c)
Returns the Context for the specified component.SynthContext
SynthMenuBarUI. getContext(JComponent c)
Returns the Context for the specified component.SynthContext
SynthToolBarUI. getContext(JComponent c)
Returns the Context for the specified component.SynthContext
SynthLabelUI. getContext(JComponent c)
Returns the Context for the specified component.SynthContext
SynthComboBoxUI. getContext(JComponent c)
Returns the Context for the specified component.SynthContext
SynthInternalFrameUI. getContext(JComponent c)
Returns the Context for the specified component.SynthContext
SynthTreeUI. getContext(JComponent c)
Returns the Context for the specified component.SynthContext
SynthEditorPaneUI. getContext(JComponent c)
Returns the Context for the specified component.SynthContext
SynthPopupMenuUI. getContext(JComponent c)
Returns the Context for the specified component.SynthContext
SynthPanelUI. getContext(JComponent c)
Returns the Context for the specified component.SynthContext
SynthDesktopPaneUI. getContext(JComponent c)
Returns the Context for the specified component.UIDefaults
SynthLookAndFeel. getDefaults()
Returns the defaults for this SynthLookAndFeel.protected Dimension
SynthComboBoxUI. getDefaultSize()
Returns the default size of an empty display area of the combo box using the current renderer and font.String
SynthLookAndFeel. getDescription()
Returns a textual description of SynthLookAndFeel.Icon
SynthTreeUI. getExpandedIcon()
protected FontMetrics
SynthTabbedPaneUI. getFontMetrics()
String
SynthLookAndFeel. getID()
Return a string that identifies this look and feel.Dimension
SynthSeparatorUI. getMaximumSize(JComponent c)
Returns the specified component's maximum size appropriate for the look and feel.Dimension
SynthButtonUI. getMaximumSize(JComponent c)
Returns the specified component's maximum size appropriate for the look and feel.Dimension
SynthLabelUI. getMaximumSize(JComponent c)
Returns the specified component's maximum size appropriate for the look and feel.Dimension
SynthSeparatorUI. getMinimumSize(JComponent c)
Returns the specified component's minimum size appropriate for the look and feel.Dimension
SynthSliderUI. getMinimumSize(JComponent c)
Returns the specified component's minimum size appropriate for the look and feel.Dimension
SynthButtonUI. getMinimumSize(JComponent c)
Returns the specified component's minimum size appropriate for the look and feel.Dimension
SynthLabelUI. getMinimumSize(JComponent c)
Returns the specified component's minimum size appropriate for the look and feel.protected Dimension
SynthScrollBarUI. getMinimumThumbSize()
Returns the smallest acceptable size for the thumb.String
SynthLookAndFeel. getName()
Return a short string that identifies this look and feel.protected Dimension
SynthMenuUI. getPreferredMenuItemSize(JComponent c, Icon checkIcon, Icon arrowIcon, int defaultTextIconGap)
protected Dimension
SynthMenuItemUI. getPreferredMenuItemSize(JComponent c, Icon checkIcon, Icon arrowIcon, int defaultTextIconGap)
Dimension
SynthSeparatorUI. getPreferredSize(JComponent c)
Returns the specified component's preferred size appropriate for the look and feel.Dimension
SynthSliderUI. getPreferredSize(JComponent c)
Returns the specified component's preferred size appropriate for the look and feel.Dimension
SynthScrollBarUI. getPreferredSize(JComponent c)
A vertical scrollbar's preferred width is the maximum of preferred widths of the (nonnull
) increment/decrement buttons, and the minimum width of the thumb.Dimension
SynthProgressBarUI. getPreferredSize(JComponent c)
Returns the specified component's preferred size appropriate for the look and feel.Dimension
SynthButtonUI. getPreferredSize(JComponent c)
Returns the specified component's preferred size appropriate for the look and feel.Dimension
SynthToolTipUI. getPreferredSize(JComponent c)
Returns the specified component's preferred size appropriate for the look and feel.Dimension
SynthLabelUI. getPreferredSize(JComponent c)
Returns the specified component's preferred size appropriate for the look and feel.protected String
SynthRadioButtonMenuItemUI. getPropertyPrefix()
protected String
SynthPasswordFieldUI. getPropertyPrefix()
Fetches the name used as a key to look up properties through the UIManager.protected String
SynthFormattedTextFieldUI. getPropertyPrefix()
Fetches the name used as a key to lookup properties through the UIManager.protected String
SynthCheckBoxMenuItemUI. getPropertyPrefix()
protected String
SynthCheckBoxUI. getPropertyPrefix()
protected String
SynthToggleButtonUI. getPropertyPrefix()
protected String
SynthRadioButtonUI. getPropertyPrefix()
protected String
SynthTextPaneUI. getPropertyPrefix()
Fetches the name used as a key to lookup properties through the UIManager.protected int
SynthTreeUI. getRowX(int row, int depth)
Returns the location, along the x-axis, to render a particular row at.protected boolean
SynthOptionPaneUI. getSizeButtonsToSameWidth()
Returns true, basic L&F wants all the buttons to have the same width.protected Icon
SynthRadioButtonUI. getSizingIcon(AbstractButton b)
Returns the Icon used in calculating the preferred/minimum/maximum size.boolean
SynthScrollBarUI. getSupportsAbsolutePositioning()
Indicates whether the user can absolutely position the thumb with a mouse gesture (usually the middle mouse button).protected Insets
SynthTabbedPaneUI. getTabInsets(int tabPlacement, int tabIndex)
protected int
SynthTabbedPaneUI. getTabLabelShiftX(int tabPlacement, int tabIndex, boolean isSelected)
protected int
SynthTabbedPaneUI. getTabLabelShiftY(int tabPlacement, int tabIndex, boolean isSelected)
protected Dimension
SynthSliderUI. getThumbSize()
void
SynthLookAndFeel. initialize()
Called by UIManager when this look and feel is installed.protected void
SynthDesktopIconUI. installComponents()
protected void
SynthOptionPaneUI. installComponents()
protected void
SynthToolBarUI. installComponents()
protected void
SynthTextAreaUI. installDefaults()
Initializes component properties, such as font, foreground, background, caret color, selection color, selected text color, disabled text color, and border color.protected void
SynthListUI. installDefaults()
Initializes list properties such as font, foreground, and background, and adds the CellRendererPane.protected void
SynthScrollBarUI. installDefaults()
protected void
SynthTableHeaderUI. installDefaults()
Initializes JTableHeader properties such as font, foreground, and background.protected void
SynthSplitPaneUI. installDefaults()
Installs the UI defaults.protected void
SynthMenuUI. installDefaults()
protected void
SynthProgressBarUI. installDefaults()
protected void
SynthSpinnerUI. installDefaults()
Initializes theJSpinner
border
,foreground
, andbackground
, properties based on the corresponding "Spinner.*" properties from defaults table.protected void
SynthTextFieldUI. installDefaults()
Initializes component properties, such as font, foreground, background, caret color, selection color, selected text color, disabled text color, and border color.protected void
SynthDesktopIconUI. installDefaults()
protected void
SynthTabbedPaneUI. installDefaults()
protected void
SynthOptionPaneUI. installDefaults()
protected void
SynthColorChooserUI. installDefaults()
protected void
SynthTableUI. installDefaults()
Initializes JTable properties, such as font, foreground, and background.protected void
SynthMenuItemUI. installDefaults()
protected void
SynthMenuBarUI. installDefaults()
protected void
SynthToolBarUI. installDefaults()
protected void
SynthComboBoxUI. installDefaults()
void
SynthInternalFrameUI. installDefaults()
protected void
SynthTreeUI. installDefaults()
protected void
SynthEditorPaneUI. installDefaults()
Initializes component properties, such as font, foreground, background, caret color, selection color, selected text color, disabled text color, and border color.void
SynthPopupMenuUI. installDefaults()
protected void
SynthDesktopPaneUI. installDefaults()
protected void
SynthButtonUI. installDefaults(AbstractButton b)
protected void
SynthToolTipUI. installDefaults(JComponent c)
protected void
SynthLabelUI. installDefaults(JLabel c)
Installs default properties.protected void
SynthPanelUI. installDefaults(JPanel p)
protected void
SynthRootPaneUI. installDefaults(JRootPane c)
protected void
SynthScrollPaneUI. installDefaults(JScrollPane scrollpane)
protected void
SynthSliderUI. installDefaults(JSlider slider)
protected void
SynthDesktopPaneUI. installDesktopManager()
protected void
SynthPasswordFieldUI. installKeyboardActions()
protected void
SynthListUI. installListeners()
Creates and installs the listeners for the JList, its model, and its selectionModel.protected void
SynthScrollBarUI. installListeners()
protected void
SynthTableHeaderUI. installListeners()
Attaches listeners to the JTableHeader.protected void
SynthSplitPaneUI. installListeners()
Installs the event listeners for the UI.protected void
SynthMenuUI. installListeners()
protected void
SynthProgressBarUI. installListeners()
protected void
SynthSpinnerUI. installListeners()
InitializesPropertyChangeListener
with a shared object that delegates interesting PropertyChangeEvents to protected methods.protected void
SynthDesktopIconUI. installListeners()
protected void
SynthTabbedPaneUI. installListeners()
protected void
SynthOptionPaneUI. installListeners()
protected void
SynthColorChooserUI. installListeners()
protected void
SynthTableUI. installListeners()
Attaches listeners to the JTable.protected void
SynthMenuItemUI. installListeners()
protected void
SynthMenuBarUI. installListeners()
protected void
SynthToolBarUI. installListeners()
protected void
SynthComboBoxUI. installListeners()
Creates and installs listeners for the combo box and its model.protected void
SynthInternalFrameUI. installListeners()
protected void
SynthTreeUI. installListeners()
protected void
SynthPopupMenuUI. installListeners()
protected void
SynthDesktopPaneUI. installListeners()
Installs thePropertyChangeListener
returned fromcreatePropertyChangeListener
on theJDesktopPane
.protected void
SynthButtonUI. installListeners(AbstractButton b)
protected void
SynthToolTipUI. installListeners(JComponent c)
protected void
SynthScrollPaneUI. installListeners(JScrollPane c)
protected void
SynthSliderUI. installListeners(JSlider slider)
void
SynthSeparatorUI. installUI(JComponent c)
Configures the specified component appropriately for the look and feel.void
SynthViewportUI. installUI(JComponent c)
Configures the specified component appropriately for the look and feel.void
SynthComboBoxUI. installUI(JComponent c)
Configures the specified component appropriately for the look and feel.void
SynthTextPaneUI. installUI(JComponent c)
Installs the UI for a component.void
SynthPanelUI. installUI(JComponent c)
Configures the specified component appropriately for the look and feel.boolean
SynthLookAndFeel. isNativeLookAndFeel()
Returns false, SynthLookAndFeel is not a native look and feel.boolean
SynthLookAndFeel. isSupportedLookAndFeel()
Returns true, SynthLookAndFeel is always supported.void
SynthScrollPaneUI. paint(Graphics g, JComponent c)
Paints the specified component according to the Look and Feel.void
SynthSeparatorUI. paint(Graphics g, JComponent c)
Paints the specified component according to the Look and Feel.void
SynthSliderUI. paint(Graphics g, JComponent c)
Paints the specified component according to the Look and Feel.void
SynthRootPaneUI. paint(Graphics g, JComponent c)
Paints the specified component according to the Look and Feel.void
SynthScrollBarUI. paint(Graphics g, JComponent c)
Paints the specified component according to the Look and Feel.void
SynthTableHeaderUI. paint(Graphics g, JComponent c)
Paints the specified component according to the Look and Feel.void
SynthSplitPaneUI. paint(Graphics g, JComponent c)
Paints the specified component according to the Look and Feel.void
SynthMenuUI. paint(Graphics g, JComponent c)
Paints the specified component according to the Look and Feel.void
SynthProgressBarUI. paint(Graphics g, JComponent c)
Paints the specified component according to the Look and Feel.void
SynthSpinnerUI. paint(Graphics g, JComponent c)
Paints the specified component according to the Look and Feel.void
SynthDesktopIconUI. paint(Graphics g, JComponent c)
Paints the specified component according to the Look and Feel.void
SynthViewportUI. paint(Graphics g, JComponent c)
Paints the specified component according to the Look and Feel.void
SynthTabbedPaneUI. paint(Graphics g, JComponent c)
Paints the specified component according to the Look and Feel.void
SynthButtonUI. paint(Graphics g, JComponent c)
Paints the specified component according to the Look and Feel.void
SynthOptionPaneUI. paint(Graphics g, JComponent c)
Paints the specified component according to the Look and Feel.void
SynthColorChooserUI. paint(Graphics g, JComponent c)
Paints the specified component according to the Look and Feel.void
SynthToolTipUI. paint(Graphics g, JComponent c)
Paints the specified component according to the Look and Feel.void
SynthTableUI. paint(Graphics g, JComponent c)
Paints the specified component according to the Look and Feel.void
SynthMenuItemUI. paint(Graphics g, JComponent c)
Paints the specified component according to the Look and Feel.void
SynthMenuBarUI. paint(Graphics g, JComponent c)
Paints the specified component according to the Look and Feel.void
SynthToolBarUI. paint(Graphics g, JComponent c)
Paints the specified component according to the Look and Feel.void
SynthLabelUI. paint(Graphics g, JComponent c)
Paints the specified component according to the Look and Feel.void
SynthComboBoxUI. paint(Graphics g, JComponent c)
Paints the specified component according to the Look and Feel.void
SynthInternalFrameUI. paint(Graphics g, JComponent c)
Paints the specified component according to the Look and Feel.void
SynthTreeUI. paint(Graphics g, JComponent c)
Paints the specified component according to the Look and Feel.void
SynthPopupMenuUI. paint(Graphics g, JComponent c)
Paints the specified component according to the Look and Feel.void
SynthPanelUI. paint(Graphics g, JComponent c)
Paints the specified component according to the Look and Feel.void
SynthDesktopPaneUI. paint(Graphics g, JComponent c)
Paints the specified component according to the Look and Feel.protected void
SynthTextAreaUI. paintBackground(Graphics g)
Paints a background for the view.protected void
SynthTextFieldUI. paintBackground(Graphics g)
Paints a background for the view.protected void
SynthEditorPaneUI. paintBackground(Graphics g)
Paints a background for the view.void
SynthScrollPaneUI. paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
Paints the border.void
SynthSeparatorUI. paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
Paints the border.void
SynthTextAreaUI. paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
Paints the border.void
SynthRadioButtonMenuItemUI. paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
Paints the border.void
SynthPasswordFieldUI. paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
Paints the border.void
SynthSliderUI. paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
Paints the border.void
SynthListUI. paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
Paints the border.void
SynthFormattedTextFieldUI. paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
Paints the border.void
SynthRootPaneUI. paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
Paints the border.void
SynthScrollBarUI. paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
Paints the border.void
SynthCheckBoxMenuItemUI. paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
Paints the border.void
SynthTableHeaderUI. paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
Paints the border.void
SynthSplitPaneUI. paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
Paints the border.void
SynthMenuUI. paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
Paints the border.void
SynthProgressBarUI. paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
Paints the border.void
SynthSpinnerUI. paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
Paints the border.void
SynthTextFieldUI. paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
Paints the border.void
SynthCheckBoxUI. paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
Paints the border.void
SynthDesktopIconUI. paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
Paints the border.void
SynthViewportUI. paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
Paints the border.void
SynthTabbedPaneUI. paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
Paints the border.void
SynthButtonUI. paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
Paints the border.void
SynthToggleButtonUI. paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
Paints the border.void
SynthRadioButtonUI. paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
Paints the border.void
SynthOptionPaneUI. paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
Paints the border.void
SynthColorChooserUI. paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
Paints the border.void
SynthToolTipUI. paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
Paints the border.void
SynthTableUI. paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
Paints the border.void
SynthMenuItemUI. paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
Paints the border.void
SynthMenuBarUI. paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
Paints the border.void
SynthToolBarUI. paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
Paints the border.void
SynthLabelUI. paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
Paints the border.void
SynthComboBoxUI. paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
Paints the border.void
SynthInternalFrameUI. paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
Paints the border.void
SynthTreeUI. paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
Paints the border.void
SynthEditorPaneUI. paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
Paints the border.void
SynthTextPaneUI. paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
Paints the border.void
SynthPopupMenuUI. paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
Paints the border.void
SynthPanelUI. paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
Paints the border.void
SynthDesktopPaneUI. paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
Paints the border.void
SynthComboBoxUI. paintCurrentValue(Graphics g, Rectangle bounds, boolean hasFocus)
Paints the currently selected item.protected void
SynthToolBarUI. paintDragWindow(Graphics g)
Paints the contents of the window used for dragging.protected void
SynthTreeUI. paintDropLine(Graphics g)
Paints the drop line.protected void
SynthTreeUI. paintExpandControl(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf)
Paints the expand (toggle) part of a row.protected void
SynthTreeUI. paintHorizontalLine(Graphics g, JComponent c, int y, int left, int right)
Paints a horizontal line.protected void
SynthTreeUI. paintHorizontalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf)
Paints the horizontal part of the leg.protected void
SynthTreeUI. paintVerticalLine(Graphics g, JComponent c, int x, int top, int bottom)
Paints a vertical line.protected void
SynthTreeUI. paintVerticalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, TreePath path)
Paints the vertical part of the leg.protected void
SynthTextAreaUI. propertyChange(PropertyChangeEvent evt)
This method gets called when a bound property is changed on the associated JTextComponent.void
SynthSliderUI. propertyChange(PropertyChangeEvent e)
This method gets called when a bound property is changed.void
SynthListUI. propertyChange(PropertyChangeEvent e)
This method gets called when a bound property is changed.void
SynthRootPaneUI. propertyChange(PropertyChangeEvent e)
Invoked when a property changes on the root pane.void
SynthTableHeaderUI. propertyChange(PropertyChangeEvent evt)
This method gets called when a bound property is changed.void
SynthSplitPaneUI. propertyChange(PropertyChangeEvent e)
This method gets called when a bound property is changed.void
SynthMenuUI. propertyChange(PropertyChangeEvent e)
This method gets called when a bound property is changed.void
SynthProgressBarUI. propertyChange(PropertyChangeEvent e)
This method gets called when a bound property is changed.void
SynthSpinnerUI. propertyChange(PropertyChangeEvent e)
This method gets called when a bound property is changed.protected void
SynthTextFieldUI. propertyChange(PropertyChangeEvent evt)
This method gets called when a bound property is changed on the associated JTextComponent.void
SynthViewportUI. propertyChange(PropertyChangeEvent e)
This method gets called when a bound property is changed.void
SynthTabbedPaneUI. propertyChange(PropertyChangeEvent e)
This method gets called when a bound property is changed.void
SynthButtonUI. propertyChange(PropertyChangeEvent e)
This method gets called when a bound property is changed.void
SynthOptionPaneUI. propertyChange(PropertyChangeEvent e)
This method gets called when a bound property is changed.void
SynthColorChooserUI. propertyChange(PropertyChangeEvent e)
This method gets called when a bound property is changed.void
SynthToolTipUI. propertyChange(PropertyChangeEvent e)
This method gets called when a bound property is changed.void
SynthTableUI. propertyChange(PropertyChangeEvent event)
This method gets called when a bound property is changed.void
SynthMenuItemUI. propertyChange(PropertyChangeEvent e)
This method gets called when a bound property is changed.void
SynthMenuBarUI. propertyChange(PropertyChangeEvent e)
This method gets called when a bound property is changed.void
SynthToolBarUI. propertyChange(PropertyChangeEvent e)
This method gets called when a bound property is changed.void
SynthLabelUI. propertyChange(PropertyChangeEvent e)
This method gets called when a bound property is changed.void
SynthComboBoxUI. propertyChange(PropertyChangeEvent e)
This method gets called when a bound property is changed.void
SynthInternalFrameUI. propertyChange(PropertyChangeEvent evt)
This method gets called when a bound property is changed.void
SynthTreeUI. propertyChange(PropertyChangeEvent event)
This method gets called when a bound property is changed.protected void
SynthEditorPaneUI. propertyChange(PropertyChangeEvent evt)
This method gets called when a bound property is changed on the associated JTextComponent.protected void
SynthTextPaneUI. propertyChange(PropertyChangeEvent evt)
This method gets called when a bound property is changed on the associated JTextComponent.void
SynthPopupMenuUI. propertyChange(PropertyChangeEvent e)
This method gets called when a bound property is changed.void
SynthPanelUI. propertyChange(PropertyChangeEvent pce)
This method gets called when a bound property is changed.void
SynthDesktopPaneUI. propertyChange(PropertyChangeEvent evt)
This method gets called when a bound property is changed.protected void
SynthSliderUI. recalculateIfInsetsChanged()
protected void
SynthSpinnerUI. replaceEditor(JComponent oldEditor, JComponent newEditor)
Called by thePropertyChangeListener
when theJSpinner
editor property changes.protected void
SynthTableHeaderUI. rolloverColumnUpdated(int oldColumn, int newColumn)
This method gets called every time when a rollover column in the table header is updated.protected void
SynthProgressBarUI. setAnimationIndex(int newValue)
Sets the index of the current animation frame to the specified value and requests that the progress bar be repainted.protected void
SynthToolBarUI. setBorderToNonRollover(Component c)
This implementation does nothing, because therollover
property of theJToolBar
class is not used in the Synth Look and Feel.protected void
SynthToolBarUI. setBorderToNormal(Component c)
This implementation does nothing, because therollover
property of theJToolBar
class is not used in the Synth Look and Feel.protected void
SynthToolBarUI. setBorderToRollover(Component c)
This implementation does nothing, because therollover
property of theJToolBar
class is not used in the Synth Look and Feel.protected void
SynthTabbedPaneUI. setRolloverTab(int index)
Sets the tab the mouse is currently over toindex
.void
SynthSliderUI. setThumbLocation(int x, int y)
protected void
SynthScrollBarUI. setThumbRollover(boolean active)
Sets whether or not the mouse is currently over the thumb.String
Region. toString()
Returns the name of the Region.void
SynthLookAndFeel. uninitialize()
Called by UIManager when this look and feel is uninstalled.protected void
SynthToolBarUI. uninstallComponents()
protected void
SynthInternalFrameUI. uninstallComponents()
protected void
SynthTextAreaUI. uninstallDefaults()
Sets the component properties that have not been explicitly overridden tonull
.protected void
SynthListUI. uninstallDefaults()
Sets the list properties that have not been explicitly overridden tonull
.protected void
SynthScrollBarUI. uninstallDefaults()
protected void
SynthTableHeaderUI. uninstallDefaults()
protected void
SynthSplitPaneUI. uninstallDefaults()
Uninstalls the UI defaults.protected void
SynthMenuUI. uninstallDefaults()
protected void
SynthProgressBarUI. uninstallDefaults()
protected void
SynthSpinnerUI. uninstallDefaults()
Sets theJSpinner's
layout manager to null.protected void
SynthTextFieldUI. uninstallDefaults()
Sets the component properties that have not been explicitly overridden tonull
.protected void
SynthDesktopIconUI. uninstallDefaults()
protected void
SynthTabbedPaneUI. uninstallDefaults()
protected void
SynthOptionPaneUI. uninstallDefaults()
protected void
SynthColorChooserUI. uninstallDefaults()
protected void
SynthTableUI. uninstallDefaults()
protected void
SynthMenuItemUI. uninstallDefaults()
protected void
SynthMenuBarUI. uninstallDefaults()
protected void
SynthToolBarUI. uninstallDefaults()
protected void
SynthComboBoxUI. uninstallDefaults()
Uninstalls the default colors, default font, default renderer, and default editor from the combo box.protected void
SynthInternalFrameUI. uninstallDefaults()
protected void
SynthTreeUI. uninstallDefaults()
protected void
SynthEditorPaneUI. uninstallDefaults()
Sets the component properties that have not been explicitly overridden tonull
.protected void
SynthPopupMenuUI. uninstallDefaults()
protected void
SynthDesktopPaneUI. uninstallDefaults()
protected void
SynthButtonUI. uninstallDefaults(AbstractButton b)
protected void
SynthToolTipUI. uninstallDefaults(JComponent c)
protected void
SynthLabelUI. uninstallDefaults(JLabel c)
Uninstalls default properties.protected void
SynthPanelUI. uninstallDefaults(JPanel p)
protected void
SynthRootPaneUI. uninstallDefaults(JRootPane root)
protected void
SynthScrollPaneUI. uninstallDefaults(JScrollPane c)
protected void
SynthDesktopPaneUI. uninstallDesktopManager()
protected void
SynthListUI. uninstallListeners()
Removes the listeners from the JList, its model, and its selectionModel.protected void
SynthScrollBarUI. uninstallListeners()
protected void
SynthTableHeaderUI. uninstallListeners()
protected void
SynthSplitPaneUI. uninstallListeners()
Uninstalls the event listeners from the UI.protected void
SynthMenuUI. uninstallListeners()
protected void
SynthProgressBarUI. uninstallListeners()
Removes all listeners installed by this object.protected void
SynthSpinnerUI. uninstallListeners()
Removes thePropertyChangeListener
added by installListeners.protected void
SynthDesktopIconUI. uninstallListeners()
protected void
SynthTabbedPaneUI. uninstallListeners()
protected void
SynthOptionPaneUI. uninstallListeners()
protected void
SynthColorChooserUI. uninstallListeners()
protected void
SynthTableUI. uninstallListeners()
protected void
SynthMenuItemUI. uninstallListeners()
protected void
SynthMenuBarUI. uninstallListeners()
protected void
SynthToolBarUI. uninstallListeners()
protected void
SynthComboBoxUI. uninstallListeners()
Removes the installed listeners from the combo box and its model.protected void
SynthInternalFrameUI. uninstallListeners()
protected void
SynthTreeUI. uninstallListeners()
protected void
SynthPopupMenuUI. uninstallListeners()
protected void
SynthDesktopPaneUI. uninstallListeners()
Uninstalls thePropertyChangeListener
returned fromcreatePropertyChangeListener
from theJDesktopPane
.protected void
SynthButtonUI. uninstallListeners(AbstractButton b)
protected void
SynthScrollPaneUI. uninstallListeners(JComponent c)
protected void
SynthToolTipUI. uninstallListeners(JComponent c)
protected void
SynthSliderUI. uninstallListeners(JSlider slider)
void
SynthSeparatorUI. uninstallUI(JComponent c)
Reverses configuration which was done on the specified component duringinstallUI
.void
SynthMenuUI. uninstallUI(JComponent c)
Reverses configuration which was done on the specified component duringinstallUI
.void
SynthViewportUI. uninstallUI(JComponent c)
Reverses configuration which was done on the specified component duringinstallUI
.void
SynthMenuItemUI. uninstallUI(JComponent c)
Reverses configuration which was done on the specified component duringinstallUI
.void
SynthComboBoxUI. uninstallUI(JComponent c)
Reverses configuration which was done on the specified component duringinstallUI
.void
SynthPanelUI. uninstallUI(JComponent c)
Reverses configuration which was done on the specified component duringinstallUI
.void
SynthScrollPaneUI. update(Graphics g, JComponent c)
Notifies this UI delegate to repaint the specified component.void
SynthSeparatorUI. update(Graphics g, JComponent c)
Notifies this UI delegate to repaint the specified component.void
SynthTextAreaUI. update(Graphics g, JComponent c)
Notifies this UI delegate to repaint the specified component.void
SynthSliderUI. update(Graphics g, JComponent c)
Notifies this UI delegate to repaint the specified component.void
SynthListUI. update(Graphics g, JComponent c)
Notifies this UI delegate to repaint the specified component.void
SynthRootPaneUI. update(Graphics g, JComponent c)
Notifies this UI delegate to repaint the specified component.void
SynthScrollBarUI. update(Graphics g, JComponent c)
Notifies this UI delegate to repaint the specified component.void
SynthTableHeaderUI. update(Graphics g, JComponent c)
Notifies this UI delegate to repaint the specified component.void
SynthSplitPaneUI. update(Graphics g, JComponent c)
Notifies this UI delegate to repaint the specified component.void
SynthMenuUI. update(Graphics g, JComponent c)
Notifies this UI delegate to repaint the specified component.void
SynthProgressBarUI. update(Graphics g, JComponent c)
Notifies this UI delegate to repaint the specified component.void
SynthSpinnerUI. update(Graphics g, JComponent c)
Notifies this UI delegate to repaint the specified component.void
SynthTextFieldUI. update(Graphics g, JComponent c)
Notifies this UI delegate to repaint the specified component.void
SynthDesktopIconUI. update(Graphics g, JComponent c)
Notifies this UI delegate to repaint the specified component.void
SynthViewportUI. update(Graphics g, JComponent c)
Notifies this UI delegate to repaint the specified component.void
SynthTabbedPaneUI. update(Graphics g, JComponent c)
Notifies this UI delegate to repaint the specified component.void
SynthButtonUI. update(Graphics g, JComponent c)
Notifies this UI delegate to repaint the specified component.void
SynthOptionPaneUI. update(Graphics g, JComponent c)
Notifies this UI delegate to repaint the specified component.void
SynthColorChooserUI. update(Graphics g, JComponent c)
Notifies this UI delegate to repaint the specified component.void
SynthToolTipUI. update(Graphics g, JComponent c)
Notifies this UI delegate to repaint the specified component.void
SynthTableUI. update(Graphics g, JComponent c)
Notifies this UI delegate to repaint the specified component.void
SynthMenuItemUI. update(Graphics g, JComponent c)
Notifies this UI delegate to repaint the specified component.void
SynthMenuBarUI. update(Graphics g, JComponent c)
Notifies this UI delegate to repaint the specified component.void
SynthToolBarUI. update(Graphics g, JComponent c)
Notifies this UI delegate to repaint the specified component.void
SynthLabelUI. update(Graphics g, JComponent c)
Notifies this UI delegate to repaint the specified component.void
SynthComboBoxUI. update(Graphics g, JComponent c)
Notifies this UI delegate to repaint the specified component.void
SynthInternalFrameUI. update(Graphics g, JComponent c)
Notifies this UI delegate to repaint the specified component.void
SynthTreeUI. update(Graphics g, JComponent c)
Notifies this UI delegate to repaint the specified component.void
SynthEditorPaneUI. update(Graphics g, JComponent c)
Notifies this UI delegate to repaint the specified component.void
SynthPopupMenuUI. update(Graphics g, JComponent c)
Notifies this UI delegate to repaint the specified component.void
SynthPanelUI. update(Graphics g, JComponent c)
Notifies this UI delegate to repaint the specified component.void
SynthDesktopPaneUI. update(Graphics g, JComponent c)
Notifies this UI delegate to repaint the specified component.int
SynthSliderUI. valueForXPosition(int xPos)
Returns the value at the x position.int
SynthSliderUI. valueForYPosition(int yPos)
Returns the value at the y position.protected int
SynthSliderUI. xPositionForValue(int value)
protected int
SynthSliderUI. yPositionForValue(int value, int trackY, int trackHeight)
Returns the y location for the specified value. -
Uses of Override in javax.swing.text
Methods in javax.swing.text with annotations of type Override Modifier and Type Method and Description protected SizeRequirements
ParagraphView. calculateMinorAxisRequirements(int axis, SizeRequirements r)
Calculate the needs for the paragraph along the minor axis.float
GlyphView. getMinimumSpan(int axis)
Determines the minimum span for this view along an axis. -
Uses of Override in javax.tools
Methods in javax.tools with annotations of type Override Modifier and Type Method and Description String
SimpleJavaFileObject. toString()
-
Uses of Override in javax.xml.bind
Methods in javax.xml.bind with annotations of type Override Modifier and Type Method and Description Throwable
JAXBException. getCause()
-
Uses of Override in javax.xml.parsers
Methods in javax.xml.parsers with annotations of type Override Modifier and Type Method and Description Throwable
FactoryConfigurationError. getCause()
use the exception chaining mechanism of JDK1.4 -
Uses of Override in javax.xml.stream
Methods in javax.xml.stream with annotations of type Override Modifier and Type Method and Description Throwable
FactoryConfigurationError. getCause()
use the exception chaining mechanism of JDK1.4 -
Uses of Override in javax.xml.transform
Methods in javax.xml.transform with annotations of type Override Modifier and Type Method and Description Throwable
TransformerFactoryConfigurationError. getCause()
use the exception chaining mechanism of JDK1.4Throwable
TransformerException. getCause()
Returns the cause of this throwable ornull
if the cause is nonexistent or unknown.Throwable
TransformerException. initCause(Throwable cause)
Initializes the cause of this throwable to the specified value.void
TransformerException. printStackTrace()
Print the the trace of methods from where the error originated.void
TransformerException. printStackTrace(PrintStream s)
Print the the trace of methods from where the error originated.void
TransformerException. printStackTrace(PrintWriter s)
Print the the trace of methods from where the error originated.
-
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2022, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.