ddonnell posted in
Misc 9 months ago
|
Viewed 4 times
These two pieces of code do the same thing.
Java
Collection<String> output = Collections2.transform(cur.toArray(), new Function<DBObject, String>(){
public String apply(final DBObject input){
return input.toString();
}
});
String o = Joiner.on(",").join(output);
Ruby
o = cur.map { |e| e.to_s }.join(",")
coffeebreak
posted in
Misc
about 1 year ago
|
Viewed 1 time
A combition of different things that are running through my MIND
simplyconfused
posted in
Misc
12 months ago
|
Viewed 2 times
This and that and that and this
woman
posted in
Misc
11 months ago
|
Viewed 2 times
There's a lot going on in my head tonight. Much of it frustrating.
lucyt
posted in
Misc
over 1 year ago
|
Viewed 2 times
I had to visit someone on Saturday that told me something I knew but needed to hear from, external to my significant circle of loved ones.
coffeebreak
posted in
Misc
about 1 year ago
|
Viewed 3 times
Here's some more about my life....
wombat
posted in
Misc
about 1 year ago
|
Viewed 3 times
life
uniquely-learning
posted in
Misc
over 1 year ago
|
Viewed 3 times
enough to let off some steam
uniquely-learning
posted in
Misc
over 1 year ago
|
Viewed 2 times
from my daily worries
msstar39
posted in
Misc
over 1 year ago
|
Viewed 7 times
The reason why.
ooo ya, a lot more buttons to push with Java.
So whats that mean?