📄 function.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.5.0_06) on Sun Feb 19 02:37:48 CST 2006 -->
<TITLE>
类 net.conic.prototype.Function 的使用
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
parent.document.title="类 net.conic.prototype.Function 的使用";
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>
</HEAD>
<BODY BGCOLOR="white" onload="windowTitle();">
<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="跳过导航链接"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_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="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../net/conic/prototype/Function.html" title="net.conic.prototype 中的类"><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="../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">
上一个
下一个</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?net/conic/prototype/\class-useFunction.html" target="_top"><B>框架</B></A>
<A HREF="Function.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>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->
<HR>
<CENTER>
<H2>
<B>类 net.conic.prototype.Function<br>的使用</B></H2>
</CENTER>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
使用 <A HREF="../../../../net/conic/prototype/Function.html" title="net.conic.prototype 中的类">Function</A> 的软件包</FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><A HREF="#net.conic.prototype"><B>net.conic.prototype</B></A></TD>
<TD> </TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><A HREF="#net.conic.prototype.ajax"><B>net.conic.prototype.ajax</B></A></TD>
<TD> </TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><A HREF="#net.conic.prototype.form"><B>net.conic.prototype.form</B></A></TD>
<TD> </TD>
</TR>
</TABLE>
<P>
<A NAME="net.conic.prototype"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<A HREF="../../../../net/conic/prototype/package-summary.html">net.conic.prototype</A> 中 <A HREF="../../../../net/conic/prototype/Function.html" title="net.conic.prototype 中的类">Function</A> 的使用</FONT></TH>
</TR>
</TABLE>
<P>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left" COLSPAN="2"><A HREF="../../../../net/conic/prototype/package-summary.html">net.conic.prototype</A> 中 <A HREF="../../../../net/conic/prototype/Function.html" title="net.conic.prototype 中的类">Function</A> 的子类</FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/conic/prototype/Comparator.html" title="net.conic.prototype 中的类">Comparator</A></B></CODE>
<BR>
比较器,相当于java中的Comparator接口 ,但在这里它是做为一个function(Object value1,Object value2){}的形式存在; 这个function需要返回一个整数值:负值,如果所传递的第一个参数比第二个参数小。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/conic/prototype/Iterator.html" title="net.conic.prototype 中的类">Iterator</A></B></CODE>
<BR>
迭代器,相当于java中的Iterator接口 ,但在这里它是做为一个function(Object value,int index){}的形式存在; (value:值,index:值在对象内部的位置)</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/conic/prototype/IteratorAdapter.html" title="net.conic.prototype 中的类">IteratorAdapter</A></B></CODE>
<BR>
迭代器适配对象,主要用于Enumberable的实现类中做_each()方法时做转iterator调用使用,在这里描述是为了部分需要做扩展的用户参照。</TD>
</TR>
</TABLE>
<P>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left" COLSPAN="2">声明为 <A HREF="../../../../net/conic/prototype/Function.html" title="net.conic.prototype 中的类">Function</A> 的 <A HREF="../../../../net/conic/prototype/package-summary.html">net.conic.prototype</A> 中的字段</FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../net/conic/prototype/Function.html" title="net.conic.prototype 中的类">Function</A></CODE></FONT></TD>
<TD><CODE><B>PeriodicalExecuter.</B><B><A HREF="../../../../net/conic/prototype/PeriodicalExecuter.html#callback">callback</A></B></CODE>
<BR>
</TD>
</TR>
</TABLE>
<P>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left" COLSPAN="2">返回 <A HREF="../../../../net/conic/prototype/Function.html" title="net.conic.prototype 中的类">Function</A> 的 <A HREF="../../../../net/conic/prototype/package-summary.html">net.conic.prototype</A> 中的方法</FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../net/conic/prototype/Function.html" title="net.conic.prototype 中的类">Function</A></CODE></FONT></TD>
<TD><CODE><B>Function.</B><B><A HREF="../../../../net/conic/prototype/Function.html#bind(net.conic.prototype.Object, net.conic.prototype.Object...)">bind</A></B>(<A HREF="../../../../net/conic/prototype/Object.html" title="net.conic.prototype 中的类">Object</A> object,
<A HREF="../../../../net/conic/prototype/Object.html" title="net.conic.prototype 中的类">Object</A>... arguments)</CODE>
<BR>
对apply的方法封装,使其可以用预置的参数arguments后期运行时绑定;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../net/conic/prototype/Function.html" title="net.conic.prototype 中的类">Function</A></CODE></FONT></TD>
<TD><CODE><B>Function.</B><B><A HREF="../../../../net/conic/prototype/Function.html#bindAsEventListener(net.conic.prototype.Object)">bindAsEventListener</A></B>(<A HREF="../../../../net/conic/prototype/Object.html" title="net.conic.prototype 中的类">Object</A> object)</CODE>
<BR>
用call方法封装事件function的后期运行时事件绑定;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../net/conic/prototype/Function.html" title="net.conic.prototype 中的类">Function</A></CODE></FONT></TD>
<TD><CODE><B>Function.</B><B><A HREF="../../../../net/conic/prototype/Function.html#valueOf()">valueOf</A></B>()</CODE>
<BR>
</TD>
</TR>
</TABLE>
<P>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left" COLSPAN="2">参数类型为 <A HREF="../../../../net/conic/prototype/Function.html" title="net.conic.prototype 中的类">Function</A> 的 <A HREF="../../../../net/conic/prototype/package-summary.html">net.conic.prototype</A> 中的方法</FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -