| Modifier and Type | Class and Description |
|---|---|
static class |
tesseract.CharGenericVector.Comparator_Pointer_Pointer |
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
CharGenericVector() |
CharGenericVector(int size,
byte init_val) |
CharGenericVector(long size)
Native array allocator.
|
CharGenericVector(Pointer p)
Pointer cast constructor.
|
CharGenericVector(tesseract.CharGenericVector other) |
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(Pointer p)
Pointer.Pointer(Pointer).public CharGenericVector(long size)
Pointer.position(long).public CharGenericVector()
public CharGenericVector(@Const @ByRef tesseract.CharGenericVector other)
public tesseract.CharGenericVector position(long position)
@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 resize_no_init(int size)
public int size()
public int size_reserved()
public int length()
@Cast(value="char*") @ByRef public BytePointer get(int index)
@Cast(value="char*") @ByRef public BytePointer back()
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*") Pointer f, tesseract.CharWriteCallback cb)
@Cast(value="bool") public boolean read(tesseract.TFile f, tesseract.CharReadCallback cb)
@Cast(value="bool") public boolean Serialize(tesseract.TFile fp)
@Cast(value="bool") public boolean DeSerialize(@Cast(value="bool") boolean swap, @Cast(value="FILE*") Pointer fp)
@Cast(value="bool") public boolean DeSerialize(tesseract.TFile fp)
@Cast(value="char*") public static BytePointer double_the_size_memcpy(int current_size, @Cast(value="char*") 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 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)
Copyright © 2019. All rights reserved.