Class TBitSet

java.lang.Object
org.teavm.classlib.java.lang.TObject
org.teavm.classlib.java.util.TBitSet
All Implemented Interfaces:
TSerializable, TCloneable

public class TBitSet extends TObject implements TCloneable, TSerializable
  • Constructor Details

    • TBitSet

      public TBitSet()
    • TBitSet

      public TBitSet(int nbits)
  • Method Details

    • valueOf

      public static TBitSet valueOf(long[] longs)
    • valueOf

      public static TBitSet valueOf(TLongBuffer buff)
    • valueOf

      public static TBitSet valueOf(byte[] bytes)
    • valueOf

      public static TBitSet valueOf(TByteBuffer buff)
    • toByteArray

      public byte[] toByteArray()
    • toLongArray

      public long[] toLongArray()
    • flip

      public void flip(int bitIndex)
    • flip

      public void flip(int fromIndex, int toIndex)
    • set

      public void set(int bitIndex)
    • set

      public void set(int bitIndex, boolean value)
    • set

      public void set(int fromIndex, int toIndex)
    • set

      public void set(int fromIndex, int toIndex, boolean value)
    • clear

      public void clear(int bitIndex)
    • clear

      public void clear(int fromIndex, int toIndex)
    • clear

      public void clear()
    • get

      public boolean get(int bitIndex)
    • get

      public TBitSet get(int fromIndex, int toIndex)
    • nextSetBit

      public int nextSetBit(int fromIndex)
    • nextClearBit

      public int nextClearBit(int fromIndex)
    • previousSetBit

      public int previousSetBit(int fromIndex)
    • previousClearBit

      public int previousClearBit(int fromIndex)
    • length

      public int length()
    • intersects

      public boolean intersects(TBitSet set)
    • cardinality

      public int cardinality()
    • and

      public void and(TBitSet set)
    • andNot

      public void andNot(TBitSet set)
    • or

      public void or(TBitSet set)
    • xor

      public void xor(TBitSet set)
    • isEmpty

      public boolean isEmpty()
    • size

      public int size()
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class TObject
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class TObject
    • toString

      public String toString()
      Overrides:
      toString in class TObject
    • stream

      public TIntStream stream()
    • clone0

      public TObject clone0()