bobobear / lambdaj

Automatically exported from code.google.com/p/lambdaj
Apache License 2.0
0 stars 0 forks source link

group.size() missing. It is shown in doco, is needed, but is only on the package-protected GroupImpl class #36

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
From documentation :-

   Group<Person> group29aged = group.findGroup("29");
   assertEquals(2, group29aged.size());

Can't do that as size() is not in the interface, but is in the GroupImpl class 
(which can't be cast to).

getSize() is not the same as size().  It is the latter I need, as per the 
documentation.

Original issue reported on code.google.com by PaulHamm...@gmail.com on 27 Aug 2010 at 12:12

GoogleCodeExporter commented 9 years ago
It was only a type in the documentation. The actual name of the method to read 
the size of a Group is getSize()

Original comment by mario.fu...@gmail.com on 28 Aug 2010 at 4:16