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.base.jmod - Base Module
JDK 17 java.base.jmod is the JMOD file for JDK 17 Base module.
JDK 17 Base module compiled class files are stored in \fyicenter\jdk-17.0.5\jmods\java.base.jmod.
JDK 17 Base module compiled class files are also linked and stored in the \fyicenter\jdk-17.0.5\lib\modules JImage file.
JDK 17 Base module source code files are stored in \fyicenter\jdk-17.0.5\lib\src.zip\java.base.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ java/lang/Number.java
/* * Copyright (c) 1994, 2021, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package java.lang; /** * The abstract class {@code Number} is the superclass of platform * classes representing numeric values that are convertible to the * primitive types {@code byte}, {@code double}, {@code float}, {@code * int}, {@code long}, and {@code short}. * * The specific semantics of the conversion from the numeric value of * a particular {@code Number} implementation to a given primitive * type is defined by the {@code Number} implementation in question. * * For platform classes, the conversion is often analogous to a * narrowing primitive conversion or a widening primitive conversion * as defined in <cite>The Java Language Specification</cite> * for converting between primitive types. Therefore, conversions may * lose information about the overall magnitude of a numeric value, may * lose precision, and may even return a result of a different sign * than the input. * * See the documentation of a given {@code Number} implementation for * conversion details. * * @author Lee Boynton * @author Arthur van Hoff * @jls 5.1.2 Widening Primitive Conversion * @jls 5.1.3 Narrowing Primitive Conversion * @since 1.0 */ public abstract class Number implements java.io.Serializable { /** * Constructor for subclasses to call. */ public Number() {super();} /** * Returns the value of the specified number as an {@code int}. * * @return the numeric value represented by this object after conversion * to type {@code int}. */ public abstract int intValue(); /** * Returns the value of the specified number as a {@code long}. * * @return the numeric value represented by this object after conversion * to type {@code long}. */ public abstract long longValue(); /** * Returns the value of the specified number as a {@code float}. * * @return the numeric value represented by this object after conversion * to type {@code float}. */ public abstract float floatValue(); /** * Returns the value of the specified number as a {@code double}. * * @return the numeric value represented by this object after conversion * to type {@code double}. */ public abstract double doubleValue(); /** * Returns the value of the specified number as a {@code byte}. * * @implSpec * The default implementation returns the result of {@link #intValue} cast * to a {@code byte}. * * @return the numeric value represented by this object after conversion * to type {@code byte}. * @since 1.1 */ public byte byteValue() { return (byte)intValue(); } /** * Returns the value of the specified number as a {@code short}. * * @implSpec * The default implementation returns the result of {@link #intValue} cast * to a {@code short}. * * @return the numeric value represented by this object after conversion * to type {@code short}. * @since 1.1 */ public short shortValue() { return (short)intValue(); } /** use serialVersionUID from JDK 1.0.2 for interoperability */ @java.io.Serial private static final long serialVersionUID = -8742448824652078965L; }
⏎ java/lang/Number.java
Or download all of them as a single archive file:
File name: java.base-17.0.5-src.zip File size: 8883851 bytes Release date: 2022-09-13 Download
2023-09-26, 94489👍, 1💬
Popular Posts:
JDK 11 java.xml.jmod is the JMOD file for JDK 11 XML (eXtensible Markup Language) module. JDK 11 XML...
How to download and install ojdbc7.jar for Oracle 12c R1? ojdbc8.jar for Oracle 12c R1 is a Java 7 a...
Jackson is "the Java JSON library" or "the best JSON parser for Java". Or simply as "JSON for Java"....
JDK 17 jdk.hotspot.agent.jmod is the JMOD file for JDK 17 Hotspot Agent module. JDK 17 Hotspot Agent...
How to download and install iText7-Core-7.1.4.zip? iText7-Core-7.1.4.zip is the binary package of iT...