📄 query.html
字号:
value</H3><PRE>public static <A HREF="../../javax/management/ValueExp.html" title="interface in javax.management">ValueExp</A> <B>value</B>(long val)</PRE><DL><DD>Returns a numeric value expression that can be used in any Query call that expects a ValueExp.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>val</CODE> - A long value.<DT><B>Returns:</B><DD>A ValueExp object containing the argument.</DL></DD></DL><HR><A NAME="value(float)"><!-- --></A><H3>value</H3><PRE>public static <A HREF="../../javax/management/ValueExp.html" title="interface in javax.management">ValueExp</A> <B>value</B>(float val)</PRE><DL><DD>Returns a numeric value expression that can be used in any Query call that expects a ValueExp.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>val</CODE> - A float value.<DT><B>Returns:</B><DD>A ValueExp object containing the argument.</DL></DD></DL><HR><A NAME="value(double)"><!-- --></A><H3>value</H3><PRE>public static <A HREF="../../javax/management/ValueExp.html" title="interface in javax.management">ValueExp</A> <B>value</B>(double val)</PRE><DL><DD>Returns a numeric value expression that can be used in any Query call that expects a ValueExp.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>val</CODE> - A double value.<DT><B>Returns:</B><DD>A ValueExp object containing the argument.</DL></DD></DL><HR><A NAME="value(boolean)"><!-- --></A><H3>value</H3><PRE>public static <A HREF="../../javax/management/ValueExp.html" title="interface in javax.management">ValueExp</A> <B>value</B>(boolean val)</PRE><DL><DD>Returns a boolean value expression that can be used in any Query call that expects a ValueExp.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>val</CODE> - A boolean value.<DT><B>Returns:</B><DD>A ValueExp object containing the argument.</DL></DD></DL><HR><A NAME="plus(javax.management.ValueExp, javax.management.ValueExp)"><!-- --></A><H3>plus</H3><PRE>public static <A HREF="../../javax/management/ValueExp.html" title="interface in javax.management">ValueExp</A> <B>plus</B>(<A HREF="../../javax/management/ValueExp.html" title="interface in javax.management">ValueExp</A> value1, <A HREF="../../javax/management/ValueExp.html" title="interface in javax.management">ValueExp</A> value2)</PRE><DL><DD>Returns a binary expression representing the sum of two numeric values, or the concatenation of two string values.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>value1</CODE> - The first '+' operand.<DD><CODE>value2</CODE> - The second '+' operand.<DT><B>Returns:</B><DD>A ValueExp representing the sum or concatenation of the two arguments.</DL></DD></DL><HR><A NAME="times(javax.management.ValueExp, javax.management.ValueExp)"><!-- --></A><H3>times</H3><PRE>public static <A HREF="../../javax/management/ValueExp.html" title="interface in javax.management">ValueExp</A> <B>times</B>(<A HREF="../../javax/management/ValueExp.html" title="interface in javax.management">ValueExp</A> value1, <A HREF="../../javax/management/ValueExp.html" title="interface in javax.management">ValueExp</A> value2)</PRE><DL><DD>Returns a binary expression representing the product of two numeric values.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>value1</CODE> - The first '*' operand.<DD><CODE>value2</CODE> - The second '*' operand.<DT><B>Returns:</B><DD>A ValueExp representing the product.</DL></DD></DL><HR><A NAME="minus(javax.management.ValueExp, javax.management.ValueExp)"><!-- --></A><H3>minus</H3><PRE>public static <A HREF="../../javax/management/ValueExp.html" title="interface in javax.management">ValueExp</A> <B>minus</B>(<A HREF="../../javax/management/ValueExp.html" title="interface in javax.management">ValueExp</A> value1, <A HREF="../../javax/management/ValueExp.html" title="interface in javax.management">ValueExp</A> value2)</PRE><DL><DD>Returns a binary expression representing the difference between two numeric values.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>value1</CODE> - The first '-' operand.<DD><CODE>value2</CODE> - The second '-' operand.<DT><B>Returns:</B><DD>A ValueExp representing the difference between two arguments.</DL></DD></DL><HR><A NAME="div(javax.management.ValueExp, javax.management.ValueExp)"><!-- --></A><H3>div</H3><PRE>public static <A HREF="../../javax/management/ValueExp.html" title="interface in javax.management">ValueExp</A> <B>div</B>(<A HREF="../../javax/management/ValueExp.html" title="interface in javax.management">ValueExp</A> value1, <A HREF="../../javax/management/ValueExp.html" title="interface in javax.management">ValueExp</A> value2)</PRE><DL><DD>Returns a binary expression representing the quotient of two numeric values.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>value1</CODE> - The first '/' operand.<DD><CODE>value2</CODE> - The second '/' operand.<DT><B>Returns:</B><DD>A ValueExp representing the quotient of two arguments.</DL></DD></DL><HR><A NAME="initialSubString(javax.management.AttributeValueExp, javax.management.StringValueExp)"><!-- --></A><H3>initialSubString</H3><PRE>public static <A HREF="../../javax/management/QueryExp.html" title="interface in javax.management">QueryExp</A> <B>initialSubString</B>(<A HREF="../../javax/management/AttributeValueExp.html" title="class in javax.management">AttributeValueExp</A> a, <A HREF="../../javax/management/StringValueExp.html" title="class in javax.management">StringValueExp</A> s)</PRE><DL><DD>Returns a query expression that represents a matching constraint on a string argument. The value must start with the given string value.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>a</CODE> - An attribute expression.<DD><CODE>s</CODE> - A string value expression representing the beginning of the string value.<DT><B>Returns:</B><DD>The constraint that a matches s.</DL></DD></DL><HR><A NAME="anySubString(javax.management.AttributeValueExp, javax.management.StringValueExp)"><!-- --></A><H3>anySubString</H3><PRE>public static <A HREF="../../javax/management/QueryExp.html" title="interface in javax.management">QueryExp</A> <B>anySubString</B>(<A HREF="../../javax/management/AttributeValueExp.html" title="class in javax.management">AttributeValueExp</A> a, <A HREF="../../javax/management/StringValueExp.html" title="class in javax.management">StringValueExp</A> s)</PRE><DL><DD>Returns a query expression that represents a matching constraint on a string argument. The value must contain the given string value.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>a</CODE> - An attribute expression.<DD><CODE>s</CODE> - A string value expression representing the substring.<DT><B>Returns:</B><DD>The constraint that a matches s.</DL></DD></DL><HR><A NAME="finalSubString(javax.management.AttributeValueExp, javax.management.StringValueExp)"><!-- --></A><H3>finalSubString</H3><PRE>public static <A HREF="../../javax/management/QueryExp.html" title="interface in javax.management">QueryExp</A> <B>finalSubString</B>(<A HREF="../../javax/management/AttributeValueExp.html" title="class in javax.management">AttributeValueExp</A> a, <A HREF="../../javax/management/StringValueExp.html" title="class in javax.management">StringValueExp</A> s)</PRE><DL><DD>Returns a query expression that represents a matching constraint on a string argument. The value must contain the given string value.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>a</CODE> - An attribute expression.<DD><CODE>s</CODE> - A string value expression representing the end of the string value.<DT><B>Returns:</B><DD>The constraint that a matches s.</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM><b>Java<sup><font size=-2>TM</font></sup> 2 Platform<br>Ent. Ed. v1.4</b></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../javax/management/ObjectName.html" title="class in javax.management"><B>PREV CLASS</B></A> <A HREF="../../javax/management/QueryEval.html" title="class in javax.management"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../index.html" target="_top"><B>FRAMES</B></A> <A HREF="Query.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT> <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR><font size="-1"><a href="http://java.sun.com/webapps/bugreport">Submit a bug or feature</a> <p>Copyright 2003 Sun Microsystems, Inc. All rights reserved.</font></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -