Here you can find the source of join(List a, List b)
Parameter | Description |
---|---|
c | a parameter |
public static List join(List a, List b)
//package com.java2s; /*// w w w . j a v a 2s.co m * WAVE - Web Application Visual Environment * A Graphical Modeling Framework (GMF) Plugin for Eclipse * Copyright Jens Gulden, 2009, mail@jensgulden.de * Licensed under the GNU General Public License (GPL) */ import java.util.ArrayList; import java.util.List; public class Main { /** * Used by common.ext. * @param c * @return */ public static List join(List a, List b) { List l = new ArrayList(); if (a != null) { l.addAll(a); } if (b != null) { l.addAll(b); } return l; } }