1 2 3 4 5 6 7 8 9 10 11 12 13
package cc.polyfrost.oneconfig.utils.holder; public abstract class Holder<T> { protected T holder; public Holder(T holder) { this.holder = holder; } public abstract T getHolder() throws UnsupportedOperationException; public abstract void setHolder() throws UnsupportedOperationException; }