Java tutorial
//package com.java2s; import java.util.*; public class Main { public static <T> List<T> union(final Collection<T> a, final Collection<T> b, Object object) { List<T> result = new ArrayList<T>(a); result.addAll(b); return result; } }