コード例 #1
0
 public Collection makeFullCollection() {
   List list = new ArrayList();
   list.addAll(Arrays.asList(getFullElements()));
   return UnmodifiableCollection.decorate(list);
 }
コード例 #2
0
 // -----------------------------------------------------------------------
 public Collection makeCollection() {
   return UnmodifiableCollection.decorate(new ArrayList());
 }