public Optional<String> getFieldName(int fieldIndex) {
		if (fieldIndex < 0 || fieldIndex >= fieldNames.length) {
			return Optional.empty();
		}
		return Optional.of(fieldNames[fieldIndex]);
	}
public Optional < String > getFieldName ( int fieldIndex ) { if ( fieldIndex < 0 || fieldIndex >= fieldNames . length ) { return Optional . empty ( ) ; } return Optional . of ( fieldNames [ fieldIndex ] ) ; }
Returns the specified name for the given field index.

@param fieldIndex the index of the field