Class IntegerOperationContributor
- java.lang.Object
-
- org.eclipse.epsilon.eol.execute.operations.contributors.OperationContributor
-
- org.eclipse.epsilon.eol.execute.operations.contributors.IntegerOperationContributor
-
- All Implemented Interfaces:
java.lang.AutoCloseable
public class IntegerOperationContributor extends OperationContributor
-
-
Field Summary
-
Fields inherited from class org.eclipse.epsilon.eol.execute.operations.contributors.OperationContributor
cachedMethodNames
-
-
Constructor Summary
Constructors Constructor Description IntegerOperationContributor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
contributesTo(java.lang.Object target)
protected java.lang.Integer
getTarget()
EolSequence<java.lang.Integer>
iota(int i, int step)
java.lang.Integer
mod(java.lang.Integer other)
EolSequence<java.lang.Integer>
to(java.lang.Integer end)
java.lang.String
toBinary()
java.lang.String
toHex()
-
Methods inherited from class org.eclipse.epsilon.eol.execute.operations.contributors.OperationContributor
close, findContributedMethodForEvaluatedParameters, findContributedMethodForEvaluatedParameters, findContributedMethodForUnevaluatedParameters, getContext, getReflectionTarget, includeInheritedMethods, setContext, setTarget
-
-
-
-
Method Detail
-
contributesTo
public boolean contributesTo(java.lang.Object target)
- Specified by:
contributesTo
in classOperationContributor
-
getTarget
protected java.lang.Integer getTarget()
- Overrides:
getTarget
in classOperationContributor
- Returns:
- The
OperationContributor.target
field.
-
to
public EolSequence<java.lang.Integer> to(java.lang.Integer end)
-
iota
public EolSequence<java.lang.Integer> iota(int i, int step) throws java.lang.Exception
- Throws:
java.lang.Exception
-
toBinary
public java.lang.String toBinary()
-
toHex
public java.lang.String toHex()
-
mod
public java.lang.Integer mod(java.lang.Integer other)
-
-