TASSELpy.net.maizegenetics.util package

Submodules

TASSELpy.net.maizegenetics.util.BitSet module

class TASSELpy.net.maizegenetics.util.BitSet.BitSet(*args, **kwargs)[source]

Bases: TASSELpy.net.maizegenetics.util.BitSet.MetaBitSet

Methods

andNot(*args) this = this ANDNOT other
capacity(*args) Returns capacity
cardinality(*args) Returns number of set bits
castTo(pyType) Casts this object to another java/python type
clear(*args) Clears a bit or range of bits, allowing access beyond the current set
clone(*args) Creates and returns a copy of this object
ensureCapacity(*args) Ensure that the long[] is big enough to hold numBits, expanding it if necessary.
ensureCapacityWords(*args) Expand the long[] with the size given as a number of words (64 bit longs).
equals(*args) Indicates whether some other object is “equal to” this one
fastClear(*args) Clears a bit
fastFlip(*args) Flips a bit.
fastGet(*args) Returns true or false for the specified bit index
fastSet(*args) Sets the bit at the specified index.
flip(*args) Flips a bit, expanding the set size if necessary
flipAndGet(*args) Flips a bit and returns the resulting bit value.
get(*args) Returns true or false for the specified bit index
getAndSet(*args) Sets a bit and returns the previous value.
getArray(size) Gets an empty wrapped java array that can accept the type of the wrapped
getBit(*args) Returns 1 if the bit is set, 0 if not
getBits(*args) Expert: returns the long[] storing the bits
getClass(*args) Returns the runtime class of this Object.
getDblArray(rows[, cols]) Gets an empty wrapped java array that can accept the type of other wrapped java arrays: i.e.
getIndicesOfSetBits(*args) Returns the indices of set bits
getNumWords(*args) Expert: gets the number of longs in the array that
hashCode(*args) Returns a hash code vlaue for the object
indexOfNthSetBit(*args) Returns index of the nth set bit
intersect(*args) this = this AND other
intersects(*args) Returns true if the sets have any elements in common
isEmpty(*args) Returns true if there are no set bits
nextSetBit(*args) Returns the index of the first set bit starting at the index specified.
previousSetBit(*args) Returns the index of the previous set bit starting at the index specified.
remove(*args) Remove all elements set in other.
set(*args) Sets a bit, expanding the set size if necessary
setBits(*args) Expert: sets a new long[] to use as the bit storage
setLong(*args) Expert: sets the specified word with given bits
setNumWords(*args) Expert: sets the number of longs in the array that are in use
size(*args) Returns the current capacity of this set.
toString(*args) Returns a string representation of the object
trimTrailingZeros(*args) Lowers numWords, the number of words in use, by checking for trailing
union(*args) this = this OR other
wrap_existing_array(arr_instance) Wraps a java array of this class’s type
xor(*args) this = this XOR other
andNot(*args)[source]

this = this ANDNOT other

Signature:xor (BitSet other)
Parameters:other (BitSet) – Another BitSet instance
capacity(*args)[source]

Returns capacity

Returns:

Capacity

cardinality(*args)[source]

Returns number of set bits

Signature:cardinality ()
Signature:cardinality (int index)
Parameters:index (int) – index
Returns:The number of set bits
Return type:long
clear(*args)[source]

Clears a bit or range of bits, allowing access beyond the current set size without changing the size

Signature:

clear (long index)

Signature:

clear (int startIndex, int endIndex)

Signature:

clear (long startIndex, long endIndex)

Parameters:
  • index (long) – The index to clear
  • startIndex (long) – lower index
  • endIndex (long) – one-past the last bit to clear
ensureCapacity(*args)[source]

Ensure that the long[] is big enough to hold numBits, expanding it if necessary. getNumWords() is unchanged by this call

Signature:ensureCapacity (long numBits)
Parameters:numBits (long) – The number of bits the BitSet should be able to hold
ensureCapacityWords(*args)[source]

Expand the long[] with the size given as a number of words (64 bit longs). getNumWords() is unchanged by this call

Signature:ensureCapacityWords (int numWords)
Parameters:numWords (int) – The number of words to expand the long[] by
fastClear(*args)[source]

Clears a bit The index should be less than the BitSet size

Signature:fastClear (int index)
Signature:fastClear (long index)
Parameters:index (long) – index (long or int)
fastFlip(*args)[source]

Flips a bit. The index should be less than the BitSet size

Signature:fastFlip (int index)
Signature:fastFlip (long index)
Parameters:index (long) – The index of the bit to flip (long or int)
fastGet(*args)[source]

Returns true or false for the specified bit index

Signature:fastGet (int index)
Signature:fastGet (long index)
Parameters:index (long) – index (long or int), should be less than the BitSet size
fastSet(*args)[source]

Sets the bit at the specified index. The index should be less than the BitSet size

Signature:fastSet (int index)
Signature:fastSet (long index)
Parameters:index (long) – index (long or int)
flip(*args)[source]

Flips a bit, expanding the set size if necessary

Signature:

flip (long index)

Signature:

flip (long startIndex, long endIndex)

Parameters:
  • index (long) – The index to flip
  • startIndex (long) – lower index
  • endIndex (long) – one-past the last bit to flip
flipAndGet(*args)[source]

Flips a bit and returns the resulting bit value. The index should be less than the BitSet size

Signature:flipAndGet (int index)
Signature:flipAndGet (long index)
Parameters:index (long) – The index to flip and get
get(*args)[source]

Returns true or false for the specified bit index

Signature:get (int index)
Signature:get (long index)
Parameters:index (long) – index (long or int)
getAndSet(*args)[source]

Sets a bit and returns the previous value. The index should be less than the BitSet size

Signature:getAndSet (int index)
Signature:getAndSet (long index)
Parameters:index (long) – The index to clear and view (long or int)
getBit(*args)[source]

Returns 1 if the bit is set, 0 if not

Arguments:

index – index, should be less than the BitSet size

getBits(*args)[source]

Expert: returns the long[] storing the bits

Signature:

getBits ()

Signature:

getBits (int startWord, int endWord)

Signature:

getBits (int index)

Parameters:
  • startWord (int) – integer for first word
  • endWord (int) – integer for last word Third method:
  • index (int) – index
getIndicesOfSetBits(*args)[source]

Returns the indices of set bits

getNumWords(*args)[source]

Expert: gets the number of longs in the array that are in use

indexOfNthSetBit(*args)[source]

Returns index of the nth set bit

Arguments:

n – nth set bit

intersect(*args)[source]

this = this AND other

Signature:intersect (BitSet other)
Parameters:other (BitSet) – Another BitSet instance
intersects(*args)[source]

Returns true if the sets have any elements in common

Signature:intersects (BitSet other)
Parameters:other (BitSet) – Another BitSet instance
isEmpty(*args)[source]

Returns true if there are no set bits

nextSetBit(*args)[source]

Returns the index of the first set bit starting at the index specified. -1 is returned if there are no more set bits

Signature:nextSetBit (long index)
Signature:nextSetBit (int index)
Parameters:index (int) – index (long or int)
Returns:The next set bit
Return type:long
previousSetBit(*args)[source]

Returns the index of the previous set bit starting at the index specified. If the bit at the index is set, index is returned, otherwise the next lower numbered set bit is retuned. -1 is returned if there are no more set bits

Signature:previousSetBit (long index)
Signature:previousSetBit (int index)
Parameters:index (int) – index
Returns:The previous set bit
Return type:long
remove(*args)[source]

Remove all elements set in other. this = this AND_NOT other

Signature:remove (BitSet other)
Parameters:other (BitSet) – Another BitSEt instance
set(*args)[source]

Sets a bit, expanding the set size if necessary

Signature:

set (long index)

Signature:

set (long startIndex, long endIndex)

Parameters:
  • index (long) – index (long)
  • startIndex (long) – lower index (long)
  • endIndex (long) – one-past the last bit to set (long)
setBits(*args)[source]

Expert: sets a new long[] to use as the bit storage

Arguments:

bits – long[] to use as the bit storage

setLong(*args)[source]

Expert: sets the specified word with given bits

Arguments:

wordNum – word index bits – bits

setNumWords(*args)[source]

Expert: sets the number of longs in the array that are in use

Arguments:

nWords – The number of longs in the array that should be in use

size(*args)[source]

Returns the current capacity of this set. Included for compatibility. This is not equal to cardinality

trimTrailingZeros(*args)[source]

Lowers numWords, the number of words in use, by checking for trailing zero words

Signature:trimTrailingZeros ()
union(*args)[source]

this = this OR other

Signature:union (BitSet other)
Parameters:other (BitSet) – Another BitSet instance
xor(*args)[source]

this = this XOR other

Signature:xor (BitSet other)
Parameters:other (BitSet) – Another BitSet instance
class TASSELpy.net.maizegenetics.util.BitSet.MetaBitSet(*args, **kwargs)[source]

Bases: TASSELpy.java.lang.Object.Object

Methods

castTo(pyType) Casts this object to another java/python type
clone(*args) Creates and returns a copy of this object
equals(*args) Indicates whether some other object is “equal to” this one
getArray(size) Gets an empty wrapped java array that can accept the type of the wrapped
getClass(*args) Returns the runtime class of this Object.
getDblArray(rows[, cols]) Gets an empty wrapped java array that can accept the type of other wrapped java arrays: i.e.
hashCode(*args) Returns a hash code vlaue for the object
toString(*args) Returns a string representation of the object
wrap_existing_array(arr_instance) Wraps a java array of this class’s type

TASSELpy.net.maizegenetics.util.GeneralAnnotation module

class TASSELpy.net.maizegenetics.util.GeneralAnnotation.GeneralAnnotation(*args, **kwargs)[source]

Bases: TASSELpy.java.lang.Object.Object

Provide generalized annotations (descriptors) for taxon or site

Methods

castTo(pyType) Casts this object to another java/python type
clone(*args) Creates and returns a copy of this object
equals(*args) Indicates whether some other object is “equal to” this one
getAllAnnotationEntries(*args) Returns all annotation Map.Entries
getAnnotation(*args) Returns all annotation value for a given annotation key
getAnnotationAsMap(*args) Returns all annotations in TreeMap
getArray(size) Gets an empty wrapped java array that can accept the type of the wrapped
getAverageAnnotation(*args) Returns average annotation for a given annotation key
getClass(*args) Returns the runtime class of this Object.
getConsensusAnnotation(*args) Returns consensus value for given annotation key
getDblArray(rows[, cols]) Gets an empty wrapped java array that can accept the type of other wrapped java arrays: i.e.
getQuantAnnotation(*args) Returns all annotation value for given annotation key
getTextAnnotation(*args) Returns all annotation values for a given annotation key
hashCode(*args) Returns a hash code vlaue for the object
toString(*args) Returns a string representation of the object
wrap_existing_array(arr_instance) Wraps a java array of this class’s type
getAllAnnotationEntries(*args)[source]

Returns all annotation Map.Entries

Signatures:

Map.Entry<String, String>[] getAllAnnotationEntries()

Returns:

Array of Map.Entry

getAnnotation(*args)[source]

Returns all annotation value for a given annotation key

Signature:getAnnotation (String annoName)
Parameters:annoName (String) – annotation key
Returns:array of annotation values (if not present new String[0])
Return type:Object[]
getAnnotationAsMap(*args)[source]

Returns all annotations in TreeMap

Signatures:

SetMultimap<String,String> getAnnotationAsMap()

Returns:

Map of annotations

getAverageAnnotation(*args)[source]

Returns average annotation for a given annotation key

Signature:getAverageAnnotation (String annoName)
Parameters:annoName (String) – annotation key
Returns:average value (if not present - return Double.NaN)
Return type:double
getConsensusAnnotation(*args)[source]

Returns consensus value for given annotation key

Signature:getConsensusAnnotation (String annoName)
Parameters:annoName (String) – annotation key
Returns:Consensus value (if not present new String[0])
Return type:String
getQuantAnnotation(*args)[source]

Returns all annotation value for given annotation key

Signature:getQuantAnnotation (String annoName)
Parameters:annoName (String) – annotation key
Returns:array of annotation values (if not present new double[0])
Return type:double[]
getTextAnnotation(*args)[source]

Returns all annotation values for a given annotation key

Signature:getTextAnnotation (String annoName)
Parameters:annoName (String) – annotation key
Returns:array of annotation values (if not present new String[0])
Return type:String[]

TASSELpy.net.maizegenetics.util.GeneralAnnotationStorage module

class TASSELpy.net.maizegenetics.util.GeneralAnnotationStorage.GeneralAnnotationStorage(*args, **kwargs)[source]

Bases: TASSELpy.net.maizegenetics.util.GeneralAnnotation.GeneralAnnotation

Stores general annotations

Methods

Builder
castTo(pyType) Casts this object to another java/python type
clone(*args) Creates and returns a copy of this object
equals(*args) Indicates whether some other object is “equal to” this one
getAllAnnotationEntries(*args) Returns all annotation Map.Entries
getAnnotation(*args) Returns all annotation value for a given annotation key
getAnnotationAsMap(*args) Returns all annotations in TreeMap
getArray(size) Gets an empty wrapped java array that can accept the type of the wrapped
getAverageAnnotation(*args) Returns average annotation for a given annotation key
getBuilder(*args) Gets a builder for a GeneralAnnotationStorage object
getClass(*args) Returns the runtime class of this Object.
getConsensusAnnotation(*args) Returns consensus value for given annotation key
getDblArray(rows[, cols]) Gets an empty wrapped java array that can accept the type of other wrapped java arrays: i.e.
getQuantAnnotation(*args) Returns all annotation value for given annotation key
getTextAnnotation(*args) Returns all annotation values for a given annotation key
hashCode(*args) Returns a hash code vlaue for the object
toString(*args) Returns a string representation of the object
wrap_existing_array(arr_instance) Wraps a java array of this class’s type
class Builder(*args, **kwargs)[source]

Bases: TASSELpy.java.lang.Object.Object

Builder for GeneralAnnotationStorage

Methods

addAnnotation
build
castTo
clone
equals
getArray
getClass
getDblArray
hashCode
toString
wrap_existing_array
__init__(*args, **kwargs)[source]
addAnnotation(*args)[source]

Add a non-standard annotation

Signature:

addAnnotation (String key, String value)

Signature:

addAnnotation (String key, Number value)

Parameters:
  • key (String) – key
  • value (Number) – value
Returns:

Instance of the builder with the annotation added

Return type:

Builder

build(*args)[source]

Builds the GeneralAnnotationStorage object

Signature:build ()
Returns:The built object
Return type:GeneralAnnotationStorage
static GeneralAnnotationStorage.getBuilder(*args)[source]

Gets a builder for a GeneralAnnotationStorage object

Signature:getBuilder ()
Returns:A builder
Return type:Builder

TASSELpy.net.maizegenetics.util.OpenBitSet module

class TASSELpy.net.maizegenetics.util.OpenBitSet.OpenBitSet(*args, **kwargs)[source]

Bases: TASSELpy.net.maizegenetics.util.BitSet.BitSet

Methods

andNot(*args) this = this ANDNOT other
capacity(*args) Returns capacity
cardinality(*args) Returns number of set bits
castTo(pyType) Casts this object to another java/python type
clear(*args) Clears a bit or range of bits, allowing access beyond the current set
clone(*args) Creates and returns a copy of this object
ensureCapacity(*args) Ensure that the long[] is big enough to hold numBits, expanding it if necessary.
ensureCapacityWords(*args) Expand the long[] with the size given as a number of words (64 bit longs).
equals(*args) Indicates whether some other object is “equal to” this one
fastClear(*args) Clears a bit
fastFlip(*args) Flips a bit.
fastGet(*args) Returns true or false for the specified bit index
fastSet(*args) Sets the bit at the specified index.
flip(*args) Flips a bit, expanding the set size if necessary
flipAndGet(*args) Flips a bit and returns the resulting bit value.
get(*args) Returns true or false for the specified bit index
getAndSet(*args) Sets a bit and returns the previous value.
getArray(size) Gets an empty wrapped java array that can accept the type of the wrapped
getBit(*args) Returns 1 if the bit is set, 0 if not
getBits(*args) Expert: returns the long[] storing the bits
getClass(*args) Returns the runtime class of this Object.
getDblArray(rows[, cols]) Gets an empty wrapped java array that can accept the type of other wrapped java arrays: i.e.
getIndicesOfSetBits(*args) Returns the indices of set bits
getNumWords(*args) Expert: gets the number of longs in the array that
hashCode(*args) Returns a hash code vlaue for the object
indexOfNthSetBit(*args) Returns index of the nth set bit
intersect(*args) this = this AND other
intersects(*args) Returns true if the sets have any elements in common
isEmpty(*args) Returns true if there are no set bits
nextSetBit(*args) Returns the index of the first set bit starting at the index specified.
previousSetBit(*args) Returns the index of the previous set bit starting at the index specified.
remove(*args) Remove all elements set in other.
set(*args) Sets a bit, expanding the set size if necessary
setBits(*args) Expert: sets a new long[] to use as the bit storage
setLong(*args) Expert: sets the specified word with given bits
setNumWords(*args) Expert: sets the number of longs in the array that are in use
size(*args) Returns the current capacity of this set.
toString(*args) Returns a string representation of the object
trimTrailingZeros(*args) Lowers numWords, the number of words in use, by checking for trailing
union(*args) this = this OR other
wrap_existing_array(arr_instance) Wraps a java array of this class’s type
xor(*args) this = this XOR other
__init__(*args, **kwargs)[source]

An “open” BitSet implementation that allows direct access to the array of words storing the bits

Unlike java.util.bitset, the fact that bits are packed into an array of longs is part of the interface. This allows efficient implementation of other algorithms by someone other than the author. It also allows one to efficiently implement alternate serialization or interchange formats.

OpenBitSet is faster than java.util.BitSet in most operations and much faster at calculating cardinality of sets and results of set operations. It can also handle sets of larger cardinality (up to 64*2**32-1

The goals of OpenBitSet are the fastest implementation possible, and maximum code reuse. Extra safety and encapsulation may always be built on top, but if that’s built in, the cost can never be removed (and hence people re-implement their own version in order to get better performance). If you want a “safe”, totally encapsulated (and slower and limited) BitSet class (coward), use java.util.BitSet

Signatures:

OpenBitSet(BitSet cloneOBS) OpenBitSet(long[] bits) OpenBitSet(long[] bits, int numWords) OpenBitSet() OpenBitSet(long numBits)

Arguments:

numBits – Specifies the OpenBitSet to be large enough to hold numBits bits – The first 64 bits are in long[0], with bit index 0 at the least significant bit,

and bit index 63 as the most significant. Given a bit index, the word containing it is long[index/64], and it is at bit number index index%64 within that word.
numWords – Should be less than bits.length, and any existing words in the array at postion
greater than numWords should be zero

cloneOBS – An instance of a class that implements the BitSet interface

TASSELpy.net.maizegenetics.util.ProgressListener module

class TASSELpy.net.maizegenetics.util.ProgressListener.ProgressListener(*args, **kwargs)[source]

Bases: TASSELpy.java.lang.Object.Object

Methods

castTo(pyType) Casts this object to another java/python type
clone(*args) Creates and returns a copy of this object
equals(*args) Indicates whether some other object is “equal to” this one
getArray(size) Gets an empty wrapped java array that can accept the type of the wrapped
getClass(*args) Returns the runtime class of this Object.
getDblArray(rows[, cols]) Gets an empty wrapped java array that can accept the type of other wrapped java arrays: i.e.
hashCode(*args) Returns a hash code vlaue for the object
progress(*args) Returns the progress of execution
toString(*args) Returns a string representation of the object
wrap_existing_array(arr_instance) Wraps a java array of this class’s type
__init__(*args, **kwargs)[source]
progress(*args)[source]

Returns the progress of execution

Signature:

progress (int percent, Object meta)

Parameters:
  • percent (int) – percent complete
  • meta (Object) – meta data

TASSELpy.net.maizegenetics.util.TableReport module

class TASSELpy.net.maizegenetics.util.TableReport.TableReport(*args, **kwargs)[source]

Bases: TASSELpy.java.lang.Object.Object

Interface for classes with data that can be presented in tables

Methods

castTo(pyType) Casts this object to another java/python type
clone(*args) Creates and returns a copy of this object
equals(*args) Indicates whether some other object is “equal to” this one
getArray(size) Gets an empty wrapped java array that can accept the type of the wrapped
getClass(*args) Returns the runtime class of this Object.
getColumnCount(*args) Gets the number of columns
getDblArray(rows[, cols]) Gets an empty wrapped java array that can accept the type of other wrapped java arrays: i.e.
getElementCount(*args) Gets the total number of elements in the dataset
getRow(*args) Returns specified row
getRowCount(*args) Gets the number of rows
getTableColumnNames(*args) Gets the names of the columns
getTableTitle(*args) Gets the title of the table
getValueAt(*args) Returns value at given row and column
hashCode(*args) Returns a hash code vlaue for the object
toDict() Outputs the table as a dictionary
toString(*args) Returns a string representation of the object
wrap_existing_array(arr_instance) Wraps a java array of this class’s type
__init__(*args, **kwargs)[source]
getColumnCount(*args)[source]

Gets the number of columns

Signature:getColumnCount ()
Returns:Number of columns
Return type:int
getElementCount(*args)[source]

Gets the total number of elements in the dataset Elements = rowCount*columnCount

Signature:getElementCount ()
Returns:Total number of elements
Return type:long
getRow(*args)[source]

Returns specified row

Signature:getRow (long row)
Parameters:row (long) – row number
Returns:row
Return type:Object[]
getRowCount(*args)[source]

Gets the number of rows

Signature:getRowCount ()
Returns:Number of rows
Return type:long
getTableColumnNames(*args)[source]

Gets the names of the columns

Signature:getTableColumnNames ()
Returns:Column names
Return type:Object[]
getTableTitle(*args)[source]

Gets the title of the table

Signature:getTableTitle ()
Returns:A string title
Return type:String
getValueAt(*args)[source]

Returns value at given row and column

Signature:

getValueAt (int row, int col)

Parameters:
  • row (int) – row number
  • col (int) – column number
Returns:

data

Return type:

Object

toDict()[source]

Outputs the table as a dictionary

Returns:Dictionary of column -> (vals)

TASSELpy.net.maizegenetics.util.UnmodifiableBitSet module

class TASSELpy.net.maizegenetics.util.UnmodifiableBitSet.UnmodifiableBitSet(*args, **kwargs)[source]

Bases: TASSELpy.net.maizegenetics.util.BitSet.BitSet

Methods

andNot(*args) this = this ANDNOT other
capacity(*args) Returns capacity
cardinality(*args) Returns number of set bits
castTo(pyType) Casts this object to another java/python type
clear(*args) Clears a bit or range of bits, allowing access beyond the current set
clone(*args) Creates and returns a copy of this object
ensureCapacity(*args) Ensure that the long[] is big enough to hold numBits, expanding it if necessary.
ensureCapacityWords(*args) Expand the long[] with the size given as a number of words (64 bit longs).
equals(*args) Indicates whether some other object is “equal to” this one
fastClear(*args) Clears a bit
fastFlip(*args) Flips a bit.
fastGet(*args) Returns true or false for the specified bit index
fastSet(*args) Sets the bit at the specified index.
flip(*args) Flips a bit, expanding the set size if necessary
flipAndGet(*args) Flips a bit and returns the resulting bit value.
get(*args) Returns true or false for the specified bit index
getAndSet(*args) Sets a bit and returns the previous value.
getArray(size) Gets an empty wrapped java array that can accept the type of the wrapped
getBit(*args) Returns 1 if the bit is set, 0 if not
getBits(*args) Expert: returns the long[] storing the bits
getClass(*args) Returns the runtime class of this Object.
getDblArray(rows[, cols]) Gets an empty wrapped java array that can accept the type of other wrapped java arrays: i.e.
getIndicesOfSetBits(*args) Returns the indices of set bits
getInstance(*args) Get instance of UnmodifiableBitSet from a BitSet
getNumWords(*args) Expert: gets the number of longs in the array that
hashCode(*args) Returns a hash code vlaue for the object
indexOfNthSetBit(*args) Returns index of the nth set bit
intersect(*args) this = this AND other
intersects(*args) Returns true if the sets have any elements in common
isEmpty(*args) Returns true if there are no set bits
nextSetBit(*args) Returns the index of the first set bit starting at the index specified.
previousSetBit(*args) Returns the index of the previous set bit starting at the index specified.
remove(*args) Remove all elements set in other.
set(*args) Sets a bit, expanding the set size if necessary
setBits(*args) Expert: sets a new long[] to use as the bit storage
setLong(*args) Expert: sets the specified word with given bits
setNumWords(*args) Expert: sets the number of longs in the array that are in use
size(*args) Returns the current capacity of this set.
toString(*args) Returns a string representation of the object
trimTrailingZeros(*args) Lowers numWords, the number of words in use, by checking for trailing
union(*args) this = this OR other
wrap_existing_array(arr_instance) Wraps a java array of this class’s type
xor(*args) this = this XOR other
__init__(*args, **kwargs)[source]

Instantiates UnmodifiableBitSet

Arguments:

obj – A Java instance implementing BitSet interface

static getInstance(*args)[source]

Get instance of UnmodifiableBitSet from a BitSet

Arguments:

bitSet – An instance of a BitSet

Returns:

An UnmodifiableBitSet

Module contents