Java tutorial
//package com.java2s; import java.util.Vector; public class Main { public static Vector getSubSection(Vector a_vecInput, int a_iFromIndex, int a_iToIndex) /* */ { /* 169 */Vector vecReturn = new Vector(); /* 170 */for (int i = 0; i < a_iToIndex; i++) /* */ { /* 172 */if (i >= a_vecInput.size()) /* */ { /* */break; /* */} /* */ /* 177 */if (i < a_iFromIndex) /* */continue; /* 179 */vecReturn.add(a_vecInput.elementAt(i)); /* */} /* */ /* 182 */return vecReturn; /* */} }