Package coneforest.psylla.core
Interface PsyBitwise<T extends PsyBitwise>
-
- All Superinterfaces:
PsyConvertableToName,PsyConvertableToString,PsyLogical<T>,PsyObject
- All Known Implementing Classes:
PsyBigInteger,PsyBitArray,PsyInteger
public interface PsyBitwise<T extends PsyBitwise> extends PsyLogical<T>
A representation of Ψ-bitwise, a type of object that is an operand of bitwise operation. This interface declares methods for setting, clearing, testing of certain bits and bitwise shift.
-
-
Field Summary
Fields Modifier and Type Field Description static PsyOperator[]OPERATORS
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PsyBitwisepsyBitShift(PsyInteger oShift)PsyBitwisepsyClearBit(PsyInteger oBit)PsyBitwisepsyFlipBit(PsyInteger oBit)PsyBitwisepsySetBit(PsyInteger oBit)PsyBooleanpsyTestBit(PsyInteger oBit)-
Methods inherited from interface coneforest.psylla.core.PsyLogical
psyAnd, psyNot, psyOr, psyXor
-
Methods inherited from interface coneforest.psylla.core.PsyObject
convert, execute, invoke, psyClone, psyEq, psyHashCode, psyInstanceOf, psyNe, psySyntax, psyToName, psyToString, psyType, toSyntaxString, typeName
-
-
-
-
Field Detail
-
OPERATORS
static final PsyOperator[] OPERATORS
-
-
Method Detail
-
psyClearBit
PsyBitwise psyClearBit(PsyInteger oBit) throws PsyException
- Throws:
PsyException
-
psyFlipBit
PsyBitwise psyFlipBit(PsyInteger oBit) throws PsyException
- Throws:
PsyException
-
psySetBit
PsyBitwise psySetBit(PsyInteger oBit) throws PsyException
- Throws:
PsyException
-
psyTestBit
PsyBoolean psyTestBit(PsyInteger oBit) throws PsyException
- Throws:
PsyException
-
psyBitShift
PsyBitwise psyBitShift(PsyInteger oShift)
-
-