Class JavaListType
java.lang.Object
ca.spottedleaf.converter.types.ListType
ca.spottedleaf.converter.types.impl.java.JavaListType
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddBigDecimal(int index, BigDecimal d) voidvoidaddBigInteger(int index, BigInteger i) voidvoidaddByte(byte b) voidaddByte(int index, byte b) voidaddByteArray(byte[] arr) voidaddByteArray(int index, byte[] arr) voidaddDouble(double d) voidaddDouble(int index, double d) voidaddFloat(float f) voidaddFloat(int index, float f) voidaddGeneric(Object value) voidaddInt(int i) voidaddInt(int index, int i) voidaddIntArray(int[] arr) voidaddIntArray(int index, int[] arr) voidvoidvoidaddLong(int index, long l) voidaddLong(long l) voidaddLongArray(int index, long[] arr) voidaddLongArray(long[] arr) voidvoidvoidaddShort(int index, short s) voidaddShort(short s) voidaddShortArray(int index, short[] arr) voidaddShortArray(short[] arr) voidvoidcopy()booleangetBigDecimal(int index) getBigDecimal(int index, BigDecimal dfl) getBigInteger(int index) getBigInteger(int index, BigInteger dfl) bytegetByte(int index) bytegetByte(int index, byte dfl) byte[]getBytes(int index) byte[]getBytes(int index, byte[] dfl) doublegetDouble(int index) doublegetDouble(int index, double dfl) floatgetFloat(int index) floatgetFloat(int index, float dfl) getGeneric(int index) getGenericAndRemove(int index) intgetInt(int index) intgetInt(int index, int dfl) int[]getInts(int index) int[]getInts(int index, int[] dfl) getList(int index) longgetLong(int index) longgetLong(int index, long dfl) long[]getLongs(int index) long[]getLongs(int index, long[] dfl) getMap(int index) getNumber(int index) shortgetShort(int index) shortgetShort(int index, short dfl) short[]getShorts(int index) short[]getShorts(int index, short[] dfl) getString(int index) TypeUtil<?> inthashCode()booleanisEmpty()voidremove(int index) voidsetBigDecimal(int index, BigDecimal to) voidsetBigInteger(int index, BigInteger to) voidsetByte(int index, byte to) voidsetBytes(int index, byte[] to) voidsetDouble(int index, double to) voidsetFloat(int index, float to) voidsetGeneric(int index, Object to) voidsetInt(int index, int to) voidsetInts(int index, int[] to) voidvoidsetLong(int index, long to) voidsetLongs(int index, long[] to) voidvoidsetShort(int index, short to) voidsetShorts(int index, short[] to) voidintsize()toString()
-
Constructor Details
-
JavaListType
public JavaListType() -
JavaListType
public JavaListType(int capacity) -
JavaListType
-
-
Method Details
-
hashCode
-
equals
-
toString
-
createEmptyList
- Specified by:
createEmptyListin classListType
-
createEmptyMap
- Specified by:
createEmptyMapin classListType
-
getTypeUtil
- Specified by:
getTypeUtilin classListType
-
deepCopy
-
copy
-
getUniformType
- Specified by:
getUniformTypein classListType
-
size
-
isEmpty
-
remove
-
getGenericAndRemove
- Specified by:
getGenericAndRemovein classListType
-
getGeneric
- Specified by:
getGenericin classListType
-
setGeneric
- Specified by:
setGenericin classListType
-
getNumber
-
getNumber
-
getBigInteger
- Specified by:
getBigIntegerin classListType
-
getBigInteger
- Specified by:
getBigIntegerin classListType
-
setBigInteger
- Specified by:
setBigIntegerin classListType
-
getBigDecimal
- Specified by:
getBigDecimalin classListType
-
getBigDecimal
- Specified by:
getBigDecimalin classListType
-
setBigDecimal
- Specified by:
setBigDecimalin classListType
-
getByte
-
getByte
-
setByte
-
getShort
-
getShort
-
setShort
-
getInt
-
getInt
-
setInt
-
getLong
-
getLong
-
setLong
-
getFloat
-
getFloat
-
setFloat
-
getDouble
-
getDouble
-
setDouble
-
getBytes
-
getBytes
-
setBytes
-
getShorts
-
getShorts
-
setShorts
-
getInts
-
getInts
-
setInts
-
getLongs
-
getLongs
-
setLongs
-
getList
-
getList
-
setList
-
getMap
-
getMap
-
setMap
-
getString
-
getString
-
setString
-
addGeneric
- Specified by:
addGenericin classListType
-
addBigInteger
- Specified by:
addBigIntegerin classListType
-
addBigInteger
- Specified by:
addBigIntegerin classListType
-
addBigDecimal
- Specified by:
addBigDecimalin classListType
-
addBigDecimal
- Specified by:
addBigDecimalin classListType
-
addByte
-
addByte
-
addShort
-
addShort
-
addInt
-
addInt
-
addLong
-
addLong
-
addFloat
-
addFloat
-
addDouble
-
addDouble
-
addByteArray
public void addByteArray(byte[] arr) - Specified by:
addByteArrayin classListType
-
addByteArray
public void addByteArray(int index, byte[] arr) - Specified by:
addByteArrayin classListType
-
addShortArray
public void addShortArray(short[] arr) - Specified by:
addShortArrayin classListType
-
addShortArray
public void addShortArray(int index, short[] arr) - Specified by:
addShortArrayin classListType
-
addIntArray
public void addIntArray(int[] arr) - Specified by:
addIntArrayin classListType
-
addIntArray
public void addIntArray(int index, int[] arr) - Specified by:
addIntArrayin classListType
-
addLongArray
public void addLongArray(long[] arr) - Specified by:
addLongArrayin classListType
-
addLongArray
public void addLongArray(int index, long[] arr) - Specified by:
addLongArrayin classListType
-
addList
-
addList
-
addMap
-
addMap
-
addString
-
addString
-