Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (309)
Collections:
Other Resources:
JDK 17 java.desktop.jmod - Desktop Module
JDK 17 java.desktop.jmod is the JMOD file for JDK 17 Desktop module.
JDK 17 Desktop module compiled class files are stored in \fyicenter\jdk-17.0.5\jmods\java.desktop.jmod.
JDK 17 Desktop module compiled class files are also linked and stored in the \fyicenter\jdk-17.0.5\lib\modules JImage file.
JDK 17 Desktop module source code files are stored in \fyicenter\jdk-17.0.5\lib\src.zip\java.desktop.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ java/awt/font/TransformAttribute.java
/* * Copyright (c) 1998, 2021, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ /* * (C) Copyright Taligent, Inc. 1996 - 1997, All Rights Reserved * (C) Copyright IBM Corp. 1996 - 1998, All Rights Reserved * * The original version of this source code and documentation is * copyrighted and owned by Taligent, Inc., a wholly-owned subsidiary * of IBM. These materials are provided under terms of a License * Agreement between Taligent and Sun. This technology is protected * by multiple US and International patents. * * This notice and attribution to Taligent may not be removed. * Taligent is a registered trademark of Taligent, Inc. * */ package java.awt.font; import java.awt.geom.AffineTransform; import java.io.IOException; import java.io.ObjectStreamException; import java.io.Serial; import java.io.Serializable; /** * The {@code TransformAttribute} class provides an immutable * wrapper for a transform so that it is safe to use as an attribute. */ public final class TransformAttribute implements Serializable { /** * The {@code AffineTransform} for this * {@code TransformAttribute}, or {@code null} * if {@code AffineTransform} is the identity transform. */ private AffineTransform transform; /** * Wraps the specified transform. The transform is cloned and a * reference to the clone is kept. The original transform is unchanged. * If null is passed as the argument, this constructor behaves as though * it were the identity transform. (Note that it is preferable to use * {@link #IDENTITY} in this case.) * @param transform the specified {@link AffineTransform} to be wrapped, * or null. */ public TransformAttribute(AffineTransform transform) { if (transform != null && !transform.isIdentity()) { this.transform = new AffineTransform(transform); } } /** * Returns a copy of the wrapped transform. * @return an {@code AffineTransform} that is a copy of the wrapped * transform of this {@code TransformAttribute}. */ public AffineTransform getTransform() { AffineTransform at = transform; return (at == null) ? new AffineTransform() : new AffineTransform(at); } /** * Returns {@code true} if the wrapped transform is * an identity transform. * @return {@code true} if the wrapped transform is * an identity transform; {@code false} otherwise. * @since 1.4 */ public boolean isIdentity() { return transform == null; } /** * A {@code TransformAttribute} representing the identity transform. * @since 1.6 */ public static final TransformAttribute IDENTITY = new TransformAttribute(null); /** * Writes default serializable fields to stream. * * @param s the {@code ObjectOutputStream} to write * @throws IOException if an I/O error occurs */ @Serial private void writeObject(java.io.ObjectOutputStream s) throws java.io.IOException { // sigh -- 1.3 expects transform is never null, so we need to always write one out if (this.transform == null) { this.transform = new AffineTransform(); } s.defaultWriteObject(); } /** * Resolves a {@code TransformAttribute} object after serialization. * * @return a newly created object from deserialized data * @throws ObjectStreamException if a new object replacing this object could * not be created * @since 1.6 */ @Serial private Object readResolve() throws ObjectStreamException { if (transform == null || transform.isIdentity()) { return IDENTITY; } return this; } /** * Use serialVersionUID from JDK 1.4 for interoperability. */ @Serial private static final long serialVersionUID = 3356247357827709530L; /** * @since 1.6 */ public int hashCode() { return transform == null ? 0 : transform.hashCode(); } /** * Returns {@code true} if rhs is a {@code TransformAttribute} * whose transform is equal to this {@code TransformAttribute}'s * transform. * @param rhs the object to compare to * @return {@code true} if the argument is a {@code TransformAttribute} * whose transform is equal to this {@code TransformAttribute}'s * transform. * @since 1.6 */ public boolean equals(Object rhs) { if (rhs != null) { try { TransformAttribute that = (TransformAttribute)rhs; if (transform == null) { return that.transform == null; } return transform.equals(that.transform); } catch (ClassCastException e) { } } return false; } }
⏎ java/awt/font/TransformAttribute.java
Or download all of them as a single archive file:
File name: java.desktop-17.0.5-src.zip File size: 9152233 bytes Release date: 2022-09-13 Download
⇒ JDK 17 java.instrument.jmod - Instrument Module
2023-09-16, 33652👍, 0💬
Popular Posts:
JDK 6 tools.jar is the JAR file for JDK 6 tools. It contains Java classes to support different JDK t...
What Is commons-lang3-3.1.jar? commons-lang3-3.1.jar is the JAR file for Apache Commons Lang 3.1, wh...
JDK 11 java.security.jgss.jmod is the JMOD file for JDK 11 Security JGSS (Java Generic Security Serv...
What Is mail.jar of JavaMail 1.3? I got the JAR file from javamail-1_3.zip. mail.jar in javamail-1_3...
What Is wstx-asl-3.2.8.jar? wstx-asl-3.2.8.jar is JAR file for the ASL component of Woodstox 3.2.8. ...