Uses of Class
tech.bitey.bufferstuff.BufferBitSet
-
Uses of BufferBitSet in tech.bitey.bufferstuff
Fields in tech.bitey.bufferstuff declared as BufferBitSetModifier and TypeFieldDescriptionstatic final BufferBitSetBufferBitSet.EMPTY_BITSETAn empty, non-resizableBufferBitSetMethods in tech.bitey.bufferstuff that return BufferBitSetModifier and TypeMethodDescriptionBufferBitSet.copy()BufferBitSet.get(int fromIndex, int toIndex) Returns a newBufferBitSetcomposed of bits from this bitset fromfromIndex(inclusive) totoIndex(exclusive).static BufferBitSetBufferBitSet.mapFrom(FileChannel channel) Memory-maps a bitset from the specifiedFileChannel.static BufferBitSetBufferBitSet.random(int n, int size) static BufferBitSetstatic BufferBitSetBufferBitSet.readFrom(ReadableByteChannel channel) Read a bitset from the specifiedReadableByteChannel.BufferBitSet.resizable(boolean resizable) Returns a newBufferBitSetwith the specified resizability.BufferBitSet.shiftRight(int offset) Returns a copy of this bitset with each bit shifted right byoffset.static BufferBitSetBufferBitSet.valueOf(byte[] bytes) Returns a new resizable bitset containing all of the bits in the given byte array.static BufferBitSetReturns a new resizableBufferBitSetcontaining all of the bits in the givenBitSet.Methods in tech.bitey.bufferstuff with parameters of type BufferBitSetModifier and TypeMethodDescriptionvoidBufferBitSet.and(BufferBitSet set) Performs a logical AND of this target bitset with the argument bitset.voidBufferBitSet.andNot(BufferBitSet set) Clears all of the bits in this bitset whose corresponding bit is set in the specified bitset.voidBufferBitSet.or(BufferBitSet set) Performs a logical OR of this bitset with the bitset argument.voidBufferBitSet.xor(BufferBitSet set) Performs a logical XOR of this bitset with the bitset argument.