package com.naughtyzombie.ci.dataandstrings.linkedlistend;

import com.naughtyzombie.ci.lib.AssortedMethods;

import java.util.Arrays;
import java.util.LinkedList;

/**
 * Created by pram on 03/07/2015.
 */
public class LinkedListEnd {
    public static void main(String[] args) {
        LinkedList<String> listOfWords = new LinkedList<>(Arrays.asList(AssortedMethods.getListOfWords()));

    }
}

package com.naughtyzombie.ci.dataandstrings.linkedlistend;

import com.naughtyzombie.ci.lib.AssortedMethods;

import java.util.Arrays;
import java.util.LinkedList;

/**
 * Created by pram on 03/07/2015.
 */
public class LinkedListEnd {
    public static void main(String[] args) {
        LinkedList<String> listOfWords = new LinkedList<>(Arrays.asList(AssortedMethods.getListOfWords()));
    }
}

Update LinkedListEnd.java