Uses of Interface javax.management.ValueExp (Java Platform SE 8 )
Date: 2026-07-22

## Uses of Interface
javax.management.ValueExp

- Packages that use ValueExp
  Package | Description
  --- | ---
  javax.management | Provides the core classes for the Java Management Extensions.

- - ### Uses of ValueExp in javax.management

    Classes in javax.management that implement ValueExp
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AttributeValueExp` Represents attributes used as arguments to relational constraints.
    `class` | `StringValueExp` Represents strings that are arguments to relational constraints.

    Methods in javax.management that return ValueExp
    Modifier and Type | Method and Description
    --- | ---
    `ValueExp` | ValueExp.`apply(ObjectName name)` Applies the ValueExp on a MBean.
    `ValueExp` | StringValueExp.`apply(ObjectName name)` Applies the ValueExp on a MBean.
    `ValueExp` | AttributeValueExp.`apply(ObjectName name)` Applies the `AttributeValueExp` on an MBean.
    `static ValueExp` | Query.`div(ValueExp value1, ValueExp value2)` Returns a binary expression representing the quotient of two numeric values.
    `ValueExp` | BadBinaryOpValueExpException.`getExp()` Returns the `ValueExp` that originated the exception.
    `static ValueExp` | Query.`minus(ValueExp value1, ValueExp value2)` Returns a binary expression representing the difference between two numeric values.
    `static ValueExp` | Query.`plus(ValueExp value1, ValueExp value2)` Returns a binary expression representing the sum of two numeric values, or the concatenation of two string values.
    `static ValueExp` | Query.`times(ValueExp value1, ValueExp value2)` Returns a binary expression representing the product of two numeric values.
    `static ValueExp` | Query.`value(boolean val)` Returns a boolean value expression that can be used in any Query call that expects a ValueExp.
    `static ValueExp` | Query.`value(double val)` Returns a numeric value expression that can be used in any Query call that expects a ValueExp.
    `static ValueExp` | Query.`value(float val)` Returns a numeric value expression that can be used in any Query call that expects a ValueExp.
    `static ValueExp` | Query.`value(int val)` Returns a numeric value expression that can be used in any Query call that expects a ValueExp.
    `static ValueExp` | Query.`value(long val)` Returns a numeric value expression that can be used in any Query call that expects a ValueExp.
    `static ValueExp` | Query.`value(Number val)` Returns a numeric value expression that can be used in any Query call that expects a ValueExp.

    Methods in javax.management with parameters of type ValueExp
    Modifier and Type | Method and Description
    --- | ---
    `static QueryExp` | Query.`between(ValueExp v1, ValueExp v2, ValueExp v3)` Returns a query expression that represents the constraint that one value is between two other values.
    `static ValueExp` | Query.`div(ValueExp value1, ValueExp value2)` Returns a binary expression representing the quotient of two numeric values.
    `static QueryExp` | Query.`eq(ValueExp v1, ValueExp v2)` Returns a query expression that represents an equality constraint on two values.
    `static QueryExp` | Query.`geq(ValueExp v1, ValueExp v2)` Returns a query expression that represents a "greater than or equal to" constraint on two values.
    `static QueryExp` | Query.`gt(ValueExp v1, ValueExp v2)` Returns a query expression that represents a "greater than" constraint on two values.
    `static QueryExp` | Query.`in(ValueExp val, ValueExp[] valueList)` Returns an expression constraining a value to be one of an explicit list.
    `static QueryExp` | Query.`in(ValueExp val, ValueExp[] valueList)` Returns an expression constraining a value to be one of an explicit list.
    `static QueryExp` | Query.`leq(ValueExp v1, ValueExp v2)` Returns a query expression that represents a "less than or equal to" constraint on two values.
    `static QueryExp` | Query.`lt(ValueExp v1, ValueExp v2)` Returns a query expression that represents a "less than" constraint on two values.
    `static ValueExp` | Query.`minus(ValueExp value1, ValueExp value2)` Returns a binary expression representing the difference between two numeric values.
    `static ValueExp` | Query.`plus(ValueExp value1, ValueExp value2)` Returns a binary expression representing the sum of two numeric values, or the concatenation of two string values.
    `static ValueExp` | Query.`times(ValueExp value1, ValueExp value2)` Returns a binary expression representing the product of two numeric values.

    Constructors in javax.management with parameters of type ValueExp
    Constructor and Description
    `BadBinaryOpValueExpException(ValueExp exp)` Constructs a `BadBinaryOpValueExpException` with the specified `ValueExp`.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.