public static ImmutableLongArray copyOf(Collection<Long> values) {
    return values.isEmpty() ? EMPTY : new ImmutableLongArray(Longs.toArray(values));
  }
public static ImmutableLongArray copyOf(Collection<Long> values) {
    return values.isEmpty() ? EMPTY : new ImmutableLongArray(Longs.toArray(values));
  }
public static ImmutableLongArray copyOf ( Collection < Long > values ) { return values . isEmpty ( ) ? EMPTY : new ImmutableLongArray ( Longs . toArray ( values ) ) ; }
Returns an immutable array containing the given values, in order.
Returns an immutable array containing the given values in order .