public List<PdfObject> subList(int fromIndex,int toIndex){
  return list.subList(fromIndex,toIndex);
}

public List < PdfObject > subList ( int fromIndex , int toIndex ) { return list . subList ( fromIndex , toIndex ) ; }
returns a sublist of this pdfarray , starting at fromindex ( inclusive ) and ending at toindex ( exclusive ) .
