📄 objectrange.html
字号:
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../net/conic/prototype/ObjectRange.html#_each(net.conic.prototype.IteratorAdapter)">_each</A></B>(<A HREF="../../../net/conic/prototype/IteratorAdapter.html" title="net.conic.prototype 中的类">IteratorAdapter</A> each)</CODE>
<BR>
执行each()方法时内部遍历操作都将执行此方法 ,此方法在prototype的源码中并未在Enumerable对象上做定义 ,在这里用java语言特性定义成protected abstract就是为了重点说明需要继承使用Enumerable特性的JS子类必须实现此方法!</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../net/conic/prototype/ObjectRange.html#include(int)">include</A></B>(int value)</CODE>
<BR>
判断指定的参数是否在当前范围内</TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_net.conic.prototype.Enumerable"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>从类 net.conic.prototype.<A HREF="../../../net/conic/prototype/Enumerable.html" title="net.conic.prototype 中的类">Enumerable</A> 继承的方法</B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../net/conic/prototype/Enumerable.html#all(net.conic.prototype.Iterator)">all</A>, <A HREF="../../../net/conic/prototype/Enumerable.html#any(net.conic.prototype.Iterator)">any</A>, <A HREF="../../../net/conic/prototype/Enumerable.html#collect(net.conic.prototype.Iterator)">collect</A>, <A HREF="../../../net/conic/prototype/Enumerable.html#detect(net.conic.prototype.Iterator)">detect</A>, <A HREF="../../../net/conic/prototype/Enumerable.html#each(net.conic.prototype.Iterator)">each</A>, <A HREF="../../../net/conic/prototype/Enumerable.html#entries()">entries</A>, <A HREF="../../../net/conic/prototype/Enumerable.html#find(net.conic.prototype.Iterator)">find</A>, <A HREF="../../../net/conic/prototype/Enumerable.html#findAll(net.conic.prototype.Iterator)">findAll</A>, <A HREF="../../../net/conic/prototype/Enumerable.html#grep(net.conic.prototype.Pattern, net.conic.prototype.Iterator)">grep</A>, <A HREF="../../../net/conic/prototype/Enumerable.html#include(net.conic.prototype.Object)">include</A>, <A HREF="../../../net/conic/prototype/Enumerable.html#inject(net.conic.prototype.Object, net.conic.prototype.Iterator)">inject</A>, <A HREF="../../../net/conic/prototype/Enumerable.html#inspect()">inspect</A>, <A HREF="../../../net/conic/prototype/Enumerable.html#invoke(net.conic.prototype.String, net.conic.prototype.Object...)">invoke</A>, <A HREF="../../../net/conic/prototype/Enumerable.html#map(net.conic.prototype.Iterator)">map</A>, <A HREF="../../../net/conic/prototype/Enumerable.html#max(net.conic.prototype.Iterator)">max</A>, <A HREF="../../../net/conic/prototype/Enumerable.html#member(net.conic.prototype.Object)">member</A>, <A HREF="../../../net/conic/prototype/Enumerable.html#min(net.conic.prototype.Iterator)">min</A>, <A HREF="../../../net/conic/prototype/Enumerable.html#partition(net.conic.prototype.Iterator)">partition</A>, <A HREF="../../../net/conic/prototype/Enumerable.html#pluck(net.conic.prototype.String)">pluck</A>, <A HREF="../../../net/conic/prototype/Enumerable.html#reject(net.conic.prototype.Iterator)">reject</A>, <A HREF="../../../net/conic/prototype/Enumerable.html#select(net.conic.prototype.Iterator)">select</A>, <A HREF="../../../net/conic/prototype/Enumerable.html#sortBy(net.conic.prototype.Iterator)">sortBy</A>, <A HREF="../../../net/conic/prototype/Enumerable.html#toArray()">toArray</A>, <A HREF="../../../net/conic/prototype/Enumerable.html#zip(net.conic.prototype.Object...)">zip</A></CODE></TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_net.conic.prototype.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>从类 net.conic.prototype.<A HREF="../../../net/conic/prototype/Object.html" title="net.conic.prototype 中的类">Object</A> 继承的方法</B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../net/conic/prototype/Object.html#extend(net.conic.prototype.JSClass)">extend</A>, <A HREF="../../../net/conic/prototype/Object.html#extend(net.conic.prototype.JSClass, net.conic.prototype.JSClass)">extend</A>, <A HREF="../../../net/conic/prototype/Object.html#inspect(net.conic.prototype.Object)">inspect</A>, <A HREF="../../../net/conic/prototype/Object.html#toString(int)">toString</A>, <A HREF="../../../net/conic/prototype/Object.html#valueOf()">valueOf</A></CODE></TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>从类 java.lang.Object 继承的方法</B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
<P>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>构造函数详细信息</B></FONT></TH>
</TR>
</TABLE>
<A NAME="ObjectRange(int, int, boolean)"><!-- --></A><H3>
ObjectRange</H3>
<PRE>
public <B>ObjectRange</B>(int start,
int end,
boolean exclusive)</PRE>
<DL>
<DL>
<DT><B>参数:</B><DD><CODE>start</CODE> - 必选参数;此range对象的起始值<DD><CODE>end</CODE> - 必选参数;此range对象的终止值<DD><CODE>exclusive</CODE> - 可选参数; 此范围是否排除end元素。 <p> false-包含end元素;false-不包含end元素;</DL>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>方法详细信息</B></FONT></TH>
</TR>
</TABLE>
<A NAME="include(int)"><!-- --></A><H3>
include</H3>
<PRE>
public boolean <B>include</B>(int value)</PRE>
<DL>
<DD>判断指定的参数是否在当前范围内
<P>
<DD><DL>
<DT><B>参数:</B><DD><CODE>value</CODE> - 判断此参数是否在当前范围内
<DT><B>返回:</B><DD>true-被包含在此范围内;false-不被包含在此范围内; <p><b>Example:</b></p><pre> 请参照当前类型的说明示例。</pre></DL>
</DD>
</DL>
<HR>
<A NAME="_each(net.conic.prototype.IteratorAdapter)"><!-- --></A><H3>
_each</H3>
<PRE>
protected void <B>_each</B>(<A HREF="../../../net/conic/prototype/IteratorAdapter.html" title="net.conic.prototype 中的类">IteratorAdapter</A> each)</PRE>
<DL>
<DD><B>从类 <CODE><A HREF="../../../net/conic/prototype/Enumerable.html#_each(net.conic.prototype.IteratorAdapter)">Enumerable</A></CODE> 复制的描述</B></DD>
<DD>执行each()方法时内部遍历操作都将执行此方法 ,此方法在prototype的源码中并未在Enumerable对象上做定义 ,在这里用java语言特性定义成protected abstract就是为了重点说明需要继承使用Enumerable特性的JS子类必须实现此方法!
<P>
<DD><DL>
<DT><B>指定者:</B><DD>类 <CODE><A HREF="../../../net/conic/prototype/Enumerable.html" title="net.conic.prototype 中的类">Enumerable</A></CODE> 中的 <CODE><A HREF="../../../net/conic/prototype/Enumerable.html#_each(net.conic.prototype.IteratorAdapter)">_each</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>参数:</B><DD><CODE>each</CODE> - function</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="跳过导航链接"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 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>概述</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>软件包</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>类</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ObjectRange.html"><FONT CLASS="NavBarFont1"><B>使用</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>树</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>已过时</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>索引</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>帮助</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../net/conic/prototype/Object.html" title="net.conic.prototype 中的类"><B>上一个类</B></A>
<A HREF="../../../net/conic/prototype/Pattern.html" title="net.conic.prototype 中的类"><B>下一个类</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html?net/conic/prototype/ObjectRange.html" target="_top"><B>框架</B></A>
<A HREF="ObjectRange.html" target="_top"><B>无框架</B></A>
<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../allclasses-noframe.html"><B>所有类</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../allclasses-noframe.html"><B>所有类</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
摘要: 嵌套 | <A HREF="#fields_inherited_from_class_net.conic.prototype.Object">字段</A> | <A HREF="#constructor_summary">构造函数</A> | <A HREF="#method_summary">方法</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
详细信息: 字段 | <A HREF="#constructor_detail">构造函数</A> | <A HREF="#method_detail">方法</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -