Skip navigation links
A B C D E F G H I L M N O P R S T U V 

A

append(byte) - Method in class org.jruby.util.ByteList
Append a single byte to the ByteList
append(int) - Method in class org.jruby.util.ByteList
Append a single int to the ByteList
append(InputStream, int) - Method in class org.jruby.util.ByteList
Append up to length bytes from InputStream to the ByteList.
append(ByteBuffer, int) - Method in class org.jruby.util.ByteList
Append contents of the supplied nio ByteList up to len length onto the end of this ByteBuffer.
append(byte[]) - Method in class org.jruby.util.ByteList
Append moreBytes onto the end of the current ByteList.
append(ByteList) - Method in class org.jruby.util.ByteList
Append moreBytes onto the end of the current ByteList.
append(ByteList, int, int) - Method in class org.jruby.util.ByteList
Append moreBytes onto the end of the current ByteList with +index as the new begin for len bytes from the moreBytes ByteList.
append(byte[], int, int) - Method in class org.jruby.util.ByteList
Append moreBytes onto the end of the current ByteList with start as the new begin for len bytes from the moreBytes byte array.

B

begin - Variable in class org.jruby.util.ByteList
Deprecated.
begin() - Method in class org.jruby.util.ByteList
First index of the backing array that contains data for the ByteList.
ByteList - Class in org.jruby.util
ByteList is simple a collection of bytes in the same way a Java String is a collection of characters.
ByteList() - Constructor for class org.jruby.util.ByteList
Creates a new instance of ByteList
ByteList(int) - Constructor for class org.jruby.util.ByteList
Creates a new instance of Bytelist with a pre-allocated size.
ByteList(byte[], Encoding) - Constructor for class org.jruby.util.ByteList
Create a new instance of ByteList with the bytes supplied using the specified encoding.
ByteList(byte[]) - Constructor for class org.jruby.util.ByteList
Create a new instance of ByteList with the contents of wrap.
ByteList(byte[], boolean) - Constructor for class org.jruby.util.ByteList
Create a new instance of ByteList with the contents of wrap.
ByteList(byte[], Encoding, boolean) - Constructor for class org.jruby.util.ByteList
Create a new instance of ByteList with the contents of wrap.
ByteList(ByteList) - Constructor for class org.jruby.util.ByteList
Create a new instance of byte list with the same contents as the passed in ByteList wrap.
ByteList(ByteList, boolean) - Constructor for class org.jruby.util.ByteList
Deprecated.
ByteList(byte[], int, int) - Constructor for class org.jruby.util.ByteList
Create a new instance of ByteList using wrap as a backing store where index is the first index in the byte array where the data starts and len indicates how long the data portion of the bytelist is.
ByteList(byte[], int, int, boolean) - Constructor for class org.jruby.util.ByteList
Create a new instance of ByteList using wrap as a backing store where index is the first index in the byte array where the data starts and len indicates how long the data portion of the bytelist is.
ByteList(byte[], int, int, Encoding, boolean) - Constructor for class org.jruby.util.ByteList
Create a new instance of ByteList using wrap as a backing store where index is the first index in the byte array where the data starts and len indicates how long the data portion of the bytelist is.
ByteList(ByteList, int, int) - Constructor for class org.jruby.util.ByteList
Create a new instance of ByteList using wrap as a backing store where index is the first index in the byte array where the data starts and len indicates how long the data portion of the bytelist is.
bytes - Variable in class org.jruby.util.ByteList
Deprecated.
bytes() - Method in class org.jruby.util.ByteList
Get a copy of the bytes referenced by this ByteList.

C

caseInsensitiveCmp(ByteList) - Method in class org.jruby.util.ByteList
Do a case insensitive comparison with other ByteList with return types similiar to compareTo.
charAt(int) - Method in class org.jruby.util.ByteList
Pretend byte array is raw and each byte is also the character value
clone() - Method in class org.jruby.util.ByteList
 
cmp(ByteList) - Method in class org.jruby.util.ByteList
This comparison matches MRI comparison of Strings (rb_str_cmp).
compareTo(Object) - Method in class org.jruby.util.ByteList
This comparison matches MRI comparison of Strings (rb_str_cmp).
create(CharSequence) - Static method in class org.jruby.util.ByteList
Create a bytelist with ISO_8859_1 encoding from the provided CharSequence.

D

decode(byte[], int, int, String) - Static method in class org.jruby.util.ByteList
Decode byte data into a String with the supplied charsetName.
decode(byte[], String) - Static method in class org.jruby.util.ByteList
Decode byte data into a String with the supplied charsetName.
delete(int, int) - Method in class org.jruby.util.ByteList
Delete len bytes from start index.
dup() - Method in class org.jruby.util.ByteList
creates a duplicate of this bytelist but only in the case of a stringValue and its resulting hash value.
dup(int) - Method in class org.jruby.util.ByteList
 

E

EMPTY_BYTELIST - Static variable in class org.jruby.util.ByteList
 
encode(CharSequence, String) - Static method in class org.jruby.util.ByteList
Encode CharSequence into a set of bytes based on the charsetName.
encoding - Variable in class org.jruby.util.ByteList
Deprecated.
endsWith(ByteList) - Method in class org.jruby.util.ByteList
Does this ByteList end with the supplied ByteList?
ensure(int) - Method in class org.jruby.util.ByteList
Ensure that the bytelist is at least length bytes long.
equal(ByteList) - Method in class org.jruby.util.ByteList
Does this ByteList equal the other ByteList?
equals(Object) - Method in class org.jruby.util.ByteList
Does this ByteList equal the other ByteList?

F

fill(int, int) - Method in class org.jruby.util.ByteList
Append the byte b up to len times onto the end of the current ByteList.

G

get(int) - Method in class org.jruby.util.ByteList
Get the byte at index from the ByteList.
getBegin() - Method in class org.jruby.util.ByteList
 
getEnc(int) - Method in class org.jruby.util.ByteList
Get the index code point in this ByteList.
getEncoding() - Method in class org.jruby.util.ByteList
 
getRealSize() - Method in class org.jruby.util.ByteList
 
getUnsafeBytes() - Method in class org.jruby.util.ByteList
 

H

hashCode() - Method in class org.jruby.util.ByteList
 

I

indexOf(int) - Method in class org.jruby.util.ByteList
Get the index of first occurrence of c in ByteList from the beginning of the ByteList.
indexOf(int, int) - Method in class org.jruby.util.ByteList
Get the index of first occurrence of c in ByteList from the pos offset of the ByteList.
indexOf(ByteList) - Method in class org.jruby.util.ByteList
Get the index of first occurrence of Bytelist find in this ByteList.
indexOf(ByteList, int) - Method in class org.jruby.util.ByteList
Get the index of first occurrence of Bytelist find in this ByteList starting at index i.
insert(int, int) - Method in class org.jruby.util.ByteList
 
invalidate() - Method in class org.jruby.util.ByteList
Invalidate the hash and stringValue which may have been cached in this ByteList.

L

lastIndexOf(int) - Method in class org.jruby.util.ByteList
Get the index of last occurrence of c in ByteList from the end of the ByteList.
lastIndexOf(int, int) - Method in class org.jruby.util.ByteList
Get the index of last occurrence of c in ByteList from the pos offset of the ByteList.
lastIndexOf(ByteList) - Method in class org.jruby.util.ByteList
Get the index of last occurrence of find in ByteList from the end of the ByteList.
lastIndexOf(ByteList, int) - Method in class org.jruby.util.ByteList
Get the index of last occurrence of find in ByteList from the end of the ByteList.
length() - Method in class org.jruby.util.ByteList
Return the current length of the ByteList.
length(int) - Method in class org.jruby.util.ByteList
grow the bytelist to be newLength in size.
lengthEnc() - Method in class org.jruby.util.ByteList
Number of characters in this ByteList based on its current encoding.

M

makeShared(int, int) - Method in class org.jruby.util.ByteList
Make a shared copy of this ByteList.
memcmp(byte[], int, int, byte[], int, int) - Static method in class org.jruby.util.ByteList
Are these two byte arrays similiar (semantics similiar to compareTo).
memcmp(byte[], int, byte[], int, int) - Static method in class org.jruby.util.ByteList
Are these two byte arrays similiar (semantics similiar to compareTo).

N

NULL_ARRAY - Static variable in class org.jruby.util.ByteList
 

O

org.jruby.util - package org.jruby.util
 

P

plain(CharSequence) - Static method in class org.jruby.util.ByteList
Create a byte[] from a CharSequence assuming a raw/ISO-8859-1 encoding
plain(char[]) - Static method in class org.jruby.util.ByteList
Create a byte[] from a char[] assuming a raw/ISO-8859-1 encoding
plain(byte[], int, int) - Static method in class org.jruby.util.ByteList
Create a char[] from a byte[] assuming a raw/ISO-8859-1 encoding
plain(byte[]) - Static method in class org.jruby.util.ByteList
Create a char[] from a byte[] assuming a raw/ISO-8859-1 encoding
prepend(byte) - Method in class org.jruby.util.ByteList
Prepend a byte onto the front of this ByteList.

R

realloc(int) - Method in class org.jruby.util.ByteList
Resize the ByteList's backing store to be length in size.
realSize - Variable in class org.jruby.util.ByteList
Deprecated.
realSize() - Method in class org.jruby.util.ByteList
 
realSize(int) - Method in class org.jruby.util.ByteList
 
replace(byte[]) - Method in class org.jruby.util.ByteList
Replace all bytes in this ByteList with bytes from the given array.
replace(int, int, ByteList) - Method in class org.jruby.util.ByteList
Replace a region of bytes in this ByteList with bytes from the given ByteList.
replace(int, int, byte[]) - Method in class org.jruby.util.ByteList
Replace a region of bytes in this ByteList with bytes from the given array.
replace(int, int, byte[], int, int) - Method in class org.jruby.util.ByteList
Replace a region of bytes in this ByteList with a region of bytes from the given array.

S

safeEncoding(Encoding) - Static method in class org.jruby.util.ByteList
Ensure the encoding is always non-null.
sample_equals(Object) - Method in class org.jruby.util.ByteList
an alternative to the new version of equals, should detect inequality faster (in many cases), but is slow in the case of equal values (all bytes visited), due to using n+=2, n-=2 vs.
set(int, int) - Method in class org.jruby.util.ByteList
Set the byte at index to be new value.
setBegin(int) - Method in class org.jruby.util.ByteList
 
setEncoding(Encoding) - Method in class org.jruby.util.ByteList
 
setRealSize(int) - Method in class org.jruby.util.ByteList
 
setUnsafeBytes(byte[]) - Method in class org.jruby.util.ByteList
 
shallowDup() - Method in class org.jruby.util.ByteList
Create a new ByteList but do not array copy the byte backing store.
startsWith(ByteList, int) - Method in class org.jruby.util.ByteList
 
startsWith(ByteList) - Method in class org.jruby.util.ByteList
Does this ByteList start with the supplied ByteList?
subSequence(int, int) - Method in class org.jruby.util.ByteList
Create subSequence of this array between start and end offsets

T

toString() - Method in class org.jruby.util.ByteList
Remembers toString value, which is expensive for StringBuffer.

U

unsafeBytes() - Method in class org.jruby.util.ByteList
Returns the internal byte array.
unsafeReplace(int, int, ByteList) - Method in class org.jruby.util.ByteList
Unsafe version of replace(int,int,ByteList).
unsafeReplace(int, int, byte[]) - Method in class org.jruby.util.ByteList
Unsafe version of replace(int,int,byte[]).
unsafeReplace(int, int, byte[], int, int) - Method in class org.jruby.util.ByteList
Unsafe version of replace(int,int,byte[],int,int).
unshare() - Method in class org.jruby.util.ByteList
Array copy the byte backing store so that you can guarantee that no other objects are referencing this objects backing store.
unshare(int) - Method in class org.jruby.util.ByteList
Array copy the byte backing store so that you can guarantee that no other objects are referencing this objects backing store.

V

view(int, int) - Method in class org.jruby.util.ByteList
Change ByteBuffer to have a new begin that is +index positions past begin with a new length.
A B C D E F G H I L M N O P R S T U V 
Skip navigation links

Copyright © 2017. All Rights Reserved.