Class IntegerOperationContributor
- java.lang.Object
-
- org.eclipse.epsilon.eol.execute.operations.contributors.OperationContributor
-
- org.eclipse.epsilon.eol.execute.operations.contributors.IntegerOperationContributor
-
- All Implemented Interfaces:
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(Object target)
protected Integer
getTarget()
EolSequence<Integer>
iota(int i, int step)
Integer
mod(Integer other)
EolSequence<Integer>
to(Integer end)
String
toBinary()
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(Object target)
- Specified by:
contributesTo
in classOperationContributor
-
getTarget
protected Integer getTarget()
- Overrides:
getTarget
in classOperationContributor
- Returns:
- The
OperationContributor.target
field.
-
to
public EolSequence<Integer> to(Integer end)
-
iota
public EolSequence<Integer> iota(int i, int step) throws Exception
- Throws:
Exception
-
toBinary
public String toBinary()
-
toHex
public String toHex()
-
-