Class bitfield

java.lang.Object
com.frostwire.jlibtorrent.swig.bitfield

public class bitfield extends Object
  • 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

      public bitfield(bitfield rhs)
    • bitfield

      public bitfield(byte_vector v)
  • Method Details

    • getCPtr

      protected static long getCPtr(bitfield obj)
    • swigRelease

      protected static long swigRelease(bitfield obj)
    • 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

      public void swap(bitfield rhs)
    • 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

      public void assign(byte_vector v)