Class IntegerOperationContributor
- java.lang.Object
-
- org.eclipse.epsilon.eol.execute.operations.contributors.OperationContributor
-
- org.eclipse.epsilon.eol.execute.operations.contributors.IntegerOperationContributor
-
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 booleancontributesTo(java.lang.Object target)protected java.lang.IntegergetTarget()EolSequence<java.lang.Integer>iota(int i, int step)java.lang.Integermod(java.lang.Integer other)EolSequence<java.lang.Integer>to(java.lang.Integer end)java.lang.StringtoBinary()java.lang.StringtoHex()-
Methods inherited from class org.eclipse.epsilon.eol.execute.operations.contributors.OperationContributor
findContributedMethodForEvaluatedParameters, findContributedMethodForEvaluatedParameters, findContributedMethodForUnevaluatedParameters, getContext, getReflectionTarget, includeInheritedMethods, setContext, setTarget
-
-
-
-
Method Detail
-
contributesTo
public boolean contributesTo(java.lang.Object target)
- Specified by:
contributesToin classOperationContributor
-
getTarget
protected java.lang.Integer getTarget()
- Overrides:
getTargetin classOperationContributor- Returns:
- The
OperationContributor.targetfield.
-
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)
-
-