Java Set to Array setToArray(Set set)

Here you can find the source of setToArray(Set set)

Description

set To Array

License

Open Source License

Declaration

public static final String[] setToArray(Set<String> set) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import java.util.*;

public class Main {
    public static final String[] setToArray(Set<String> set) {
        String[] array = set.toArray(new String[set.size()]);
        return array;
    }//from  www . java2s  .  c om
}

Related

  1. setToArray(Set set)