slightly cleaner as..
```
long[] idsAsLongs = FluentIterable.from(ids)
                                                  .transform(toLong())
                                                  .toArray(Long.class);
```

I think :P