List of usage examples for org.apache.commons.collections4 IteratorUtils toArray
public static <E> E[] toArray(final Iterator<? extends E> iterator, final Class<E> arrayClass)
From source file:org.craftercms.commons.spring.ApacheCommonsConfiguration2PropertySource.java
@Override public String[] getPropertyNames() { return IteratorUtils.toArray(source.getKeys(), String.class); }