All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jedi.example.StormtrooperStaticClosureFactory Maven / Gradle / Ivy

There is a newer version: 3.0.5
Show newest version
package jedi.example;

public class StormtrooperStaticClosureFactory {
	private static IStormtrooperClosureFactory $DELEGATE = new StormtrooperClosureFactory();

	public static void setDelegate(IStormtrooperClosureFactory newDelegate) {
		jedi.assertion.Assert.assertNotNull(newDelegate, "newDelegate must not be null");
		$DELEGATE = newDelegate;
	}

	public static void useDefaultDelegate() {
		setDelegate(new StormtrooperClosureFactory());
	}
	/**
	 * @see jedi.example.Stormtrooper#attack
	 */
	public static  jedi.functional.Command attackCommand(final jedi.example.RebelBase base) {
		return $DELEGATE.attackCommand(base);
	}
	/**
	 * @see jedi.example.Stormtrooper#attack
	 */
	public static  jedi.functional.Command attackProxyCommand(final jedi.example.Stormtrooper $receiver) {
		return $DELEGATE.attackProxyCommand($receiver);
	}
	/**
	 * @see jedi.example.Stormtrooper#getDistance
	 */
	public static  jedi.functional.Functor getDistanceFunctor(final jedi.example.RebelBase base) {
		return $DELEGATE.getDistanceFunctor(base);
	}
	/**
	 * @see jedi.example.Stormtrooper#getDistance
	 */
	public static  jedi.functional.Functor getDistanceProxyFunctor(final jedi.example.Stormtrooper $receiver) {
		return $DELEGATE.getDistanceProxyFunctor($receiver);
	}
	/**
	 * @see jedi.example.Stormtrooper#isWithinRange
	 */
	public static  jedi.functional.Filter isWithinRangeFilter(final jedi.example.RebelBase base) {
		return $DELEGATE.isWithinRangeFilter(base);
	}
	/**
	 * @see jedi.example.Stormtrooper#isWithinRange
	 */
	public static  jedi.functional.Filter isWithinRangeProxyFilter(final jedi.example.Stormtrooper $receiver) {
		return $DELEGATE.isWithinRangeProxyFilter($receiver);
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy