Module coneforest.psylla
Package coneforest.psylla.core
Interface PsyLogical<T extends PsyLogical<T>>
- Type Parameters:
T
- a type of the second operand at binary operation.
- All Superinterfaces:
PsyObject
- All Known Subinterfaces:
PsyBitwise<T>
,PsyIntegral
- All Known Implementing Classes:
PsyBigInteger
,PsyBitArray
,PsyBoolean
,PsyInteger
The representation of
logical
, a type of object that is an operand of logical operation.
This interface declares methods for logical negation, disjunction, conjunction and exclusive
disjunction.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ContextAction
Context action of theand
operator.static final ContextAction
Context action of thenot
operator.static final ContextAction
Context action of theor
operator.static final ContextAction
Context action of thexor
operator.Fields inherited from interface coneforest.psylla.core.PsyObject
PSY_CLONE, PSY_EQ, PSY_HASHCODE, PSY_INSTANCEOF, PSY_NE, PSY_TOSTRING, PSY_TOSTRINGBUFFER, PSY_TYPE
-
Method Summary
Modifier and TypeMethodDescriptionReturns a result of logical conjunction of this object and given object.psyNot()
Returns a result of logical negation of this object.Returns a result of logical disjunction of this object and given object.Returns a result of logical exclusive disjunction of this object and given object.Methods inherited from interface coneforest.psylla.core.PsyObject
convert, execute, invoke, psyClone, psyEq, psyHashCode, psyInstanceOf, psyNe, psySyntax, psyToString, psyToStringBuffer, psyType, toSyntaxString, typeName
-
Field Details
-
PSY_AND
Context action of theand
operator. -
PSY_NOT
Context action of thenot
operator. -
PSY_OR
Context action of theor
operator. -
PSY_XOR
Context action of thexor
operator.
-
-
Method Details
-
psyNot
PsyLogical<T> psyNot()Returns a result of logical negation of this object.- Returns:
- a result of logical negation of this object
-
psyOr
Returns a result of logical disjunction of this object and given object.- Parameters:
oLogical
- given object.- Returns:
- a result of logical disjunction of this object and given object
-
psyAnd
Returns a result of logical conjunction of this object and given object.- Parameters:
oLogical
- given object.- Returns:
- a result of logical conjunction of this object and given object
-
psyXor
Returns a result of logical exclusive disjunction of this object and given object.- Parameters:
oLogical
- given object.- Returns:
- a result of logical exclusive disjunction of this object and given object
-