### Question:
PrimitiveIntCollections { public static PrimitiveIntIterator iterator( final int... items ) { return new PrimitiveIntBaseIterator() { private int index = -1; @Override protected boolean fetchNext() { return ++index < items.length && next( items[index] ); } }; } private  PrimitiveIntCollections(); static PrimitiveIntIterator iterator( final int... items ); static PrimitiveIntIterator concat( Iterator<PrimitiveIntIterator> iterators ); static PrimitiveIntIterator filter( PrimitiveIntIterator source, final IntPredicate filter ); static PrimitiveIntIterator deduplicate( PrimitiveIntIterator source ); static PrimitiveIntSet asSet( PrimitiveIntIterator iterator ); static long[] asLongArray( PrimitiveIntCollection values ); static PrimitiveIntIterator emptyIterator(); static PrimitiveIntSet emptySet(); static PrimitiveIntIterator toPrimitiveIterator( final Iterator<Integer> iterator ); static Iterator<T> map( final IntFunction<T> mapFunction, final PrimitiveIntIterator source ); static void consume( PrimitiveIntIterator source, IntConsumer consumer ); static PrimitiveIntSet asSet( int[] values ); static PrimitiveIntSet asSet( long[] values, LongToIntFunction converter ); static PrimitiveIntObjectMap<T> copy( PrimitiveIntObjectMap<T> original ); static boolean contains( int[] values, int candidate ); static List<Integer> toList( PrimitiveIntIterator iterator ); static Set<Integer> toSet( PrimitiveIntIterator iterator ); static Set<T> mapToSet( PrimitiveIntIterator iterator, IntFunction<T> map ); static int[] deduplicate( int[] values );  }### Answer:
@Test void arrayOfItemsAsIterator() { int[] items = new int[]{2, 5, 234}; PrimitiveIntIterator iterator = PrimitiveIntCollections.iterator( items ); assertItems( iterator, items ); }