Java List First Item merge(List first, List second)

Here you can find the source of merge(List first, List second)

Description

merge

License

Apache License

Declaration

public static List<String> merge(List<String> first, List<String> second) 

Method Source Code

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

import java.util.ArrayList;

import java.util.List;

public class Main {
    public static List<String> merge(List<String> first, List<String> second) {
        ArrayList<String> result = new ArrayList<String>(first);
        result.addAll(second);/*from   w ww  .  j a v  a  2 s  . c om*/
        return result;
    }
}

Related

  1. isFirstAnnotationOfMethod(List lines, int lineNumber)
  2. isFirstPage(List pageLines, List> rawPages)
  3. isInOrder(List src, Object first, Object second)
  4. limit(List list, Long firstResult, Long maxResults)
  5. listWith(Object aFirstObject)
  6. mergeLists(List first, List second)
  7. mergeLists(List first, List second)
  8. mergePreserveOrder(List first, List second)
  9. moveItemKindInFirst(final List list)