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.Object
array()
int
arrayOffset()
ShortBuffer
asReadOnlyBuffer()
int
capacity()
ShortBuffer
clear()
ShortBuffer
compact()
ShortBuffer
duplicate()
ShortBuffer
flip()
short
get()
short
get(int index)
ShortBuffer
get(short[] dst)
ShortBuffer
get(short[] dst, int offset, int length)
int
getArrayOffset()
short
getElement(int index)
boolean
hasArray()
boolean
hasRemaining()
boolean
isDirect()
boolean
isReadOnly()
int
limit()
ShortBuffer
limit(int newLimit)
ShortBuffer
mark()
int
position()
ShortBuffer
position(int newPosition)
ShortBuffer
put(int index, short b)
ShortBuffer
put(short b)
ShortBuffer
put(short[] src)
ShortBuffer
put(short[] src, int offset, int length)
ShortBuffer
put(ShortBuffer src)
void
putElement(int index, short value)
int
remaining()
ShortBuffer
reset()
ShortBuffer
rewind()
ShortBuffer
slice()
-
-
-
Method Detail
-
hasRemaining
public boolean hasRemaining()
- Specified by:
hasRemaining
in interfaceBuffer
-
isReadOnly
public boolean isReadOnly()
- Specified by:
isReadOnly
in interfaceBuffer
-
arrayOffset
public int arrayOffset()
- Specified by:
arrayOffset
in interfaceBuffer
-
slice
public ShortBuffer slice()
- Specified by:
slice
in interfaceShortBuffer
-
duplicate
public ShortBuffer duplicate()
- Specified by:
duplicate
in interfaceShortBuffer
-
asReadOnlyBuffer
public ShortBuffer asReadOnlyBuffer()
- Specified by:
asReadOnlyBuffer
in interfaceShortBuffer
-
get
public short get()
- Specified by:
get
in interfaceShortBuffer
-
put
public ShortBuffer put(short b)
- Specified by:
put
in interfaceShortBuffer
-
get
public short get(int index)
- Specified by:
get
in interfaceShortBuffer
-
put
public ShortBuffer put(int index, short b)
- Specified by:
put
in interfaceShortBuffer
-
getElement
public short getElement(int index)
- Specified by:
getElement
in interfaceShortBuffer
-
putElement
public void putElement(int index, short value)
- Specified by:
putElement
in interfaceShortBuffer
-
get
public ShortBuffer get(short[] dst, int offset, int length)
- Specified by:
get
in interfaceShortBuffer
-
get
public ShortBuffer get(short[] dst)
- Specified by:
get
in interfaceShortBuffer
-
put
public ShortBuffer put(ShortBuffer src)
- Specified by:
put
in interfaceShortBuffer
-
put
public ShortBuffer put(short[] src, int offset, int length)
- Specified by:
put
in interfaceShortBuffer
-
put
public ShortBuffer put(short[] src)
- Specified by:
put
in interfaceShortBuffer
-
getArrayOffset
public int getArrayOffset()
- Specified by:
getArrayOffset
in interfaceShortBuffer
-
compact
public ShortBuffer compact()
- Specified by:
compact
in interfaceShortBuffer
-
isDirect
public boolean isDirect()
- Specified by:
isDirect
in interfaceBuffer
- Specified by:
isDirect
in interfaceShortBuffer
-
mark
public ShortBuffer mark()
- Specified by:
mark
in interfaceBuffer
- Specified by:
mark
in interfaceShortBuffer
-
reset
public ShortBuffer reset()
- Specified by:
reset
in interfaceBuffer
- Specified by:
reset
in interfaceShortBuffer
-
clear
public ShortBuffer clear()
- Specified by:
clear
in interfaceBuffer
- Specified by:
clear
in interfaceShortBuffer
-
flip
public ShortBuffer flip()
- Specified by:
flip
in interfaceBuffer
- Specified by:
flip
in interfaceShortBuffer
-
rewind
public ShortBuffer rewind()
- Specified by:
rewind
in interfaceBuffer
- Specified by:
rewind
in interfaceShortBuffer
-
limit
public ShortBuffer limit(int newLimit)
- Specified by:
limit
in interfaceBuffer
- Specified by:
limit
in interfaceShortBuffer
-
position
public ShortBuffer position(int newPosition)
- Specified by:
position
in interfaceBuffer
- Specified by:
position
in interfaceShortBuffer
-
-