|
|||||
FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Support methods for DefaultGroovyMethods and PluginDefaultMethods.
Constructor Summary | |
DefaultGroovyMethodsSupport()
|
Method Summary | |
---|---|
static int |
normaliseIndex(int i, int size)
This converts a possibly negative index to a real index into the array. |
static RangeInfo |
subListBorders(int size, IntRange range)
|
static RangeInfo |
subListBorders(int size, EmptyRange range)
|
Constructor Detail |
---|
DefaultGroovyMethodsSupport()
Method Detail |
---|
static int normaliseIndex(int i, int size)
static RangeInfo subListBorders(int size, IntRange range)
static RangeInfo subListBorders(int size, EmptyRange range)