Java Args Parse parseStringArrayToSet(String[] value)

Here you can find the source of parseStringArrayToSet(String[] value)

Description

parse String Array To Set

License

Open Source License

Declaration

public static Set<String> parseStringArrayToSet(String[] value) 

Method Source Code

//package com.java2s;

import java.util.Collections;

import java.util.HashSet;

import java.util.Set;

public class Main {

    public static Set<String> parseStringArrayToSet(String[] value) {
        Set<String> set = new HashSet<String>();
        Collections.addAll(set, value);
        return set;
    }// ww w .j  av a 2 s .  c  om
}

Related

  1. parseCommandLineArguments(String[] args)
  2. parseCommandLineArguments(String[] args)
  3. parseLines(String[] lines)
  4. parseProgramArguments(String[] args)
  5. parseProviderOptions(String[] options)