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.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PsyBitwise
psyBitShift(PsyInteger oShift)
PsyBitwise
psyClearBit(PsyInteger oBit)
PsyBitwise
psyFlipBit(PsyInteger oBit)
PsyBitwise
psySetBit(PsyInteger oBit)
PsyBoolean
psyTestBit(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
-
-
-
-
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)
-
-