Java Collection to Array toClassArray(Collection> collection)

Here you can find the source of toClassArray(Collection> collection)

Description

to Class Array

License

Apache License

Declaration

public static Class<?>[] toClassArray(Collection<Class<?>> collection) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

import java.util.Collection;

public class Main {
    public static Class<?>[] toClassArray(Collection<Class<?>> collection) {
        return collection == null ? null : collection.toArray(new Class[collection.size()]);
    }/*from  w  w w .ja v a2 s  .  c  o  m*/
}

Related

  1. toByteArray(Collection c)
  2. toByteArray(Collection c)
  3. toCharArray(Collection source)
  4. toCharArray(Collection patterns)
  5. toClassArray(Collection> collection)
  6. toClassArray(final Collection collection)
  7. toDouble(final Collection numbers)
  8. toDoubleArray(Collection items)
  9. toDoubleArray(Collection ds)