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 11 java.base.jmod - Base Module
JDK 11 java.base.jmod is the JMOD file for JDK 11 Base module.
JDK 11 Base module compiled class files are stored in \fyicenter\jdk-11.0.1\jmods\java.base.jmod.
JDK 11 Base module compiled class files are also linked and stored in the \fyicenter\jdk-11.0.1\lib\modules JImage file.
JDK 11 Base module source code files are stored in \fyicenter\jdk-11.0.1\lib\src.zip\java.base.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ jdk/internal/util/xml/impl/Pair.java
/* * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package jdk.internal.util.xml.impl; /** * A name with value pair. * * This class keeps name with value pair with additional information and * supports pair chaining. */ public class Pair { /** The pair name. */ public String name; /** The pair value. */ public String value; /** The pair numeric value. */ public int num; /** The characters of name. */ public char[] chars; /** The pair identifier. */ public int id; /** The list of associated pairs. */ public Pair list; /** The next pair in a chain. */ public Pair next; /** * Creates a qualified name string from qualified name. * * @return The qualified name string. */ public String qname() { return new String(chars, 1, chars.length - 1); } /** * Creates a local name string from qualified name. * * @return The local name string. */ public String local() { if (chars[0] != 0) { return new String(chars, chars[0] + 1, chars.length - chars[0] - 1); } return new String(chars, 1, chars.length - 1); } /** * Creates a prefix string from qualified name. * * @return The prefix string. */ public String pref() { if (chars[0] != 0) { return new String(chars, 1, chars[0] - 1); } return ""; } /** * Compares two qualified name prefixes. * * @param qname A qualified name. * @return true if prefixes are equal. */ public boolean eqpref(char[] qname) { if (chars[0] == qname[0]) { char len = chars[0]; for (char i = 1; i < len; i += 1) { if (chars[i] != qname[i]) { return false; } } return true; } return false; } /** * Compares two qualified names. * * @param qname A qualified name. * @return true if qualified names are equal. */ public boolean eqname(char[] qname) { char len = (char) chars.length; if (len == qname.length) { for (char i = 0; i < len; i += 1) { if (chars[i] != qname[i]) { return false; } } return true; } return false; } }
⏎ jdk/internal/util/xml/impl/Pair.java
Or download all of them as a single archive file:
File name: java.base-11.0.1-src.zip File size: 8740354 bytes Release date: 2018-11-04 Download
2020-05-29, 207097👍, 0💬
Popular Posts:
The Apache FontBox library is an open source Java tool to obtain low level information from font fil...
What Is jsse.jar (JDK 6) Java Secure Socket Extension? jsse.jar, Java Secure Socket Extension, is Ja...
Java Advanced Imaging (JAI) is a Java platform extension API that provides a set of object-oriented ...
What Is log4j-1.2.15.jar? I got the JAR file from apache-log4j-1.2.15.zip. log4j-1.2.15.jar is the v...
Provides support for the runtime platform, core utility methods and the extension registry. JAR File...