aa
com.cliffc.aa.util.BitSetSparse Class Reference
Collaboration diagram for com.cliffc.aa.util.BitSetSparse:
[legend]

Public Member Functions

void clear ()
 
boolean tset (int b0, int b1)
 
boolean tset (long b)
 

Package Attributes

NonBlockingHashMapLong< String > _set = new NonBlockingHashMapLong<>()
 

Detailed Description

Definition at line 4 of file BitSetSparse.java.

Member Function Documentation

◆ clear()

void com.cliffc.aa.util.BitSetSparse.clear ( )

Definition at line 8 of file BitSetSparse.java.

8 { _set.clear(); }

References com.cliffc.aa.util.BitSetSparse._set, and com.cliffc.aa.util.NonBlockingHashMapLong< TypeV >.clear().

Here is the call graph for this function:

◆ tset() [1/2]

boolean com.cliffc.aa.util.BitSetSparse.tset ( int  b0,
int  b1 
)

Definition at line 6 of file BitSetSparse.java.

6 { return tset(((long)b0<<32)|b1); }

References com.cliffc.aa.util.BitSetSparse.tset().

Referenced by com.cliffc.aa.HM.HM3.Oper._eq(), com.cliffc.aa.type.TypeStruct.ax_meet(), and com.cliffc.aa.util.BitSetSparse.tset().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ tset() [2/2]

boolean com.cliffc.aa.util.BitSetSparse.tset ( long  b)

Definition at line 7 of file BitSetSparse.java.

7 { return _set.put(b,"")!=null; }

References com.cliffc.aa.util.BitSetSparse._set, and com.cliffc.aa.util.NonBlockingHashMapLong< TypeV >.put().

Here is the call graph for this function:

Member Data Documentation

◆ _set

NonBlockingHashMapLong<String> com.cliffc.aa.util.BitSetSparse._set = new NonBlockingHashMapLong<>()
package

The documentation for this class was generated from the following file:
com.cliffc.aa.util.BitSetSparse.tset
boolean tset(int b0, int b1)
Definition: BitSetSparse.java:6
com.cliffc.aa.util.NonBlockingHashMapLong.clear
void clear()
Removes all of the mappings from this map.
Definition: NonBlockingHashMapLong.java:332
com.cliffc.aa.util.BitSetSparse._set
NonBlockingHashMapLong< String > _set
Definition: BitSetSparse.java:5
com.cliffc.aa.util.NonBlockingHashMapLong.put
TypeV put(long key, TypeV val)
Maps the specified key to the specified value in the table.
Definition: NonBlockingHashMapLong.java:278