Here you can find the source of removeFirstTwoArgs(String[] args, int startIndex)
private static List<String> removeFirstTwoArgs(String[] args, int startIndex)
//package com.java2s; //License from project: Open Source License import java.util.ArrayList; import java.util.List; public class Main { private static List<String> removeFirstTwoArgs(String[] args, int startIndex) { List<String> convertedString = new ArrayList<>(); for (int i = startIndex; i < args.length; i++) convertedString.add(args[i]); return convertedString; }// w ww . j a v a 2 s .c o m }