def double(self):
        return SampleClass(self.val + self.val)
A decorator that memoizes the results of a decorated function.
dataset/ETHPy150Open babble/babble/include/jython/Lib/test/test_doctest.py/SampleClass.double--crossover with--dataset/ETHPy150Open christabor/MoAL/MOAL/maths/applied/optimization/memoization.py/memoize