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.desktop.jmod - Desktop Module
JDK 11 java.desktop.jmod is the JMOD file for JDK 11 Desktop module.
JDK 11 Desktop module compiled class files are stored in \fyicenter\jdk-11.0.1\jmods\java.desktop.jmod.
JDK 11 Desktop module compiled class files are also linked and stored in the \fyicenter\jdk-11.0.1\lib\modules JImage file.
JDK 11 Desktop module source code files are stored in \fyicenter\jdk-11.0.1\lib\src.zip\java.desktop.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ javax/print/attribute/standard/JobStateReasons.java
/* * Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package javax.print.attribute.standard; import java.util.Collection; import java.util.HashSet; import javax.print.attribute.Attribute; import javax.print.attribute.PrintJobAttribute; /** * Class {@code JobStateReasons} is a printing attribute class, a set of * enumeration values, that provides additional information about the job's * current state, i.e., information that augments the value of the job's * {@link JobState JobState} attribute. * <p> * Instances of {@link JobStateReason JobStateReason} do not appear in a Print * Job's attribute set directly. Rather, a {@code JobStateReasons} attribute * appears in the Print Job's attribute set. The {@code JobStateReasons} * attribute contains zero, one, or more than one * {@link JobStateReason JobStateReason} objects which pertain to the Print * Job's status. The printer adds a {@link JobStateReason JobStateReason} object * to the Print Job's JobStateReasons attribute when the corresponding condition * becomes true of the Print Job, and the printer removes the * {@link JobStateReason JobStateReason} object again when the corresponding * condition becomes false, regardless of whether the Print Job's overall * {@link JobState JobState} also changed. * <p> * Class {@code JobStateReasons} inherits its implementation from class * {@link HashSet java.util.HashSet}. Unlike most printing attributes * which are immutable once constructed, class {@code JobStateReasons} is * designed to be mutable; you can add {@link JobStateReason JobStateReason} * objects to an existing {@code JobStateReasons} object and remove them again. * However, like class {@link HashSet java.util.HashSet}, class * {@code JobStateReasons} is not multiple thread safe. If a * {@code JobStateReasons} object will be used by multiple threads, be sure to * synchronize its operations (e.g., using a synchronized set view obtained * from class {@link java.util.Collections java.util.Collections}). * <p> * <b>IPP Compatibility:</b> The string value returned by each individual * {@link JobStateReason JobStateReason} object's {@code toString()} method * gives the IPP keyword value. The category name returned by {@code getName()} * gives the IPP attribute name. * * @author Alan Kaminsky */ public final class JobStateReasons extends HashSet<JobStateReason> implements PrintJobAttribute { /** * Use serialVersionUID from JDK 1.4 for interoperability. */ private static final long serialVersionUID = 8849088261264331812L; /** * Construct a new, empty job state reasons attribute; the underlying hash * set has the default initial capacity and load factor. */ public JobStateReasons() { super(); } /** * Construct a new, empty job state reasons attribute; the underlying hash * set has the given initial capacity and the default load factor. * * @param initialCapacity initial capacity * @throws IllegalArgumentException if the initial capacity is negative */ public JobStateReasons(int initialCapacity) { super (initialCapacity); } /** * Construct a new, empty job state reasons attribute; the underlying hash * set has the given initial capacity and load factor. * * @param initialCapacity initial capacity * @param loadFactor load factor * @throws IllegalArgumentException if the initial capacity is negative */ public JobStateReasons(int initialCapacity, float loadFactor) { super (initialCapacity, loadFactor); } /** * Construct a new job state reasons attribute that contains the same * {@link JobStateReason JobStateReason} objects as the given collection. * The underlying hash set's initial capacity and load factor are as * specified in the superclass constructor * {@link HashSet#HashSet(Collection) HashSet(Collection)}. * * @param collection collection to copy * @throws NullPointerException if {@code collection} is {@code null} or if * any element in {@code collection} is {@code null} * @throws ClassCastException if any element in {@code collection} is not an * instance of class {@link JobStateReason JobStateReason} */ public JobStateReasons(Collection<JobStateReason> collection) { super (collection); } /** * Adds the specified element to this job state reasons attribute if it is * not already present. The element to be added must be an instance of class * {@link JobStateReason JobStateReason}. If this job state reasons * attribute already contains the specified element, the call leaves this * job state reasons attribute unchanged and returns {@code false}. * * @param o element to be added to this job state reasons attribute * @return {@code true} if this job state reasons attribute did not already * contain the specified element * @throws NullPointerException if the specified element is {@code null} * @throws ClassCastException if the specified element is not an instance of * class {@link JobStateReason JobStateReason} * @since 1.5 */ public boolean add(JobStateReason o) { if (o == null) { throw new NullPointerException(); } return super.add(o); } /** * Get the printing attribute class which is to be used as the "category" * for this printing attribute value. * <p> * For class {@code JobStateReasons}, the category is class * JobStateReasons itself. * * @return printing attribute class (category), an instance of class * {@link Class java.lang.Class} */ public final Class<? extends Attribute> getCategory() { return JobStateReasons.class; } /** * Get the name of the category of which this attribute value is an * instance. * <p> * For class JobStateReasons, the category name is * {@code "job-state-reasons"}. * * @return attribute category name */ public final String getName() { return "job-state-reasons"; } }
⏎ javax/print/attribute/standard/JobStateReasons.java
Or download all of them as a single archive file:
File name: java.desktop-11.0.1-src.zip File size: 7974380 bytes Release date: 2018-11-04 Download
⇒ JDK 11 java.instrument.jmod - Instrument Module
2022-08-06, 194902👍, 5💬
Popular Posts:
JRE 8 rt.jar is the JAR file for JRE 8 RT (Runtime) libraries. JRE (Java Runtime) 8 is the runtime e...
Old version of xml-apis.jar. JAR File Size and Download Location: File name: xmlParserAPIs.jar File ...
How to display XML element type information with the jaxp\TypeInfoWriter.java provided in the Apache...
iText is an ideal library for developers looking to enhance web- and other applications with dynamic...
ASM is an all purpose Java bytecode manipulation and analysis framework. It can be used to modify ex...