aQute.libg.generics
Class Create

java.lang.Object
  extended by aQute.libg.generics.Create

public class Create
extends Object


Constructor Summary
Create()
           
 
Method Summary
static
<T> Set<T>
copy(Collection<T> source)
           
static
<T> List<T>
copy(List<T> source)
           
static
<K,V> Map<K,V>
copy(Map<K,V> source)
           
static
<T> List<T>
list()
           
static
<T> List<T>
list(T[] source)
           
static
<K,V> Map<K,V>
map()
           
static
<T> Set<T>
set()
           
static
<T> Set<T>
set(T[] source)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Create

public Create()
Method Detail

map

public static <K,V> Map<K,V> map()

list

public static <T> List<T> list()

set

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

list

public static <T> List<T> list(T[] source)

set

public static <T> Set<T> set(T[] source)

copy

public static <K,V> Map<K,V> copy(Map<K,V> source)

copy

public static <T> List<T> copy(List<T> source)

copy

public static <T> Set<T> copy(Collection<T> source)


Copyright © 2012 aQute SARL. All Rights Reserved.