### Question:
PrimitiveIntCollections { public static <T> PrimitiveIntObjectMap<T> copy( PrimitiveIntObjectMap<T> original ) { PrimitiveIntObjectMap<T> copy = Primitive.intObjectMap( original.size() ); original.visitEntries( ( key, value ) -> { copy.put( key, value ); return false; } ); return copy; } 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 copyMap() { PrimitiveIntObjectMap<Object> originalMap = Primitive.intObjectMap(); originalMap.put( 1, "a" ); originalMap.put( 2, "b" ); originalMap.put( 3, "c" ); PrimitiveIntObjectMap<Object> copyMap = PrimitiveIntCollections.copy( originalMap ); assertNotSame( originalMap, copyMap ); assertEquals( 3, copyMap.size() ); assertEquals( "a", copyMap.get( 1 ) ); assertEquals( "b", copyMap.get( 2 ) ); assertEquals( "c", copyMap.get( 3 ) ); }