// 
// Decompiled by Procyon v0.6.0
// 

package it.unimi.dsi.fastutil.shorts;

import it.unimi.dsi.fastutil.Pair;

public interface ShortReferencePair<V> extends Pair<Short, V>
{
    short leftShort();
    
    @Deprecated
    default Short left() {
        return this.leftShort();
    }
    
    default ShortReferencePair<V> left(final short l) {
        throw new UnsupportedOperationException();
    }
    
    @Deprecated
    default ShortReferencePair<V> left(final Short l) {
        return this.left((short)l);
    }
    
    default short firstShort() {
        return this.leftShort();
    }
    
    @Deprecated
    default Short first() {
        return this.firstShort();
    }
    
    default ShortReferencePair<V> first(final short l) {
        return this.left(l);
    }
    
    @Deprecated
    default ShortReferencePair<V> first(final Short l) {
        return this.first((short)l);
    }
    
    default short keyShort() {
        return this.firstShort();
    }
    
    @Deprecated
    default Short key() {
        return this.keyShort();
    }
    
    default ShortReferencePair<V> key(final short l) {
        return this.left(l);
    }
    
    @Deprecated
    default ShortReferencePair<V> key(final Short l) {
        return this.key((short)l);
    }
    
    default <V> ShortReferencePair<V> of(final short left, final V right) {
        return new ShortReferenceImmutablePair<V>(left, right);
    }
}
