himanshudixit / google-collections

Automatically exported from code.google.com/p/google-collections
Apache License 2.0
0 stars 0 forks source link

Make com.google.common.collect.ImmutableCollection.Builder public #298

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I'm writing a set of Scala wrappers around the immutable classes
and I need to wrap a builder so build() can return a Scala
wrapper instead of the underlying Google Collection class.

To do this it would be useful for me to extend
ImmutableCollection.Builder so my builder class can have the same
signature as the Google's builders.

Original issue reported on code.google.com by blair-ol...@orcaware.com on 16 Nov 2009 at 4:11

GoogleCodeExporter commented 9 years ago
Could you define a public 
com.google.common.collect.ScalaImmutableCollectionBuilder
class than extends ImmutableCollection.Builder? Your builders could then extend 
that
class.

Original comment by jl...@google.com on 20 Nov 2009 at 7:14

GoogleCodeExporter commented 9 years ago

Original comment by kevinb@google.com on 8 Dec 2009 at 5:18

GoogleCodeExporter commented 9 years ago
That was a sneaky way to close this ticket, since 197 is closed as won't fix :)

Original comment by blair-ol...@orcaware.com on 8 Dec 2009 at 7:15