jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Müller <thomas.muel...@day.com>
Subject Re: Generics generator class
Date Tue, 05 May 2009 11:56:17 GMT
Hi,

I'm not proposing to use Google Collections, but it does have the
'missing' methods:

import com.google.common.collect.Maps;
import com.google.common.collect.Arrays;
HashMap<String, WorkspaceInfo> wspInfos = Maps.newHashMap();
ArrayList<DataIdentifier> list = Arrays.newArrayList();

> since when is less verbose automatically easier to read?

Probably your are right, reading things twice is better. Probably your
are right, reading things twice is better. :-)

Regards,
Thomas

Mime
View raw message