@Test(expected = NullPointerException.class) public void testToReverseLongArrayNull() throws Exception { CollectionUtils.toReverseLongArray(null); }
@NonNull public static long[] toReverseLongArray(@NonNull final Collection<Long> collection) { final long[] longs = new long[collection.size()]; int i = longs.length - 1; for (final Long item : collection) { longs[i] = item; i--; } return longs; }
CollectionUtils { @NonNull public static long[] toReverseLongArray(@NonNull final Collection<Long> collection) { final long[] longs = new long[collection.size()]; int i = longs.length - 1; for (final Long item : collection) { longs[i] = item; i--; } return longs; } }
CollectionUtils { @NonNull public static long[] toReverseLongArray(@NonNull final Collection<Long> collection) { final long[] longs = new long[collection.size()]; int i = longs.length - 1; for (final Long item : collection) { longs[i] = item; i--; } return longs; } private  CollectionUtils(); }
CollectionUtils { @NonNull public static long[] toReverseLongArray(@NonNull final Collection<Long> collection) { final long[] longs = new long[collection.size()]; int i = longs.length - 1; for (final Long item : collection) { longs[i] = item; i--; } return longs; } private  CollectionUtils(); @Nullable static T getItemSafe(@Nullable final List<T> list,
                                    final int position); @NonNull static long[] toLongArray(@NonNull final Collection<Long> collection); @NonNull static long[] toReverseLongArray(@NonNull final Collection<Long> collection); }
CollectionUtils { @NonNull public static long[] toReverseLongArray(@NonNull final Collection<Long> collection) { final long[] longs = new long[collection.size()]; int i = longs.length - 1; for (final Long item : collection) { longs[i] = item; i--; } return longs; } private  CollectionUtils(); @Nullable static T getItemSafe(@Nullable final List<T> list,
                                    final int position); @NonNull static long[] toLongArray(@NonNull final Collection<Long> collection); @NonNull static long[] toReverseLongArray(@NonNull final Collection<Long> collection);  }