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