@Name(value="GenericVector") @NoOffset public static class tesseract.IntGenericVector extends Pointer
| Modifier and Type | Class and Description |
|---|---|
static class |
tesseract.IntGenericVector.Comparator_Pointer_Pointer |
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
tesseract.IntGenericVector() |
tesseract.IntGenericVector(int size,
int init_val) |
tesseract.IntGenericVector(long size)
Native array allocator.
|
tesseract.IntGenericVector(Pointer p)
Pointer cast constructor.
|
tesseract.IntGenericVector(tesseract.IntGenericVector other) |
address, asBuffer, asByteBuffer, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, free, hashCode, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, physicalBytes, position, put, realloc, setNull, sizeof, toString, totalBytes, withDeallocator, zeropublic tesseract.IntGenericVector(Pointer p)
Pointer.Pointer(Pointer).public tesseract.IntGenericVector(long size)
Pointer.position(long).public tesseract.IntGenericVector()
public tesseract.IntGenericVector(int size,
int init_val)
public tesseract.IntGenericVector(@Const@ByRef tesseract.IntGenericVector other)
public tesseract.IntGenericVector position(long position)
@ByRef @Name(value="operator +=") public tesseract.IntGenericVector addPut(@Const@ByRef tesseract.IntGenericVector other)
@ByRef @Name(value="operator =") public tesseract.IntGenericVector put(@Const@ByRef tesseract.IntGenericVector other)
public void reserve(int size)
public void double_the_size()
public void init_to_size(int size,
int t)
public void resize_no_init(int size)
public int size()
public int size_reserved()
public int length()
@ByRef public IntPointer get(int index)
@ByRef public IntPointer back()
public int pop_back()
public int get_index(int object)
public int contains_index(int index)
public int push_back(int object)
public int push_back_new(int object)
public int push_front(int object)
public void set(int t,
int index)
public void insert(int t,
int index)
public void remove(int index)
public void truncate(int size)
public void set_clear_callback(tesseract.IntClearCallback cb)
public void set_compare_callback(tesseract.IntCompareCallback cb)
public void clear()
public void move(tesseract.IntGenericVector from)
@Cast(value="bool") public boolean write(@Cast(value="FILE*") Pointer f, tesseract.IntWriteCallback cb)
@Cast(value="bool") public boolean read(@Cast(value="FILE*") Pointer f, tesseract.IntReadCallback cb, @Cast(value="bool") boolean swap)
@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(@Cast(value="bool") boolean swap, tesseract.TFile fp)
public static IntPointer double_the_size_memcpy(int current_size, IntPointer data)
public static IntBuffer double_the_size_memcpy(int current_size, IntBuffer data)
public static int[] double_the_size_memcpy(int current_size,
int[] data)
public void reverse()
public void sort()
public void sort(tesseract.IntGenericVector.Comparator_Pointer_Pointer comparator)
public int binary_search(int target)
public void compact_sorted()
public void compact(tesseract.DeleteCallback delete_cb)
public int dot_product(@Const@ByRef tesseract.IntGenericVector other)
public int choose_nth_item(int target_index)
public void swap(int index1,
int index2)
Copyright © 2016. All rights reserved.