Package com.github.jfasttext
Class FastTextWrapper.RealVector
- java.lang.Object
-
- org.bytedeco.javacpp.Pointer
-
- com.github.jfasttext.FastTextWrapper.RealVector
-
- All Implemented Interfaces:
AutoCloseable
- Enclosing class:
- FastTextWrapper
@Name("std::vector<fasttext::real>") public static class FastTextWrapper.RealVector extends org.bytedeco.javacpp.Pointer
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFastTextWrapper.RealVector.Iterator
-
Constructor Summary
Constructors Constructor Description RealVector()RealVector(float value)RealVector(float... array)RealVector(long n)RealVector(org.bytedeco.javacpp.Pointer p)Pointer cast constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FastTextWrapper.RealVector.Iteratorbegin()voidclear()booleanempty()FastTextWrapper.RealVector.Iteratorend()FastTextWrapper.RealVector.Iteratorerase(FastTextWrapper.RealVector.Iterator pos)float[]get()floatget(long i)FastTextWrapper.RealVector.Iteratorinsert(FastTextWrapper.RealVector.Iterator pos, float value)floatpop_back()FastTextWrapper.RealVectorpush_back(float value)FastTextWrapper.RealVectorput(float value)FastTextWrapper.RealVectorput(float... array)FastTextWrapper.RealVectorput(long i, float value)FastTextWrapper.RealVectorput(FastTextWrapper.RealVector x)voidresize(long n)longsize()StringtoString()-
Methods inherited from class org.bytedeco.javacpp.Pointer
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
-
-
-
-
Method Detail
-
put
@Name("operator =") @ByRef public FastTextWrapper.RealVector put(@ByRef FastTextWrapper.RealVector x)
-
empty
public boolean empty()
-
size
public long size()
-
clear
public void clear()
-
resize
public void resize(@Cast("size_t") long n)
-
get
@Index(function="at") @ByRef public float get(@Cast("size_t") long i)
-
put
public FastTextWrapper.RealVector put(@Cast("size_t") long i, float value)
-
insert
@ByVal public FastTextWrapper.RealVector.Iterator insert(@ByVal FastTextWrapper.RealVector.Iterator pos, @ByRef float value)
-
erase
@ByVal public FastTextWrapper.RealVector.Iterator erase(@ByVal FastTextWrapper.RealVector.Iterator pos)
-
begin
@ByVal public FastTextWrapper.RealVector.Iterator begin()
-
end
@ByVal public FastTextWrapper.RealVector.Iterator end()
-
get
public float[] get()
-
toString
public String toString()
- Overrides:
toStringin classorg.bytedeco.javacpp.Pointer
-
pop_back
public float pop_back()
-
push_back
public FastTextWrapper.RealVector push_back(float value)
-
put
public FastTextWrapper.RealVector put(float value)
-
put
public FastTextWrapper.RealVector put(float... array)
-
-