Java Collection Element Get getArray(Collection dnaCol)

Here you can find the source of getArray(Collection dnaCol)

Description

get Array

License

Open Source License

Declaration

private static String[] getArray(Collection dnaCol) 

Method Source Code

//package com.java2s;

import java.util.*;

public class Main {
    private static String[] getArray(Collection dnaCol) {
        return (String[]) dnaCol.toArray(new String[0]);
    }//from  w  w  w  .java2  s  .  c o m
}

Related

  1. getAncestors(Collection> classes)
  2. getAnElement(Collection coll)
  3. getAny(final Collection collection)
  4. getAnyFrom(Collection collection)
  5. getArbitraryMember(Collection s)
  6. getArrayFromCollection( Collection collection)
  7. GetArrayFromCollection(java.util.Collection col)
  8. getArrays(Object parent, Collection collection)
  9. getAssociationCollectionObjectName(Collection currentObjectColl, Collection prevObjectColl)