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

package it.unimi.dsi.fastutil.objects;

import it.unimi.dsi.fastutil.Pair;

public interface ReferenceShortPair<K> extends Pair<K, Short>
{
    short rightShort();
    
    @Deprecated
    default Short right() {
        return this.rightShort();
    }
    
    default ReferenceShortPair<K> right(final short r) {
        throw new UnsupportedOperationException();
    }
    
    @Deprecated
    default ReferenceShortPair<K> right(final Short l) {
        return this.right((short)l);
    }
    
    default short secondShort() {
        return this.rightShort();
    }
    
    @Deprecated
    default Short second() {
        return this.secondShort();
    }
    
    default ReferenceShortPair<K> second(final short r) {
        return this.right(r);
    }
    
    @Deprecated
    default ReferenceShortPair<K> second(final Short l) {
        return this.second((short)l);
    }
    
    default short valueShort() {
        return this.rightShort();
    }
    
    @Deprecated
    default Short value() {
        return this.valueShort();
    }
    
    default ReferenceShortPair<K> value(final short r) {
        return this.right(r);
    }
    
    @Deprecated
    default ReferenceShortPair<K> value(final Short l) {
        return this.value((short)l);
    }
    
    default <K> ReferenceShortPair<K> of(final K left, final short right) {
        return new ReferenceShortImmutablePair<K>(left, right);
    }
}
