### Question:
Extractors { public Extractor<double[]> doubleArray() { return doubleArray; } Extractors( char arrayDelimiter );  Extractors( char arrayDelimiter, boolean emptyStringsAsNull );  Extractors( char arrayDelimiter, boolean emptyStringsAsNull, boolean trimStrings );  Extractors( char arrayDelimiter, boolean emptyStringsAsNull, boolean trimStrings, Supplier<ZoneId> defaultTimeZone ); void add( Extractor<?> extractor ); Extractor<?> valueOf( String name ); Extractor<String> string(); LongExtractor long_(); IntExtractor int_(); CharExtractor char_(); ShortExtractor short_(); ByteExtractor byte_(); BooleanExtractor boolean_(); FloatExtractor float_(); DoubleExtractor double_(); Extractor<String[]> stringArray(); Extractor<boolean[]> booleanArray(); Extractor<byte[]> byteArray(); Extractor<short[]> shortArray(); Extractor<int[]> intArray(); Extractor<long[]> longArray(); Extractor<float[]> floatArray(); Extractor<double[]> doubleArray(); PointExtractor point(); DateExtractor date(); TimeExtractor time(); DateTimeExtractor dateTime(); LocalTimeExtractor localTime(); LocalDateTimeExtractor localDateTime(); DurationExtractor duration();  }### Answer:
@Test void shouldExtractDoubleArray() { Extractors extractors = new Extractors( ',' ); double[] doubleData = new double[] {123.123,4567.4567,987654321.0987}; String data = toString( doubleData, ',' ); Extractor<double[]> extractor = extractors.doubleArray(); extractor.extract( data.toCharArray(), 0, data.length(), false ); assertArrayEquals( doubleData, extractor.value(), 0.001 ); }