Interface Builder<T>
- Type Parameters:
T- Result type
- All Known Subinterfaces:
MoonIllumination.Parameters,MoonPhase.Parameters,MoonPosition.Parameters,MoonTimes.Parameters,SunPosition.Parameters,SunTimes.Parameters
public interface Builder<T>
An interface for the method that eventually executes the calculation.
-
Method Summary
-
Method Details
-
execute
Executes the calculation and returns the desired result.The resulting object is immutable. You can change parameters, and then invoke
execute()again, to get a new object with new results.- Returns:
- Result of the calculation.
-