Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » com.google.common shipped with Xtext
com.google.common shipped with Xtext [message #697587] Sun, 17 July 2011 09:48 Go to next message
Lorenzo Bettini is currently offline Lorenzo BettiniFriend
Messages: 1812
Registered: July 2009
Location: Firenze, Italy
Senior Member
Hi

I don't know whether this is strictly related with Xtext, but
com.google.common is available in an xtext project so I thought to give
a try to its Iterables class... however, I see that removeIf is not
visible (while, as far as I know, it should be)... is it a problem with
com.google.common shipped with Xtext?

thanks
Lore

--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
ICQ# lbetto, 16080134 (GNU/Linux User # 158233)
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
http://www.myspace.com/supertrouperabba
BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com
http://www.gnu.org/software/src-highlite
http://www.gnu.org/software/gengetopt
http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net


Re: com.google.common shipped with Xtext [message #697602 is a reply to message #697587] Sun, 17 July 2011 10:50 Go to previous messageGo to next message
Sebastian Zarnekow is currently offline Sebastian ZarnekowFriend
Messages: 3118
Registered: July 2009
Senior Member
Hi Lorenzo,

don't know why you think it should be visible:
http://code.google.com/p/google-collections/source/browse/trunk/src/com/google/common/collect/Iterables.java#145

It has only been made public since Guave release 2.0:
http://code.google.com/p/guava-libraries/source/browse/trunk/guava/src/com/google/common/collect/Iterables.java#153

Regards,
Sebastian
--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com

On 17.07.11 11:48, Lorenzo Bettini wrote:
> Hi
>
> I don't know whether this is strictly related with Xtext, but
> com.google.common is available in an xtext project so I thought to give
> a try to its Iterables class... however, I see that removeIf is not
> visible (while, as far as I know, it should be)... is it a problem with
> com.google.common shipped with Xtext?
>
> thanks
> Lore
>
Re: com.google.common shipped with Xtext [message #697624 is a reply to message #697602] Sun, 17 July 2011 12:51 Go to previous messageGo to next message
Lorenzo Bettini is currently offline Lorenzo BettiniFriend
Messages: 1812
Registered: July 2009
Location: Firenze, Italy
Senior Member
On 07/17/2011 12:50 PM, Sebastian Zarnekow wrote:
> Hi Lorenzo,
>
> don't know why you think it should be visible:
> http://code.google.com/p/google-collections/source/browse/trunk/src/com/google/common/collect/Iterables.java#145
>
>
> It has only been made public since Guave release 2.0:
> http://code.google.com/p/guava-libraries/source/browse/trunk/guava/src/com/google/common/collect/Iterables.java#153

OK, then I probably had found Guave javadocs on-line :)

any plan to use that version?
By the way, it looks kind of odd that removeIf is not public, doesn't it?

thanks
cheers
Lorenzo

--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
ICQ# lbetto, 16080134 (GNU/Linux User # 158233)
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
http://www.myspace.com/supertrouperabba
BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com
http://www.gnu.org/software/src-highlite
http://www.gnu.org/software/gengetopt
http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net


Re: com.google.common shipped with Xtext [message #697684 is a reply to message #697624] Sun, 17 July 2011 17:54 Go to previous messageGo to next message
Sebastian Zarnekow is currently offline Sebastian ZarnekowFriend
Messages: 3118
Registered: July 2009
Senior Member
Hi Lorenzo,

> By the way, it looks kind of odd that removeIf is not public, doesn't it?

I'd assume that's the reason why they made it public in the Guava
library. We don't have any plans to change the dependency to Guava.

Regards,
Sebastian
--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com

On 17.07.11 14:51, Lorenzo Bettini wrote:
> On 07/17/2011 12:50 PM, Sebastian Zarnekow wrote:
>> Hi Lorenzo,
>>
>> don't know why you think it should be visible:
>> http://code.google.com/p/google-collections/source/browse/trunk/src/com/google/common/collect/Iterables.java#145
>>
>>
>>
>> It has only been made public since Guave release 2.0:
>> http://code.google.com/p/guava-libraries/source/browse/trunk/guava/src/com/google/common/collect/Iterables.java#153
>>
>
> OK, then I probably had found Guave javadocs on-line :)
>
> any plan to use that version?
> By the way, it looks kind of odd that removeIf is not public, doesn't it?
>
> thanks
> cheers
> Lorenzo
>
Re: com.google.common shipped with Xtext [message #698083 is a reply to message #697684] Mon, 18 July 2011 18:10 Go to previous message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7655
Registered: July 2009
Senior Member
Hi Sebastian

Shouldn't this happen automatically through Juno evolution?

Xtext as an on-train project should use the latest Orbit version.
Orbit should track the prevailing source version.

Regards

Ed Willink

On 17/07/2011 18:54, Sebastian Zarnekow wrote:
> Hi Lorenzo,
>
> > By the way, it looks kind of odd that removeIf is not public,
> doesn't it?
>
> I'd assume that's the reason why they made it public in the Guava
> library. We don't have any plans to change the dependency to Guava.
>
> Regards,
> Sebastian
Previous Topic:Beginners Question - 15 minute Tutorial Extended
Next Topic:MDA using XText, vs Xtext+xtend
Goto Forum:
  


Current Time: Wed Apr 24 22:58:42 GMT 2024

Powered by FUDForum. Page generated in 0.03006 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top