jedi.example.ProjectEulerStaticClosureFactory Maven / Gradle / Ivy
package jedi.example;
public class ProjectEulerStaticClosureFactory {
private static IProjectEulerClosureFactory $DELEGATE = new ProjectEulerClosureFactory();
public static void setDelegate(IProjectEulerClosureFactory newDelegate) {
jedi.assertion.Assert.assertNotNull(newDelegate, "newDelegate must not be null");
$DELEGATE = newDelegate;
}
public static void useDefaultDelegate() {
setDelegate(new ProjectEulerClosureFactory());
}
/**
* @see jedi.example.ProjectEuler#div
*/
public static jedi.functional.Filter2 divFilter2(final java.lang.Integer x) {
return $DELEGATE.divFilter2(x);
}
/**
* @see jedi.example.ProjectEuler#div
*/
public static jedi.functional.Filter divProxyFilter(final jedi.example.ProjectEuler $receiver, final java.lang.Integer y) {
return $DELEGATE.divProxyFilter($receiver, y);
}
/**
* @see jedi.example.ProjectEuler#multiply
*/
public static jedi.functional.Functor multiplyFunctor(final java.lang.Integer a, final java.lang.Integer b) {
return $DELEGATE.multiplyFunctor(a, b);
}
/**
* @see jedi.example.ProjectEuler#multiply
*/
public static jedi.functional.Functor2 multiplyProxyFunctor2(final jedi.example.ProjectEuler $receiver) {
return $DELEGATE.multiplyProxyFunctor2($receiver);
}
/**
* @see jedi.example.ProjectEuler#isPalindrome
*/
public static jedi.functional.Filter isPalindromeFilter(final java.lang.Integer x) {
return $DELEGATE.isPalindromeFilter(x);
}
/**
* @see jedi.example.ProjectEuler#isPalindrome
*/
public static jedi.functional.Filter isPalindromeProxyFilter(final jedi.example.ProjectEuler $receiver) {
return $DELEGATE.isPalindromeProxyFilter($receiver);
}
/**
* @see jedi.example.ProjectEuler#sum
*/
public static jedi.functional.Functor sumFunctor(final java.lang.Integer a, final java.lang.Integer b) {
return $DELEGATE.sumFunctor(a, b);
}
/**
* @see jedi.example.ProjectEuler#sum
*/
public static jedi.functional.Functor2 sumProxyFunctor2(final jedi.example.ProjectEuler $receiver) {
return $DELEGATE.sumProxyFunctor2($receiver);
}
}