@Name(value="GenericVector<char>")
@NoOffset
public static class tesseract.CharGenericVector
extends org.bytedeco.javacpp.Pointer
| Modifier and Type | Class and Description |
|---|---|
static class |
tesseract.CharGenericVector.Comparator_Pointer_Pointer |
| Constructor and Description |
|---|
CharGenericVector() |
CharGenericVector(int size,
byte init_val) |
CharGenericVector(long size)
Native array allocator.
|
CharGenericVector(org.bytedeco.javacpp.Pointer p)
Pointer cast constructor.
|
CharGenericVector(tesseract.CharGenericVector other) |
| Modifier and Type | Method and Description |
|---|---|
void |
addPut(byte t) |
tesseract.CharGenericVector |
addPut(tesseract.CharGenericVector other) |
org.bytedeco.javacpp.BytePointer |
back() |
int |
binary_search(byte target) |
boolean |
bool_binary_search(byte target) |
int |
choose_nth_item(int target_index) |
void |
clear() |
void |
compact_sorted() |
void |
compact(tesseract.DeleteCallback delete_cb) |
byte |
contains_index(int index) |
boolean |
contains(byte object) |
boolean |
DeSerialize(boolean swap,
org.bytedeco.javacpp.Pointer fp) |
boolean |
DeSerialize(tesseract.TFile fp) |
byte |
dot_product(tesseract.CharGenericVector other) |
static byte[] |
double_the_size_memcpy(int current_size,
byte[] data) |
static ByteBuffer |
double_the_size_memcpy(int current_size,
ByteBuffer data) |
static org.bytedeco.javacpp.BytePointer |
double_the_size_memcpy(int current_size,
org.bytedeco.javacpp.BytePointer data) |
void |
double_the_size() |
boolean |
empty() |
int |
get_index(byte object) |
org.bytedeco.javacpp.BytePointer |
get(int index) |
void |
init_to_size(int size,
byte t) |
void |
insert(byte t,
int index) |
int |
length() |
void |
move(tesseract.CharGenericVector from) |
byte |
pop_back() |
tesseract.CharGenericVector |
position(long position) |
int |
push_back_new(byte object) |
int |
push_back(byte object) |
int |
push_front(byte object) |
tesseract.CharGenericVector |
put(tesseract.CharGenericVector other) |
boolean |
read(tesseract.TFile f,
tesseract.CharReadCallback cb) |
void |
remove(int index) |
void |
reserve(int size) |
void |
resize_no_init(int size) |
void |
reverse() |
boolean |
Serialize(org.bytedeco.javacpp.Pointer fp) |
boolean |
Serialize(tesseract.TFile fp) |
void |
set_clear_callback(tesseract.CharClearCallback cb) |
void |
set_compare_callback(tesseract.CharCompareCallback cb) |
void |
set(byte t,
int index) |
int |
size_reserved() |
int |
size() |
void |
sort() |
void |
sort(tesseract.CharGenericVector.Comparator_Pointer_Pointer comparator) |
void |
swap(int index1,
int index2) |
void |
truncate(int size) |
long |
unsigned_size() |
boolean |
WithinBounds(byte rangemin,
byte rangemax) |
boolean |
write(org.bytedeco.javacpp.Pointer f,
tesseract.CharWriteCallback cb) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic CharGenericVector(org.bytedeco.javacpp.Pointer p)
Pointer.Pointer(Pointer).public CharGenericVector(long size)
Pointer.position(long).public CharGenericVector()
public CharGenericVector(int size,
@Cast(value="const char")
byte init_val)
public CharGenericVector(@Const @ByRef
tesseract.CharGenericVector other)
public tesseract.CharGenericVector position(long position)
position in class org.bytedeco.javacpp.Pointer@ByRef @Name(value="operator +=") public tesseract.CharGenericVector addPut(@Const @ByRef tesseract.CharGenericVector other)
@ByRef @Name(value="operator =") public tesseract.CharGenericVector put(@Const @ByRef tesseract.CharGenericVector other)
public void reserve(int size)
public void double_the_size()
public void init_to_size(int size,
@Cast(value="const char")
byte t)
public void resize_no_init(int size)
public int size()
@Cast(value="size_t") public long unsigned_size()
public int size_reserved()
public int length()
@Cast(value="bool") public boolean empty()
@Cast(value="char*") @ByRef public org.bytedeco.javacpp.BytePointer get(int index)
@Cast(value="char*") @ByRef public org.bytedeco.javacpp.BytePointer back()
@Cast(value="char") public byte pop_back()
public int get_index(@Cast(value="const char")
byte object)
@Cast(value="bool")
public boolean contains(@Cast(value="const char")
byte object)
@Cast(value="char") public byte contains_index(int index)
public int push_back(@Cast(value="char")
byte object)
@Name(value="operator +=")
public void addPut(@Cast(value="const char")
byte t)
public int push_back_new(@Cast(value="const char")
byte object)
public int push_front(@Cast(value="const char")
byte object)
public void set(@Cast(value="const char")
byte t,
int index)
public void insert(@Cast(value="const char")
byte t,
int index)
public void remove(int index)
public void truncate(int size)
public void set_clear_callback(tesseract.CharClearCallback cb)
public void set_compare_callback(tesseract.CharCompareCallback cb)
public void clear()
public void move(tesseract.CharGenericVector from)
@Cast(value="bool")
public boolean write(@Cast(value="FILE*")
org.bytedeco.javacpp.Pointer f,
tesseract.CharWriteCallback cb)
@Cast(value="bool") public boolean read(tesseract.TFile f, tesseract.CharReadCallback cb)
@Cast(value="bool")
public boolean Serialize(@Cast(value="FILE*")
org.bytedeco.javacpp.Pointer fp)
@Cast(value="bool") public boolean Serialize(tesseract.TFile fp)
@Cast(value="bool")
public boolean DeSerialize(@Cast(value="bool")
boolean swap,
@Cast(value="FILE*")
org.bytedeco.javacpp.Pointer fp)
@Cast(value="bool") public boolean DeSerialize(tesseract.TFile fp)
@Cast(value="char*")
public static org.bytedeco.javacpp.BytePointer double_the_size_memcpy(int current_size,
@Cast(value="char*")
org.bytedeco.javacpp.BytePointer data)
@Cast(value="char*") public static ByteBuffer double_the_size_memcpy(int current_size, @Cast(value="char*") ByteBuffer data)
@Cast(value="char*")
public static byte[] double_the_size_memcpy(int current_size,
@Cast(value="char*")
byte[] data)
public void reverse()
public void sort()
public void sort(tesseract.CharGenericVector.Comparator_Pointer_Pointer comparator)
@Cast(value="bool")
public boolean bool_binary_search(@Cast(value="const char")
byte target)
public int binary_search(@Cast(value="const char")
byte target)
public void compact_sorted()
public void compact(tesseract.DeleteCallback delete_cb)
@Cast(value="char")
public byte dot_product(@Const @ByRef
tesseract.CharGenericVector other)
public int choose_nth_item(int target_index)
public void swap(int index1,
int index2)
@Cast(value="bool")
public boolean WithinBounds(@Cast(value="const char")
byte rangemin,
@Cast(value="const char")
byte rangemax)
Copyright © 2018. All rights reserved.