/*
 * Project: ImpishExploration
 * Module: Placeholder_Game-Core_main
 * File: Pair.java
 *
 * Created by Tim on 11/06/17 13:54 on behalf of SmithsGaming
 * Copyright (c) 2017. All rights reserved.
 *
 * Last modified 11/06/17 13:48
 */

package com.scoutgamestudio.placeholder.common.util;

/**
 * Created by Tim on 14/09/2016.
 */
public class Pair<V> {

    private Object[] data = new Object[2];

    public Pair(V a, V b) {
        this.data[0] = a;
        this.data[1] = b;
    }

    public V getFirst() {
        return (V) data[0];
    }

    public V getSecond() {
        return (V) data[1];
    }

}