public class FingerprintSubset
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Method and Description |
---|---|
static boolean |
isSubset(java.util.BitSet source,
java.util.BitSet destination)
Determine if this set is an (improper) subset of another.
|
static boolean |
isSuperSet(java.util.BitSet source,
java.util.BitSet destination)
Determine if this set is an (improper) superset of another.
|
protected static void |
not_null(java.lang.Object obj)
Helper function to test for a null object and throw an exception if one is found.
|
public static boolean isSubset(java.util.BitSet source, java.util.BitSet destination) throws org.openscience.cdk.exception.CDKException
source
- the set we are testing for.destination
- the set we are testing against.org.openscience.cdk.exception.CDKException
public static boolean isSuperSet(java.util.BitSet source, java.util.BitSet destination) throws org.openscience.cdk.exception.CDKException
source
- the set we are testing for.destination
- the set we are testing against.org.openscience.cdk.exception.CDKException
protected static void not_null(java.lang.Object obj) throws org.openscience.cdk.exception.CDKException
obj
- the object we are testing.org.openscience.cdk.exception.CDKException