codesimian
Class DefaultCSCallOptions

java.lang.Object
  extended by codesimian.DefaultCSCallOptions
All Implemented Interfaces:
CSCallOptions

public class DefaultCSCallOptions
extends java.lang.Object
implements CSCallOptions


Constructor Summary
DefaultCSCallOptions(java.lang.Class returnType, double location, double size, boolean changesTargetsSize, boolean destroysTargetsData)
           
DefaultCSCallOptions(java.lang.Class returnType, double location, double size, char GorSorIorD)
           
 
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
 boolean equals(java.lang.Object o)
           
 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
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefaultCSCallOptions

public DefaultCSCallOptions(java.lang.Class returnType,
                            double location,
                            double size,
                            boolean changesTargetsSize,
                            boolean destroysTargetsData)

DefaultCSCallOptions

public DefaultCSCallOptions(java.lang.Class returnType,
                            double location,
                            double size,
                            char GorSorIorD)
Method Detail

returnType

public java.lang.Class returnType()
Specified by:
returnType in interface CSCallOptions

location

public double location()
Description copied from interface: CSCallOptions
only used if 0
Specified by:
location in interface CSCallOptions

size

public double size()
Description copied from interface: CSCallOptions
if size()==0 then the target is the CS itself, not a subrange of its parameters with this size

Specified by:
size in interface CSCallOptions

changesTargetsSize

public boolean changesTargetsSize()
Description copied from interface: CSCallOptions
true for INSERT and DELETE, false for GET and SET. One exception: SET(countP(),x) should be interpreted as INSERT(countP(),x).

Specified by:
changesTargetsSize in interface CSCallOptions

destroysTargetsData

public boolean destroysTargetsData()
Description copied from interface: CSCallOptions
true for SET and DELETE, false for GET and INSERT

Specified by:
destroysTargetsData in interface CSCallOptions

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object