@Name(value="GenericVector<int>")
@NoOffset
public static class tesseract.IntGenericVector
extends org.bytedeco.javacpp.Pointer
| Modifier and Type | Class and Description |
|---|---|
static class |
tesseract.IntGenericVector.Comparator_Pointer_Pointer |
| Constructor and Description |
|---|
IntGenericVector() |
IntGenericVector(int size,
int init_val) |
IntGenericVector(long size)
Native array allocator.
|
IntGenericVector(org.bytedeco.javacpp.Pointer p)
Pointer cast constructor.
|
IntGenericVector(tesseract.IntGenericVector other) |
| Modifier and Type | Method and Description |
|---|---|
void |
addPut(int t) |
tesseract.IntGenericVector |
addPut(tesseract.IntGenericVector other) |
org.bytedeco.javacpp.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(tesseract.DeleteCallback delete_cb) |
int |
contains_index(int index) |
boolean |
contains(int object) |
boolean |
DeSerialize(boolean swap,
org.bytedeco.javacpp.Pointer fp) |
boolean |
DeSerialize(tesseract.TFile fp) |
int |
dot_product(tesseract.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 org.bytedeco.javacpp.IntPointer |
double_the_size_memcpy(int current_size,
org.bytedeco.javacpp.IntPointer data) |
void |
double_the_size() |
boolean |
empty() |
int |
get_index(int object) |
org.bytedeco.javacpp.IntPointer |
get(int index) |
void |
init_to_size(int size,
int t) |
void |
insert(int t,
int index) |
int |
length() |
void |
move(tesseract.IntGenericVector from) |
int |
pop_back() |
tesseract.IntGenericVector |
position(long position) |
int |
push_back_new(int object) |
int |
push_back(int object) |
int |
push_front(int object) |
tesseract.IntGenericVector |
put(tesseract.IntGenericVector other) |
boolean |
read(tesseract.TFile f,
tesseract.IntReadCallback 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.IntClearCallback cb) |
void |
set_compare_callback(tesseract.IntCompareCallback cb) |
void |
set(int t,
int index) |
int |
size_reserved() |
int |
size() |
void |
sort() |
void |
sort(tesseract.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(org.bytedeco.javacpp.Pointer f,
tesseract.IntWriteCallback 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 IntGenericVector(org.bytedeco.javacpp.Pointer p)
Pointer.Pointer(Pointer).public IntGenericVector(long size)
Pointer.position(long).public IntGenericVector()
public IntGenericVector(int size,
int init_val)
public IntGenericVector(@Const @ByRef
tesseract.IntGenericVector other)
public tesseract.IntGenericVector position(long position)
position in class org.bytedeco.javacpp.Pointer@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()
@Cast(value="size_t") public long unsigned_size()
public int size_reserved()
public int length()
@Cast(value="bool") public boolean empty()
@ByRef public org.bytedeco.javacpp.IntPointer get(int index)
@ByRef public org.bytedeco.javacpp.IntPointer back()
public int pop_back()
public int get_index(int object)
@Cast(value="bool") public boolean contains(int object)
public int contains_index(int index)
public int push_back(int object)
@Name(value="operator +=") public void addPut(int t)
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*")
org.bytedeco.javacpp.Pointer f,
tesseract.IntWriteCallback cb)
@Cast(value="bool") public boolean read(tesseract.TFile f, tesseract.IntReadCallback 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)
public static org.bytedeco.javacpp.IntPointer double_the_size_memcpy(int current_size,
org.bytedeco.javacpp.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)
@Cast(value="bool") public boolean bool_binary_search(int target)
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)
@Cast(value="bool")
public boolean WithinBounds(int rangemin,
int rangemax)
Copyright © 2018. All rights reserved.