com.metsci.glimpse.util.primitives
Interface BytesModifiable
- All Superinterfaces:
- Bytes
- All Known Implementing Classes:
- BytesArray
public interface BytesModifiable
- extends Bytes
Strings are encoded and decoded using the UTF-8 charset (multi-byte
charsets just aren't worth the increased complication in indexing).
- Author:
- hogye
Fields inherited from interface com.metsci.glimpse.util.primitives.Bytes |
utf8 |
Method Summary |
void |
append(byte v)
|
void |
append(byte[] vs)
|
void |
append(byte[] vs,
int from,
int to)
|
void |
append(java.nio.ByteBuffer vs)
|
void |
append(java.nio.ByteBuffer vs,
int c)
|
void |
append(Bytes vs)
|
void |
append(Bytes vs,
int from,
int to)
|
void |
append(java.lang.String s)
|
void |
append(java.lang.String s,
int from,
int to)
|
void |
compact()
|
void |
ensureCapacity(int minCapacity)
|
void |
insert(int i,
byte v)
|
void |
insert(int i,
byte[] vs)
|
void |
insert(int i,
byte[] vs,
int from,
int to)
|
void |
insert(int i,
java.nio.ByteBuffer vs)
|
void |
insert(int i,
java.nio.ByteBuffer vs,
int c)
|
void |
insert(int i,
Bytes vs)
|
void |
insert(int i,
Bytes vs,
int from,
int to)
|
void |
insert(int i,
java.lang.String s)
|
void |
insert(int i,
java.lang.String s,
int from,
int to)
|
void |
prepend(byte v)
|
void |
prepend(byte[] vs)
|
void |
prepend(byte[] vs,
int from,
int to)
|
void |
prepend(java.nio.ByteBuffer vs)
|
void |
prepend(java.nio.ByteBuffer vs,
int c)
|
void |
prepend(Bytes vs)
|
void |
prepend(Bytes vs,
int from,
int to)
|
void |
prepend(java.lang.String s)
|
void |
prepend(java.lang.String s,
int from,
int to)
|
void |
remove(byte v)
Removes a single copy of the specified value. |
void |
set(int i,
byte v)
|
set
void set(int i,
byte v)
insert
void insert(int i,
byte v)
insert
void insert(int i,
byte[] vs)
insert
void insert(int i,
Bytes vs)
insert
void insert(int i,
java.lang.String s)
insert
void insert(int i,
java.nio.ByteBuffer vs)
insert
void insert(int i,
byte[] vs,
int from,
int to)
insert
void insert(int i,
Bytes vs,
int from,
int to)
insert
void insert(int i,
java.lang.String s,
int from,
int to)
insert
void insert(int i,
java.nio.ByteBuffer vs,
int c)
append
void append(byte v)
append
void append(byte[] vs)
append
void append(Bytes vs)
append
void append(java.lang.String s)
append
void append(java.nio.ByteBuffer vs)
append
void append(byte[] vs,
int from,
int to)
append
void append(Bytes vs,
int from,
int to)
append
void append(java.lang.String s,
int from,
int to)
append
void append(java.nio.ByteBuffer vs,
int c)
prepend
void prepend(byte v)
prepend
void prepend(byte[] vs)
prepend
void prepend(Bytes vs)
prepend
void prepend(java.lang.String s)
prepend
void prepend(java.nio.ByteBuffer vs)
prepend
void prepend(byte[] vs,
int from,
int to)
prepend
void prepend(Bytes vs,
int from,
int to)
prepend
void prepend(java.lang.String s,
int from,
int to)
prepend
void prepend(java.nio.ByteBuffer vs,
int c)
remove
void remove(byte v)
- Removes a single copy of the specified value. If multiple copies
are present, there is no guarantee which one will be removed.
ensureCapacity
void ensureCapacity(int minCapacity)
compact
void compact()
Copyright © 2012 Metron, Inc.. All Rights Reserved.