Java Set to List setToList(Set set)

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

Description

set To List

License

LGPL

Declaration

public static <T> List<T> setToList(Set<T> set) 

Method Source Code

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

import java.util.ArrayList;

import java.util.List;

import java.util.Set;

public class Main {

    public static <T> List<T> setToList(Set<T> set) {
        List<T> list = new ArrayList<T>(0);
        list.addAll(set);//from ww w  .  j  av  a2s . co m
        return list;
    }
}

Related

  1. convertToList(Set set)
  2. setToList(Set set)
  3. setToList(Set set)
  4. setToList(Set set)
  5. setToList(Set set)
  6. setToList(Set set)
  7. toList(Set s)
  8. toList(Set set)
  9. toList(Set theValues)