---
title: "Collections.emptyList().toArray(new CityHeroVo[0]);"
author: "east_java"
date: "2009-07-24T09:28:08Z"
tags: []
slug: "collections-emptylist-toarray-new-cityherovo-0"
draft: false
lastmod: "2009-08-08T21:52:34Z"
id: 432030
url: "https://japi.iteye.com/blog/432030"
---

Collections.emptyList().toArray(new CityHeroVo);

List<String> s = Collections.emptyList();
//s.add("ffff");
List ss = Collections.unmodifiableList( new ArrayList(0) );