[prev in list] [next in list] [prev in thread] [next in thread] 

List:       groovy-dev
Subject:    RE: [groovy-dev] 0..<0  not empty
From:       "Dierk Koenig" <dierk.koenig () canoo ! com>
Date:       2005-04-12 14:34:33
Message-ID: FDECKBKBGOHEGDCBMOMLMEPPGCAA.dierk.koenig () canoo ! com
[Download RAW message or body]

> It might be better to use  a step object that is added to the current 
> element - such as for step(0.1). So we treat normal 
> incrementing/decrementing ranges by one as a special case - the rest we 
> are adding some stepValue as we go along the range.

should we than change the Range "API" to demand
plus(number) instead of next()/previous() ?
Otherwise an ObjectRange may not know how to deal with
step(number).

cheers
Mittie

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic