Newer
Older
JumpingGame / src / main / java / entities / Pair.java
k-fujii on 15 Nov 2021 311 bytes entity→entitiesに変更
package entities;

public class Pair<T> {
    private T first;
    private T second;

    public Pair(T first, T second) {
        this.first = first;
        this.second = second;
    }

    public T getFirst() {
        return this.first;
    }

    public T getSecond() {
        return this.second;
    }
}