codesimian
Interface CSCallOptions

All Known Implementing Classes:
DefaultCSCallOptions

public interface CSCallOptions

For example, the CS call: insertL(3, String.class, 5) has this CSCallOptions: Return type: String.class ChangesTargetSize: true DestroysTargetsData: false Location: 3.0 Size: 5.0

If location is 0 and size is countP(), its the same as calling a function on the CS itself instead of its parameters. For example, new S("abc").L(0,String.class,3) equals new S("abc").L(String.class).


Method Summary
 boolean changesTargetsSize()
          true for INSERT and DELETE, false for GET and SET.
 boolean destroysTargetsData()
          true for SET and DELETE, false for GET and INSERT
 double location()
          only used if 0
 java.lang.Class returnType()
           
 double size()
          if size()==0 then the target is the CS itself, not a subrange of its parameters with this size
 

Method Detail

returnType

java.lang.Class returnType()

changesTargetsSize

boolean changesTargetsSize()
true for INSERT and DELETE, false for GET and SET. One exception: SET(countP(),x) should be interpreted as INSERT(countP(),x).


destroysTargetsData

boolean destroysTargetsData()
true for SET and DELETE, false for GET and INSERT


location

double location()
only used if 0

size

double size()
if size()==0 then the target is the CS itself, not a subrange of its parameters with this size