22 Feb 2005 16:05
Re: Bit operations in Groovy
Great work Kim I've also got your test cases working in New Groovy as well - again with no conflicts On 22 Feb 2005, at 12:21, phkim@... wrote: > On Tue, Feb 22, 2005 at 07:56:37AM -0500, Martin C. Martin wrote: >>> With the current groovy 1.0 beta 10 cvs, we can use Bitwise >>> Operations of >>> Java. >>> >>> For examples, >>> x = 0xF | 0x8 // bitwise or >> >> Does bitwise | conflict with the closure syntax? >> >> - Martin > > No conflict. > > Check the two examples > > groovy/groovy-core/src/test/groovy/BitwiseOperationsTest.groovy > groovy/groovy-core/src/test/groovy/NegateListsTest.groovy > > Kim > > James ------- http://radio.weblogs.com/0112098/
RSS Feed