📄 object.html
字号:
<BR>
$()方法是document.getElementById()的一个快捷方式引用,但它又做了增强</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../net/conic/prototype/Array.html" title="net.conic.prototype 中的类">Array</A></CODE></FONT></TD>
<TD><CODE><B>Global.</B><B><A HREF="../../../../net/conic/prototype/Global.html#$A(net.conic.prototype.Object)">$A</A></B>(<A HREF="../../../../net/conic/prototype/Object.html" title="net.conic.prototype 中的类">Object</A> object)</CODE>
<BR>
将任何的可枚举(iterable)类型对象转换成Array对象</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../net/conic/prototype/Object.html" title="net.conic.prototype 中的类">Object</A></CODE></FONT></TD>
<TD><CODE><B>Global.</B><B><A HREF="../../../../net/conic/prototype/Global.html#$H(net.conic.prototype.Object...)">$H</A></B>(<A HREF="../../../../net/conic/prototype/Object.html" title="net.conic.prototype 中的类">Object</A>... objects)</CODE>
<BR>
将一个NV数组对象({name1:value1,name2:value2})转换成Hash对象的快捷方式引用</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../net/conic/prototype/Object.html" title="net.conic.prototype 中的类">Object</A></CODE></FONT></TD>
<TD><CODE><B>Function.</B><B><A HREF="../../../../net/conic/prototype/Function.html#apply(net.conic.prototype.Object, net.conic.prototype.Array)">apply</A></B>(<A HREF="../../../../net/conic/prototype/Object.html" title="net.conic.prototype 中的类">Object</A> object,
<A HREF="../../../../net/conic/prototype/Array.html" title="net.conic.prototype 中的类">Array</A> arguments)</CODE>
<BR>
应用某一对象的一个方法,用另一个对象替换当前对象。</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#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#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/Object.html" title="net.conic.prototype 中的类">Object</A></CODE></FONT></TD>
<TD><CODE><B>Function.</B><B><A HREF="../../../../net/conic/prototype/Function.html#call(net.conic.prototype.Object, net.conic.prototype.Object...)">call</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>
应用某一对象的一个方法,用另一个对象替换当前对象。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../net/conic/prototype/Object.html" title="net.conic.prototype 中的类">Object</A></CODE></FONT></TD>
<TD><CODE><B>Function.</B><B><A HREF="../../../../net/conic/prototype/Function.html#call(net.conic.prototype.Object, net.conic.prototype.Object...)">call</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>
应用某一对象的一个方法,用另一个对象替换当前对象。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static <A HREF="../../../../net/conic/prototype/Array.html" title="net.conic.prototype 中的类">Array</A></CODE></FONT></TD>
<TD><CODE><B>Array.</B><B><A HREF="../../../../net/conic/prototype/Array.html#from(net.conic.prototype.Object)">from</A></B>(<A HREF="../../../../net/conic/prototype/Object.html" title="net.conic.prototype 中的类">Object</A> iterable)</CODE>
<BR>
将任何的可枚举(iterable)类型对象转换成Array对象。</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>Enumerable.</B><B><A HREF="../../../../net/conic/prototype/Enumerable.html#include(net.conic.prototype.Object)">include</A></B>(<A HREF="../../../../net/conic/prototype/Object.html" title="net.conic.prototype 中的类">Object</A> object)</CODE>
<BR>
判断对象内部包含与object相同的元素</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> int</CODE></FONT></TD>
<TD><CODE><B>Array.</B><B><A HREF="../../../../net/conic/prototype/Array.html#indexOf(net.conic.prototype.Object)">indexOf</A></B>(<A HREF="../../../../net/conic/prototype/Object.html" title="net.conic.prototype 中的类">Object</A> obj)</CODE>
<BR>
数组的indexOf方法。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../net/conic/prototype/Object.html" title="net.conic.prototype 中的类">Object</A></CODE></FONT></TD>
<TD><CODE><B>Enumerable.</B><B><A HREF="../../../../net/conic/prototype/Enumerable.html#inject(net.conic.prototype.Object, net.conic.prototype.Iterator)">inject</A></B>(<A HREF="../../../../net/conic/prototype/Object.html" title="net.conic.prototype 中的类">Object</A> memo,
<A HREF="../../../../net/conic/prototype/Iterator.html" title="net.conic.prototype 中的类">Iterator</A> iterator)</CODE>
<BR>
对每个元素执行iterator操作,并在执行iterator操作时将memo以后注入的方式执行.说不太清楚,看源代码吧,这个方法也较为常用.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static <A HREF="../../../../net/conic/prototype/Object.html" title="net.conic.prototype 中的类">Object</A></CODE></FONT></TD>
<TD><CODE><B>Object.</B><B><A HREF="../../../../net/conic/prototype/Object.html#inspect(net.conic.prototype.Object)">inspect</A></B>(<A HREF="../../../../net/conic/prototype/Object.html" title="net.conic.prototype 中的类">Object</A> object)</CODE>
<BR>
检测对象内部状态(prototype的增强方法)</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../net/conic/prototype/Array.html" title="net.conic.prototype 中的类">Array</A></CODE></FONT></TD>
<TD><CODE><B>Enumerable.</B><B><A HREF="../../../../net/conic/prototype/Enumerable.html#invoke(net.conic.prototype.String, net.conic.prototype.Object...)">invoke</A></B>(<A HREF="../../../../net/conic/prototype/String.html" title="net.conic.prototype 中的类">String</A> method,
<A HREF="../../../../net/conic/prototype/Object.html" title="net.conic.prototype 中的类">Object</A>... arguments)</CODE>
<BR>
对象内部每一元素取得自身的method内容的function,并将自身的值与arguments传入执行.将执行结果的集合返回。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static <A HREF="../../../../net/conic/prototype/Object.html" title="net.conic.prototype 中的类">Object</A></CODE></FONT></TD>
<TD><CODE><B>Prototype.</B><B><A HREF="../../../../net/conic/prototype/Prototype.html#K(net.conic.prototype.Object)">K</A></B>(<A HREF="../../../../net/conic/prototype/Object.html" title="net.conic.prototype 中的类">Object</A> x)</CODE>
<BR>
不作为的辅助方法</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../net/conic/prototype/Array.html" title="net.conic.prototype 中的类">Array</A></CODE></FONT></TD>
<TD><CODE><B>String.</B><B><A HREF="../../../../net/conic/prototype/String.html#match(net.conic.prototype.Object)">match</A></B>(<A HREF="../../../../net/conic/prototype/Object.html" title="net.conic.prototype 中的类">Object</A> regExp)</CODE>
<BR>
使用正则表达式对象对字符串进行查找,并将结果作为数组返回。</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>Enumerable.</B><B><A HREF="../../../../net/conic/prototype/Enumerable.html#member(net.conic.prototype.Object)">member</A></B>(<A HREF="../../../../net/conic/prototype/Object.html" title="net.conic.prototype 中的类">Object</A> object)</CODE>
<BR>
等同于include()方法</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../net/conic/prototype/Hash.html" title="net.conic.prototype 中的类">Hash</A></CODE></FONT></TD>
<TD><CODE><B>Hash.</B><B><A HREF="../../../../net/conic/prototype/Hash.html#merge(net.conic.prototype.Object)">merge</A></B>(<A HREF="../../../../net/conic/prototype/Object.html" title="net.conic.prototype 中的类">Object</A> hash)</CODE>
<BR>
并入Hash对象,此操作影响对象本身</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static void</CODE></FONT></TD>
<TD><CODE><B>Event.</B><B><A HREF="../../../../net/conic/prototype/Event.html#observe(net.conic.prototype.Object, net.conic.prototype.String, net.conic.prototype.Function, boolean)">observe</A></B>(<A HREF="../../../../net/conic/prototype/Object.html" title="net.conic.prototype 中的类">Object</A> element,
<A HREF="../../../../net/conic/prototype/String.html" title="net.conic.prototype 中的类">String</A> name,
<A HREF="../../../../net/conic/prototype/Function.html" title="net.conic.prototype 中的类">Function</A> observer,
boolean useCapture)</CODE>
<BR>
对指定的element注册evnet的obsever(Obsever Design Pattern)</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../net/conic/prototype/String.html" title="net.conic.prototype 中的类">String</A></CODE></FONT></TD>
<TD><CODE><B>String.</B><B><A HREF="../../../../net/conic/prototype/String.html#replace(net.conic.prototype.Object, net.conic.prototype.String)">replace</A></B>(<A HREF="../../../../net/conic/prototype/Object.html" title="net.conic.prototype 中的类">Object</A> regExp,
<A HREF="../../../../net/conic/prototype/String.html" title="net.conic.prototype 中的类">String</A> replaceText)</CODE>
<BR>
返回根据正则表达式进行文字替换后的字符串的复制,但不影响实例本身。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> int</CODE></FONT></TD>
<TD><CODE><B>String.</B><B><A HREF="../../../../net/conic/prototype/String.html#search(net.conic.prototype.Object)">search</A></B>(<A HREF="../../../../net/conic/prototype/Object.html" title="net.conic.prototype 中的类">Object</A> regExp)</CODE>
<BR>
返回与正则表达式查找内容匹配的第一个子字符串的位置,相当于indexOf,但它支持正则表达式匹配查找,功能更加强大。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static void</CODE></FONT></TD>
<TD><CODE><B>Event.</B><B><A HREF="../../../../net/conic/prototype/Event.html#stopObserving(net.conic.prototype.Object, net.conic.prototype.String, net.conic.prototype.Function, boolean)">stopObserving</A></B>(<A HREF="../../../../net/conic/prototype/Object.html" title="net.conic.prototype 中的类">Object</A> element,
<A HREF="../../../../net/conic/prototype/String.html" title="net.conic.prototype 中的类">String</A> name,
<A HREF="../../../../net/conic/prototype/Function.html" title="net.conic.prototype 中的类">Function</A> observer,
boolean useCapture)</CODE>
<BR>
停止指定的element所注册evnet的obsever</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../net/conic/prototype/Array.html" title="net.conic.prototype 中的类">Array</A><<A HREF="../../../../net/conic/prototype/Array.html" title="Array 中的类型参数">V</A>></CODE></FONT></TD>
<TD><CODE><B>Array.</B><B><A HREF="../../../../net/conic/prototype/Array.html#without(net.conic.prototype.Object...)">without</A></B>(<A HREF="../../../../net/conic/prototype/Object.html" title="net.conic.prototype 中的类">Object</A>... extractObject)</CODE>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -