9 Jul
2015
9 Jul
'15
5:40 p.m.
Not quite. You don't have the ability to specify a particular implementation (e.g. the thing won't work if what you want is, say, LinkedList)
On 9 Jul 2015, at 18:34, kedar mhaswade <kedar.mhaswade@gmail.com> wrote:
Wouldn't Arrays.asList <http://docs.oracle.com/javase/8/docs/api/java/util/Arrays.html#asList-T...-> work for you?