/*
 * Copyright (c) 2004-2017, by Alex Leigh.
 * All rights reserved.
 *
 * THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE
 * The copyright notice above does not evidence any
 * actual or intended publication of such source code.
 */

package lc.mecha.lang;

/**
 * Extends <code>FutureResult</code> to provide storage for a reference.
 *
 * @param <K>
 * @param <T>
 */
public class ReferencingFutureResult<K, T> extends FutureResult<T> {
    private final K reference;


    public ReferencingFutureResult(final K reference) {
        this.reference = reference;
    }

    public K getReference() {
        return reference;
    }
}
