### Question:
PrimitiveLongCollections { public static <T> PrimitiveLongObjectMap<T> copy( PrimitiveLongObjectMap<T> original ) { PrimitiveLongObjectMap<T> copy = Primitive.longObjectMap( original.size() ); original.visitEntries( ( key, value ) -> { copy.put( key, value ); return false; } ); return copy; } private  PrimitiveLongCollections(); static PrimitiveLongIterator iterator( final long... items ); static PrimitiveLongIterator concat( PrimitiveLongIterator... primitiveLongIterators ); static PrimitiveLongIterator concat( Iterable<PrimitiveLongIterator> primitiveLongIterators ); static PrimitiveLongIterator filter( PrimitiveLongIterator source, final LongPredicate filter ); static PrimitiveLongResourceIterator filter( PrimitiveLongResourceIterator source, final LongPredicate filter ); static PrimitiveLongIterator range( long start, long end ); static long single( PrimitiveLongIterator iterator, long defaultItem ); static int indexOf( PrimitiveLongIterator iterator, long item ); static PrimitiveLongSet asSet( Collection<Long> collection ); static PrimitiveLongSet asSet( PrimitiveLongIterator iterator ); static PrimitiveLongSet asSet( PrimitiveLongSet set ); static PrimitiveLongSet asSet( long... values ); static PrimitiveLongObjectMap<T> copy( PrimitiveLongObjectMap<T> original ); static int count( PrimitiveLongIterator iterator ); static long[] asArray( PrimitiveLongIterator iterator ); static long[] asArray( Iterator<Long> iterator ); static PrimitiveLongIterator emptyIterator(); static PrimitiveLongIterator toPrimitiveIterator( final Iterator<Long> iterator ); static PrimitiveLongSet emptySet(); static PrimitiveLongSet setOf( long... values ); static Iterator<T> map( final LongFunction<T> mapFunction, final PrimitiveLongIterator source ); static List<Long> asList( PrimitiveLongIterator iterator ); static Iterator<Long> toIterator( final PrimitiveLongIterator primIterator ); static PrimitiveLongResourceIterator resourceIterator( final PrimitiveLongIterator iterator,
            final Resource resource ); static Set<Long> toSet( PrimitiveLongSet set ); static Set<Long> toSet( PrimitiveLongIterator iterator ); static long[] deduplicate( long[] values ); static final long[] EMPTY_LONG_ARRAY; }### Answer:
@Test void copyMap() { PrimitiveLongObjectMap<Object> originalMap = Primitive.longObjectMap(); originalMap.put( 1L, "a" ); originalMap.put( 2L, "b" ); originalMap.put( 3L, "c" ); PrimitiveLongObjectMap<Object> copyMap = PrimitiveLongCollections.copy( originalMap ); assertNotSame( originalMap, copyMap ); assertEquals( 3, copyMap.size() ); assertEquals( "a", copyMap.get( 1L ) ); assertEquals( "b", copyMap.get( 2L ) ); assertEquals( "c", copyMap.get( 3L ) ); }