question: @ Override public List < BigInteger > arrayToPartitions ( List < ? > elementList , String type ) throws PIRException { List < BigInteger > parts = new ArrayList < > ( ) ; int numArrayElementsToReturn = SystemConfiguration . getIntProperty ( "pir.numReturnArrayElements" , 1 ) ; for ( int i = 0 ; i < numArrayElementsToReturn ; ++ i ) { if ( elementList . size ( ) > i ) { logger . debug ( "Adding parts for elementArray(" + i + ") = " + elementList . get ( i ) ) ; parts . addAll ( toPartitions ( elementList . get ( i ) , type ) ) ; } else { parts . addAll ( getPaddedPartitions ( type ) ) ; } } return parts ; }
target:  Create partitions for an array of the same type of elements - used when a data value field is an array and we wish to encode these into the return value