Class EaglerArrayShortBuffer
- java.lang.Object
-
- net.lax1dude.eaglercraft.v1_8.internal.buffer.EaglerArrayShortBuffer
-
- All Implemented Interfaces:
Buffer,ShortBuffer
public class EaglerArrayShortBuffer extends java.lang.Object implements ShortBuffer
Copyright (c) 2022-2023 LAX1DUDE. All Rights Reserved. WITH THE EXCEPTION OF PATCH FILES, MINIFIED JAVASCRIPT, AND ALL FILES NORMALLY FOUND IN AN UNMODIFIED MINECRAFT RESOURCE PACK, YOU ARE NOT ALLOWED TO SHARE, DISTRIBUTE, OR REPURPOSE ANY FILE USED BY OR PRODUCED BY THE SOFTWARE IN THIS REPOSITORY WITHOUT PRIOR PERMISSION FROM THE PROJECT AUTHOR. NOT FOR COMMERCIAL OR MALICIOUS USE (please read the 'LICENSE' file this repo's root directory for more info)
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectarray()intarrayOffset()ShortBufferasReadOnlyBuffer()intcapacity()ShortBufferclear()ShortBuffercompact()ShortBufferduplicate()ShortBufferflip()shortget()shortget(int index)ShortBufferget(short[] dst)ShortBufferget(short[] dst, int offset, int length)intgetArrayOffset()shortgetElement(int index)booleanhasArray()booleanhasRemaining()booleanisDirect()booleanisReadOnly()intlimit()ShortBufferlimit(int newLimit)ShortBuffermark()intposition()ShortBufferposition(int newPosition)ShortBufferput(int index, short b)ShortBufferput(short b)ShortBufferput(short[] src)ShortBufferput(short[] src, int offset, int length)ShortBufferput(ShortBuffer src)voidputElement(int index, short value)intremaining()ShortBufferreset()ShortBufferrewind()ShortBufferslice()
-
-
-
Method Detail
-
hasRemaining
public boolean hasRemaining()
- Specified by:
hasRemainingin interfaceBuffer
-
isReadOnly
public boolean isReadOnly()
- Specified by:
isReadOnlyin interfaceBuffer
-
arrayOffset
public int arrayOffset()
- Specified by:
arrayOffsetin interfaceBuffer
-
slice
public ShortBuffer slice()
- Specified by:
slicein interfaceShortBuffer
-
duplicate
public ShortBuffer duplicate()
- Specified by:
duplicatein interfaceShortBuffer
-
asReadOnlyBuffer
public ShortBuffer asReadOnlyBuffer()
- Specified by:
asReadOnlyBufferin interfaceShortBuffer
-
get
public short get()
- Specified by:
getin interfaceShortBuffer
-
put
public ShortBuffer put(short b)
- Specified by:
putin interfaceShortBuffer
-
get
public short get(int index)
- Specified by:
getin interfaceShortBuffer
-
put
public ShortBuffer put(int index, short b)
- Specified by:
putin interfaceShortBuffer
-
getElement
public short getElement(int index)
- Specified by:
getElementin interfaceShortBuffer
-
putElement
public void putElement(int index, short value)- Specified by:
putElementin interfaceShortBuffer
-
get
public ShortBuffer get(short[] dst, int offset, int length)
- Specified by:
getin interfaceShortBuffer
-
get
public ShortBuffer get(short[] dst)
- Specified by:
getin interfaceShortBuffer
-
put
public ShortBuffer put(ShortBuffer src)
- Specified by:
putin interfaceShortBuffer
-
put
public ShortBuffer put(short[] src, int offset, int length)
- Specified by:
putin interfaceShortBuffer
-
put
public ShortBuffer put(short[] src)
- Specified by:
putin interfaceShortBuffer
-
getArrayOffset
public int getArrayOffset()
- Specified by:
getArrayOffsetin interfaceShortBuffer
-
compact
public ShortBuffer compact()
- Specified by:
compactin interfaceShortBuffer
-
isDirect
public boolean isDirect()
- Specified by:
isDirectin interfaceBuffer- Specified by:
isDirectin interfaceShortBuffer
-
mark
public ShortBuffer mark()
- Specified by:
markin interfaceBuffer- Specified by:
markin interfaceShortBuffer
-
reset
public ShortBuffer reset()
- Specified by:
resetin interfaceBuffer- Specified by:
resetin interfaceShortBuffer
-
clear
public ShortBuffer clear()
- Specified by:
clearin interfaceBuffer- Specified by:
clearin interfaceShortBuffer
-
flip
public ShortBuffer flip()
- Specified by:
flipin interfaceBuffer- Specified by:
flipin interfaceShortBuffer
-
rewind
public ShortBuffer rewind()
- Specified by:
rewindin interfaceBuffer- Specified by:
rewindin interfaceShortBuffer
-
limit
public ShortBuffer limit(int newLimit)
- Specified by:
limitin interfaceBuffer- Specified by:
limitin interfaceShortBuffer
-
position
public ShortBuffer position(int newPosition)
- Specified by:
positionin interfaceBuffer- Specified by:
positionin interfaceShortBuffer
-
-