001/* 002 * Shredzone Commons - suncalc 003 * 004 * Copyright (C) 2020 Richard "Shred" Körber 005 * http://commons.shredzone.org 006 * 007 * Licensed under the Apache License, Version 2.0 (the "License"); 008 * you may not use this file except in compliance with the License. 009 * 010 * This program is distributed in the hope that it will be useful, 011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 013 */ 014package org.shredzone.commons.suncalc.param; 015 016/** 017 * Generic parameters and options. 018 * 019 * @param <T> 020 * Type of the final builder 021 */ 022public interface GenericParameter<T> { 023 024 /** 025 * Creates a copy of the current parameters. The copy can be changed independently. 026 * 027 * @since 2.8 028 */ 029 T copy(); 030 031}