[Java] Class BytecodeInterface8
- org.codehaus.groovy.runtime.BytecodeInterface8
public class BytecodeInterface8 extends Object
This class contains methods special to optimizations used directly from bytecode in Groovy 1.8
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
public static byte |
bArrayGet(byte[] a, int i) get value from byte[] using normalized index | |
public static void |
bArraySet(byte[] a, int i, byte v) set value from byte[] using normalized index | |
public static char |
cArrayGet(char[] a, int i) get value from char[] using normalized index | |
public static void |
cArraySet(char[] a, int i, char v) set value from char[] using normalized index | |
public static double |
dArrayGet(double[] a, int i) get value from double[] using normalized index | |
public static void |
dArraySet(double[] a, int i, double v) set value from double[] using normalized index | |
public static boolean |
disabledStandardMetaClass() | |
public static float |
fArrayGet(float[] a, int i) get value from float[] using normalized index | |
public static void |
fArraySet(float[] a, int i, float v) set value from float[] using normalized index | |
public static int |
intArrayGet(int[] a, int i) get value from int[] using normalized index | |
public static void |
intArraySet(int[] a, int i, int v) set value from int[] using normalized index | |
public static boolean |
isOrigB()
| |
public static boolean |
isOrigBArray()
| |
public static boolean |
isOrigC()
| |
public static boolean |
isOrigCArray()
| |
public static boolean |
isOrigD()
| |
public static boolean |
isOrigDArray()
| |
public static boolean |
isOrigF()
| |
public static boolean |
isOrigFArray()
| |
public static boolean |
isOrigInt()
| |
public static boolean |
isOrigIntArray()
| |
public static boolean |
isOrigL()
| |
public static boolean |
isOrigLArray()
| |
public static boolean |
isOrigS()
| |
public static boolean |
isOrigSArray()
| |
public static boolean |
isOrigZ()
| |
public static boolean |
isOrigZArray()
| |
public static long |
lArrayGet(long[] a, int i) get value from long[] using normalized index | |
public static void |
lArraySet(long[] a, int i, long v) set value from long[] using normalized index | |
public static Object |
objectArrayGet(Object[] a, int i) | |
public static void |
objectArraySet(Object[] a, int i, Object v) set value from double[] using normalized index | |
public static short |
sArrayGet(short[] a, int i) get value from short[] using normalized index | |
public static void |
sArraySet(short[] a, int i, short v) set value from short[] using normalized index | |
public static boolean |
zArrayGet(boolean[] a, int i) get value from boolean[] using normalized index | |
public static void |
zArraySet(boolean[] a, int i, boolean v) set value from boolean[] using normalized index |
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class Object | wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Method Detail
public static byte bArrayGet(byte[] a, int i)
get value from byte[] using normalized index
public static void bArraySet(byte[] a, int i, byte v)
set value from byte[] using normalized index
public static char cArrayGet(char[] a, int i)
get value from char[] using normalized index
public static void cArraySet(char[] a, int i, char v)
set value from char[] using normalized index
public static double dArrayGet(double[] a, int i)
get value from double[] using normalized index
public static void dArraySet(double[] a, int i, double v)
set value from double[] using normalized index
public static boolean disabledStandardMetaClass()
public static float fArrayGet(float[] a, int i)
get value from float[] using normalized index
public static void fArraySet(float[] a, int i, float v)
set value from float[] using normalized index
public static int intArrayGet(int[] a, int i)
get value from int[] using normalized index
public static void intArraySet(int[] a, int i, int v)
set value from int[] using normalized index
public static boolean isOrigB()
- Returns:
- true if byte has its default MetaClass
public static boolean isOrigBArray()
- Returns:
- true if byte array has its default MetaClass
public static boolean isOrigC()
- Returns:
- true if char has its default MetaClass
public static boolean isOrigCArray()
- Returns:
- true if char array has its default MetaClass
public static boolean isOrigD()
- Returns:
- true if double has its default MetaClass
public static boolean isOrigDArray()
- Returns:
- true if double array has its default MetaClass
public static boolean isOrigF()
- Returns:
- true if float has its default MetaClass
public static boolean isOrigFArray()
- Returns:
- true if float array has its default MetaClass
public static boolean isOrigInt()
- Returns:
- true if integer has its default MetaClass
public static boolean isOrigIntArray()
- Returns:
- true if integer array has its default MetaClass
public static boolean isOrigL()
- Returns:
- true if long has its default MetaClass
public static boolean isOrigLArray()
- Returns:
- true if long array has its default MetaClass
public static boolean isOrigS()
- Returns:
- true if short has its default MetaClass
public static boolean isOrigSArray()
- Returns:
- true if short array has its default MetaClass
public static boolean isOrigZ()
- Returns:
- true if boolean has its default MetaClass
public static boolean isOrigZArray()
- Returns:
- true if boolean array has its default MetaClass
public static long lArrayGet(long[] a, int i)
get value from long[] using normalized index
public static void lArraySet(long[] a, int i, long v)
set value from long[] using normalized index
public static Object objectArrayGet(Object[] a, int i)
public static void objectArraySet(Object[] a, int i, Object v)
set value from double[] using normalized index
public static short sArrayGet(short[] a, int i)
get value from short[] using normalized index
public static void sArraySet(short[] a, int i, short v)
set value from short[] using normalized index
public static boolean zArrayGet(boolean[] a, int i)
get value from boolean[] using normalized index
public static void zArraySet(boolean[] a, int i, boolean v)
set value from boolean[] using normalized index
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.7/html/gapi/org/codehaus/groovy/runtime/BytecodeInterface8.html