<div dir="ltr">After restarting the server it started showing list in import suggestions but still it doesn't shows size and other list operation on the list's in my object. For eg.<div><br></div><div>class A {</div>
<div>List<B> bList = new ArrayList<B>();</div><div>}</div><div><br></div><div>now it shows bList as a variable but it doesn't shows size and related list function instead shows collection functions like contains etc.</div>
<div><br></div><div>Can't I use it like both a collection as well as List?</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jul 10, 2014 at 7:53 PM, sumit dhaniya <span dir="ltr"><<a href="mailto:sumitdhaniya@gmail.com" target="_blank">sumitdhaniya@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I already tried building the project do I need to do something else to get java.util.List get listed in the import suggestions of my file because even when I removed java.lang.Number from the project imports it still shows it in the import suggestion in config of my rule files.</div>
<div class="HOEnZb"><div class="h5">
<div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jul 10, 2014 at 7:41 PM, sumit dhaniya <span dir="ltr"><<a href="mailto:sumitdhaniya@gmail.com" target="_blank">sumitdhaniya@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">First I tried by adding java.util.List, it didn't showed as import type in config of the file.<div>
Then I thought it might not pick interfaces so I also imported java.util.ArrayList but still it doesn't shows it.</div>
<div><br></div><div>I tried building project but still no luck.</div></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jul 10, 2014 at 7:15 PM, Michael Anstis <span dir="ltr"><<a href="mailto:michael.anstis@gmail.com" target="_blank">michael.anstis@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">You need to add it.</div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">
On 10 July 2014 14:43, sumit dhaniya <span dir="ltr"><<a href="mailto:sumitdhaniya@gmail.com" target="_blank">sumitdhaniya@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">It doesn't shows java.util.List in import suggestions</div><div><div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Thu, Jul 10, 2014 at 7:08 PM, Michael Anstis <span dir="ltr"><<a href="mailto:michael.anstis@gmail.com" target="_blank">michael.anstis@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Did you import java.util.List (in Project Editor's "Import suggestions" and then on the editor's "Config" tab)?</div>
<div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On 10 July 2014 13:10, sumit dhaniya <span dir="ltr"><<a href="mailto:sumitdhaniya@gmail.com" target="_blank">sumitdhaniya@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">listIf I use model classes created in JAVA with some java.util.List it identifies them as Collection(superclass of List) and then list options like size,first,last doesn't show up. Is there any way I can force these objects as type of List.</div>
<div><div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jul 9, 2014 at 11:52 PM, Michael Anstis <span dir="ltr"><<a href="mailto:michael.anstis@gmail.com" target="_blank">michael.anstis@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Yes.</p>
<p dir="ltr">Create a BRL Condition column and use an expression on the List pattern.</p>
<p dir="ltr">Sent on the move</p><div><div>
<div class="gmail_quote">On 9 Jul 2014 19:21, "Sumit Dhaniya" <<a href="mailto:sumitdhaniya@gmail.com" target="_blank">sumitdhaniya@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I know we can check size of list if we write free form drl but is it possible<br>
to use size of the list as condition in guided decision table?<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/condition-on-size-of-list-tp4030283.html" target="_blank">http://drools.46999.n3.nabble.com/condition-on-size-of-list-tp4030283.html</a><br>
Sent from the Drools: User forum mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</blockquote></div>
</div></div><br>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>