<AHREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">java.lang.Object</A>
<IMGSRC="../../../resources/inherit.gif"ALT="extended by "><B>net.abhinavsarkar.spelhelper.ImplicitMethods</B>
</PRE>
<HR>
<DL>
<DT><PRE>public final class <B>ImplicitMethods</B><DT>extends <AHREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</A></DL>
</PRE>
<P>
Provides some implicit methods which can be invoked on the instances of
class of the first parameter of the method inside a SpEL expression.
<CODE><T><AHREF="http://java.sun.com/javase/6/docs/api/java/util/Set.html?is-external=true"title="class or interface in java.util">Set</A><T></CODE></FONT></TD>
</TR>
</TABLE>
</CODE></FONT></TD>
<TD><CODE><B><AHREF="../../../net/abhinavsarkar/spelhelper/ImplicitMethods.html#distinct(java.util.List)">distinct</A></B>(<AHREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util">List</A><? extends T> list)</CODE>
<BR>
Provides implicit method <code>distinct</code> on the <ahref="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util"><code>List</code></a>class.</TD>
<CODE><T><AHREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util">List</A><T></CODE></FONT></TD>
</TR>
</TABLE>
</CODE></FONT></TD>
<TD><CODE><B><AHREF="../../../net/abhinavsarkar/spelhelper/ImplicitMethods.html#drop(java.util.List, int)">drop</A></B>(<AHREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util">List</A><T> list,
int n)</CODE>
<BR>
Provides implicit method <code>drop</code> on the <ahref="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util"><code>List</code></a>class.</TD>
<CODE><T><AHREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util">List</A><T></CODE></FONT></TD>
</TR>
</TABLE>
</CODE></FONT></TD>
<TD><CODE><B><AHREF="../../../net/abhinavsarkar/spelhelper/ImplicitMethods.html#reversed(java.util.List)">reversed</A></B>(<AHREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util">List</A><? extends T> list)</CODE>
<BR>
Provides implicit method <code>reversed</code> on the <ahref="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util"><code>List</code></a>class.</TD>
<CODE><T extends <AHREF="http://java.sun.com/javase/6/docs/api/java/lang/Comparable.html?is-external=true"title="class or interface in java.lang">Comparable</A><? super T>>
<BR>
<AHREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util">List</A><T></CODE></FONT></TD>
</TR>
</TABLE>
</CODE></FONT></TD>
<TD><CODE><B><AHREF="../../../net/abhinavsarkar/spelhelper/ImplicitMethods.html#sorted(java.util.List)">sorted</A></B>(<AHREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util">List</A><? extends T> list)</CODE>
<BR>
Provides implicit method <code>sorted</code> on the <ahref="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util"><code>List</code></a>class.</TD>
<CODE><T><AHREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util">List</A><T></CODE></FONT></TD>
</TR>
</TABLE>
</CODE></FONT></TD>
<TD><CODE><B><AHREF="../../../net/abhinavsarkar/spelhelper/ImplicitMethods.html#take(java.util.List, int)">take</A></B>(<AHREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util">List</A><T> list,
int n)</CODE>
<BR>
Provides implicit method <code>take</code> on the <ahref="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util"><code>List</code></a>class.</TD>
<THALIGN="left"><B>Methods inherited from class java.lang.<AHREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</A></B></TH>
</TR>
<TRBGCOLOR="white"CLASS="TableRowColor">
<TD><CODE><AHREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()"title="class or interface in java.lang">clone</A>, <AHREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)"title="class or interface in java.lang">equals</A>, <AHREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()"title="class or interface in java.lang">finalize</A>, <AHREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()"title="class or interface in java.lang">getClass</A>, <AHREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()"title="class or interface in java.lang">hashCode</A>, <AHREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()"title="class or interface in java.lang">notify</A>, <AHREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()"title="class or interface in java.lang">notifyAll</A>, <AHREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()"title="class or interface in java.lang">toString</A>, <AHREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()"title="class or interface in java.lang">wait</A>, <AHREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)"title="class or interface in java.lang">wait</A>, <AHREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)"title="class or interface in java.lang">wait</A></CODE></TD>
public static <T><AHREF="http://java.sun.com/javase/6/docs/api/java/util/Set.html?is-external=true"title="class or interface in java.util">Set</A><T><B>distinct</B>(<AHREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util">List</A><? extends T> list)</PRE>
<DL>
<DD><p>Provides implicit method <code>distinct</code> on the <ahref="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util"><code>List</code></a>class.</p>
<p>With implicit property support provided by <ahref="../../../net/abhinavsarkar/spelhelper/SpelHelper.html"title="class in net.abhinavsarkar.spelhelper"><code>SpelHelper</code></a>this can
also be written as:</p>
<p><code>"#list('a','b','a').distinct" //same output as earlier</code></p>
<P>
<DD><DL>
<DT><B>Type Parameters:</B><DD><CODE>T</CODE> - Type of the list's elements.<DT><B>Parameters:</B><DD><CODE>list</CODE> - The list to call this method upon.
<DT><B>Returns:</B><DD>An unmodifiable <ahref="http://java.sun.com/javase/6/docs/api/java/util/Set.html?is-external=true"title="class or interface in java.util"><code>Set</code></a>containing the distinct items of the list.</DL>
</DD>
</DL>
<HR>
<ANAME="sorted(java.util.List)"><!----></A><H3>
sorted</H3>
<PRE>
public static <T extends <AHREF="http://java.sun.com/javase/6/docs/api/java/lang/Comparable.html?is-external=true"title="class or interface in java.lang">Comparable</A><? super T>><AHREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util">List</A><T><B>sorted</B>(<AHREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util">List</A><? extends T> list)</PRE>
<DL>
<DD><p>Provides implicit method <code>sorted</code> on the <ahref="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util"><code>List</code></a>class.</p>
<p>With implicit property support provided by <ahref="../../../net/abhinavsarkar/spelhelper/SpelHelper.html"title="class in net.abhinavsarkar.spelhelper"><code>SpelHelper</code></a>this can
also be written as:</p>
<p><code>"#list('c','b','a').sorted" //same output as earlier</code></p>
<P>
<DD><DL>
<DT><B>Type Parameters:</B><DD><CODE>T</CODE> - Type of the list's elements.<DT><B>Parameters:</B><DD><CODE>list</CODE> - The list to call this method upon.
<DT><B>Returns:</B><DD>An unmodifiable <ahref="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util"><code>List</code></a>containing the sorted items
of the list.<DT><B>See Also:</B><DD><AHREF="http://java.sun.com/javase/6/docs/api/java/util/Collections.html?is-external=true#sort(java.util.List)"title="class or interface in java.util"><CODE>Collections.sort(List)</CODE></A></DL>
</DD>
</DL>
<HR>
<ANAME="reversed(java.util.List)"><!----></A><H3>
reversed</H3>
<PRE>
public static <T><AHREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util">List</A><T><B>reversed</B>(<AHREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util">List</A><? extends T> list)</PRE>
<DL>
<DD><p>Provides implicit method <code>reversed</code> on the <ahref="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util"><code>List</code></a>class.</p>
<p>With implicit property support provided by <ahref="../../../net/abhinavsarkar/spelhelper/SpelHelper.html"title="class in net.abhinavsarkar.spelhelper"><code>SpelHelper</code></a>this can
also be written as:</p>
<p><code>"#list('c','b','a').reversed" //same output as earlier</code></p>
<P>
<DD><DL>
<DT><B>Type Parameters:</B><DD><CODE>T</CODE> - Type of the list's elements.<DT><B>Parameters:</B><DD><CODE>list</CODE> - The list to call this method upon.
<DT><B>Returns:</B><DD>An unmodifiable <ahref="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util"><code>List</code></a>containing the items of the
list in reverse order.<DT><B>See Also:</B><DD><AHREF="http://java.sun.com/javase/6/docs/api/java/util/Collections.html?is-external=true#reverse(java.util.List)"title="class or interface in java.util"><CODE>Collections.reverse(List)</CODE></A></DL>
public static <T><AHREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util">List</A><T><B>take</B>(<AHREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util">List</A><T> list,
int n)</PRE>
<DL>
<DD><p>Provides implicit method <code>take</code> on the <ahref="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util"><code>List</code></a>class.</p>
<DT><B>Type Parameters:</B><DD><CODE>T</CODE> - Type of the list's elements.<DT><B>Parameters:</B><DD><CODE>list</CODE> - The list to call this method upon.<DD><CODE>n</CODE> - Number of items to <em>take</em> from the list.
<DT><B>Returns:</B><DD>An unmodifiable <ahref="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util"><code>List</code></a>containing the first <code>n</code> items
public static <T><AHREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util">List</A><T><B>drop</B>(<AHREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util">List</A><T> list,
int n)</PRE>
<DL>
<DD><p>Provides implicit method <code>drop</code> on the <ahref="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util"><code>List</code></a>class.</p>
<DT><B>Type Parameters:</B><DD><CODE>T</CODE> - Type of the list's elements.<DT><B>Parameters:</B><DD><CODE>list</CODE> - The list to call this method upon.<DD><CODE>n</CODE> - Number of items to <em>drop</em> from the list.
<DT><B>Returns:</B><DD>An unmodifiable <ahref="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util"><code>List</code></a>containing the items after the