aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/cc/polyfrost/oneconfig/utils/holder/Holder.java
blob: 9488d4b919b403a7c27f22404f11fa83ee7c2ac6 (plain)
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;
}