Package org.drools.core.util.bitmask
Class AllSetButLastBitMask
- java.lang.Object
-
- org.drools.core.util.bitmask.SingleLongBitMask
-
- org.drools.core.util.bitmask.AllSetButLastBitMask
-
- All Implemented Interfaces:
Serializable
,Cloneable
,AllSetMask
,BitMask
public class AllSetButLastBitMask extends SingleLongBitMask implements BitMask, AllSetMask
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.drools.core.util.bitmask.BitMask
BitMask.Factory
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description long
asLong()
AllSetButLastBitMask
clone()
static AllSetButLastBitMask
get()
String
getInstancingStatement()
boolean
intersects(BitMask mask)
boolean
isAllSet()
boolean
isEmpty()
boolean
isSet(int index)
BitMask
reset(int index)
BitMask
resetAll(BitMask mask)
BitMask
set(int index)
BitMask
setAll(BitMask mask)
-
Methods inherited from class org.drools.core.util.bitmask.SingleLongBitMask
equals, hashCode, toString
-
-
-
-
Method Detail
-
get
public static AllSetButLastBitMask get()
-
intersects
public boolean intersects(BitMask mask)
- Specified by:
intersects
in interfaceBitMask
-
asLong
public long asLong()
- Specified by:
asLong
in classSingleLongBitMask
-
clone
public AllSetButLastBitMask clone()
- Specified by:
clone
in interfaceBitMask
- Specified by:
clone
in classSingleLongBitMask
-
getInstancingStatement
public String getInstancingStatement()
- Specified by:
getInstancingStatement
in interfaceBitMask
-
-