question: public int indexOf ( PdfObject o ) { if ( o == null ) return list . indexOf ( null ) ; int index = 0 ; for ( PdfObject pdfObject : this ) { if ( PdfObject . equalContent ( o , pdfObject ) ) { return index ; } index ++ ; } return - 1 ; }
target:  Gets the first index of the specified PdfObject.