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 ContextActionContext action of theandoperator.static final ContextActionContext action of thenotoperator.static final ContextActionContext action of theoroperator.static final ContextActionContext action of thexoroperator.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 theandoperator. -
PSY_NOT
Context action of thenotoperator. -
PSY_OR
Context action of theoroperator. -
PSY_XOR
Context action of thexoroperator.
-
-
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
-