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.management.jmod - Management Module
JDK 11 java.management.jmod is the JMOD file for JDK 11 Management module.
JDK 11 Management module compiled class files are stored in \fyicenter\jdk-11.0.1\jmods\java.management.jmod.
JDK 11 Management module compiled class files are also linked and stored in the \fyicenter\jdk-11.0.1\lib\modules JImage file.
JDK 11 Management module source code files are stored in \fyicenter\jdk-11.0.1\lib\src.zip\java.management.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ javax/management/BetweenQueryExp.java
/* * Copyright (c) 1999, 2008, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package javax.management; /** * This class is used by the query-building mechanism to represent binary * relations. * @serial include * * @since 1.5 */ class BetweenQueryExp extends QueryEval implements QueryExp { /* Serial version */ private static final long serialVersionUID = -2933597532866307444L; /** * @serial The checked value */ private ValueExp exp1; /** * @serial The lower bound value */ private ValueExp exp2; /** * @serial The upper bound value */ private ValueExp exp3; /** * Basic Constructor. */ public BetweenQueryExp() { } /** * Creates a new BetweenQueryExp with v1 checked value, v2 lower bound * and v3 upper bound values. */ public BetweenQueryExp(ValueExp v1, ValueExp v2, ValueExp v3) { exp1 = v1; exp2 = v2; exp3 = v3; } /** * Returns the checked value of the query. */ public ValueExp getCheckedValue() { return exp1; } /** * Returns the lower bound value of the query. */ public ValueExp getLowerBound() { return exp2; } /** * Returns the upper bound value of the query. */ public ValueExp getUpperBound() { return exp3; } /** * Applies the BetweenQueryExp on an MBean. * * @param name The name of the MBean on which the BetweenQueryExp will be applied. * * @return True if the query was successfully applied to the MBean, false otherwise. * * @exception BadStringOperationException * @exception BadBinaryOpValueExpException * @exception BadAttributeValueExpException * @exception InvalidApplicationException */ public boolean apply(ObjectName name) throws BadStringOperationException, BadBinaryOpValueExpException, BadAttributeValueExpException, InvalidApplicationException { ValueExp val1 = exp1.apply(name); ValueExp val2 = exp2.apply(name); ValueExp val3 = exp3.apply(name); boolean numeric = val1 instanceof NumericValueExp; if (numeric) { if (((NumericValueExp)val1).isLong()) { long lval1 = ((NumericValueExp)val1).longValue(); long lval2 = ((NumericValueExp)val2).longValue(); long lval3 = ((NumericValueExp)val3).longValue(); return lval2 <= lval1 && lval1 <= lval3; } else { double dval1 = ((NumericValueExp)val1).doubleValue(); double dval2 = ((NumericValueExp)val2).doubleValue(); double dval3 = ((NumericValueExp)val3).doubleValue(); return dval2 <= dval1 && dval1 <= dval3; } } else { String sval1 = ((StringValueExp)val1).getValue(); String sval2 = ((StringValueExp)val2).getValue(); String sval3 = ((StringValueExp)val3).getValue(); return sval2.compareTo(sval1) <= 0 && sval1.compareTo(sval3) <= 0; } } /** * Returns the string representing the object. */ @Override public String toString() { return "(" + exp1 + ") between (" + exp2 + ") and (" + exp3 + ")"; } }
⏎ javax/management/BetweenQueryExp.java
Or download all of them as a single archive file:
File name: java.management-11.0.1-src.zip File size: 828174 bytes Release date: 2018-11-04 Download
⇒ JDK 11 java.management.rmi.jmod - Management RMI Module
2020-04-30, 98939👍, 0💬
Popular Posts:
JDK 11 java.sql.rowset.jmod is the JMOD file for JDK 11 SQL Rowset module. JDK 11 SQL Rowset module ...
io.jar is a component in iText Java library to provide input/output functionalities. iText Java libr...
What Is poi-ooxml-5.2.3.jar? poi-ooxml-5.2.3.jar is one of the JAR files for Apache POI 5.2.3, which...
JDK 17 jdk.jdi.jmod is the JMOD file for JDK 17 JDI (Java Debug Interface) tool. JDK 17 JDI tool com...
itextpdf.jar is a component in iText 5 Java library to provide core functionalities. iText Java libr...