Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (102)
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 (322)
Collections:
Other Resources:
JRE 8 rt.jar - java.* Package Source Code
JRE 8 rt.jar is the JAR file for JRE 8 RT (Runtime) libraries.
JRE (Java Runtime) 8 is the runtime environment included in JDK 8.
JRE 8 rt.jar libraries are divided into 6 packages:
com.* - Internal Oracle and Sun Microsystems libraries java.* - Standard Java API libraries. javax.* - Extended Java API libraries. jdk.* - JDK supporting libraries. org.* - Third party libraries. sun.* - Old libraries developed by Sun Microsystems.
JAR File Information:
Directory of C:\fyicenter\jdk-1.8.0_191\jre\lib
63,596,151 rt.jar
Here is the list of Java classes of the java.* package in JRE 1.8.0_191 rt.jar. Java source codes are also provided.
✍: FYIcenter
⏎ java/awt/font/TransformAttribute.java
/*
* Copyright (c) 1998, 2013, 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.Serializable;
import java.io.ObjectStreamException;
/**
* The <code>TransformAttribute</code> 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</code> for this
* <code>TransformAttribute</code>, or <code>null</code>
* if <code>AffineTransform</code> 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 a <code>AffineTransform</code> that is a copy of the wrapped
* transform of this <code>TransformAttribute</code>.
*/
public AffineTransform getTransform() {
AffineTransform at = transform;
return (at == null) ? new AffineTransform() : new AffineTransform(at);
}
/**
* Returns <code>true</code> if the wrapped transform is
* an identity transform.
* @return <code>true</code> if the wrapped transform is
* an identity transform; <code>false</code> otherwise.
* @since 1.4
*/
public boolean isIdentity() {
return transform == null;
}
/**
* A <code>TransformAttribute</code> representing the identity transform.
* @since 1.6
*/
public static final TransformAttribute IDENTITY = new TransformAttribute(null);
private void writeObject(java.io.ObjectOutputStream s)
throws java.lang.ClassNotFoundException,
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();
}
/*
* @since 1.6
*/
private Object readResolve() throws ObjectStreamException {
if (transform == null || transform.isIdentity()) {
return IDENTITY;
}
return this;
}
// Added for serial backwards compatibility (4348425)
static final long serialVersionUID = 3356247357827709530L;
/**
* @since 1.6
*/
public int hashCode() {
return transform == null ? 0 : transform.hashCode();
}
/**
* Returns <code>true</code> if rhs is a <code>TransformAttribute</code>
* whose transform is equal to this <code>TransformAttribute</code>'s
* transform.
* @param rhs the object to compare to
* @return <code>true</code> if the argument is a <code>TransformAttribute</code>
* whose transform is equal to this <code>TransformAttribute</code>'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: jre-rt-java-1.8.0_191-src.zip File size: 6664831 bytes Release date: 2018-10-28 Download
⇒ JRE 8 rt.jar - javax.* Package Source Code
2025-02-24, ≈454🔥, 5💬
Popular Posts:
Apache Log4j 1.2 Bridge allows applications coded to use Log4j 1.2 API to use Log4j 2 instead. Bytec...
commons-io-1.4.jar is the JAR file for Commons IO 1.4, which is a library of utilities to assist wit...
JDK 11 jdk.httpserver.jmod is the JMOD file for JDK 11 HTTP Server module. JDK 11 HTTP Server module...
How to download and install JDK (Java Development Kit) 6? If you want to write Java applications, yo...
JDK 17 jdk.jfr.jmod is the JMOD file for JDK 17 JFR module. JDK 17 JFR module compiled class files a...