Package net.hydromatic.morel.eval
Class Codes.StringSub
- java.lang.Object
-
- net.hydromatic.morel.eval.ApplicableImpl
-
- net.hydromatic.morel.eval.Applicable2<Character,String,Integer>
-
- net.hydromatic.morel.eval.Codes.StringSub
-
- All Implemented Interfaces:
Applicable,Codes.Positioned,Describable
- Enclosing class:
- Codes
private static class Codes.StringSub extends Applicable2<Character,String,Integer> implements Codes.Positioned
ImplementsBuiltIn.STRING_SUB.
-
-
Field Summary
-
Fields inherited from class net.hydromatic.morel.eval.ApplicableImpl
pos
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Characterapply(String s, Integer i)Codes.StringSubwithPos(Pos pos)-
Methods inherited from class net.hydromatic.morel.eval.Applicable2
apply
-
Methods inherited from class net.hydromatic.morel.eval.ApplicableImpl
describe, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.hydromatic.morel.eval.Applicable
apply, asCode
-
Methods inherited from interface net.hydromatic.morel.eval.Describable
describe
-
-
-
-
Constructor Detail
-
StringSub
StringSub(Pos pos)
-
-
Method Detail
-
apply
public Character apply(String s, Integer i)
- Specified by:
applyin classApplicable2<Character,String,Integer>
-
withPos
public Codes.StringSub withPos(Pos pos)
- Specified by:
withPosin interfaceCodes.Positioned
-
-