Class bitfield
java.lang.Object
com.frostwire.jlibtorrent.swig.bitfield
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanall_set()voidvoidclear()voidvoidclear_bit(int index) intcount()voiddelete()booleanempty()intintbooleanget_bit(int index) protected static longbooleannone_set()intbooleanop_at(int index) voidresize(int bits) voidresize(int bits, boolean val) voidset_all()voidset_bit(int index) intsize()voidprotected static longswigRelease(bitfield obj)
-
Field Details
-
swigCMemOwn
protected transient boolean swigCMemOwn
-
-
Constructor Details
-
bitfield
protected bitfield(long cPtr, boolean cMemoryOwn) -
bitfield
public bitfield() -
bitfield
public bitfield(int bits) -
bitfield
public bitfield(int bits, boolean val) -
bitfield
-
bitfield
-
-
Method Details
-
getCPtr
-
swigRelease
-
delete
public void delete() -
op_at
public boolean op_at(int index) -
get_bit
public boolean get_bit(int index) -
clear_bit
public void clear_bit(int index) -
set_bit
public void set_bit(int index) -
all_set
public boolean all_set() -
none_set
public boolean none_set() -
size
public int size() -
num_words
public int num_words() -
empty
public boolean empty() -
swap
-
count
public int count() -
find_first_set
public int find_first_set() -
find_last_clear
public int find_last_clear() -
resize
public void resize(int bits, boolean val) -
resize
public void resize(int bits) -
set_all
public void set_all() -
clear_all
public void clear_all() -
clear
public void clear() -
assign
-