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

package it.unimi.dsi.fastutil.ints;

import it.unimi.dsi.fastutil.Pair;

public interface IntReferencePair<V> extends Pair<Integer, V>
{
    int leftInt();
    
    @Deprecated
    default Integer left() {
        return this.leftInt();
    }
    
    default IntReferencePair<V> left(final int l) {
        throw new UnsupportedOperationException();
    }
    
    @Deprecated
    default IntReferencePair<V> left(final Integer l) {
        return this.left((int)l);
    }
    
    default int firstInt() {
        return this.leftInt();
    }
    
    @Deprecated
    default Integer first() {
        return this.firstInt();
    }
    
    default IntReferencePair<V> first(final int l) {
        return this.left(l);
    }
    
    @Deprecated
    default IntReferencePair<V> first(final Integer l) {
        return this.first((int)l);
    }
    
    default int keyInt() {
        return this.firstInt();
    }
    
    @Deprecated
    default Integer key() {
        return this.keyInt();
    }
    
    default IntReferencePair<V> key(final int l) {
        return this.left(l);
    }
    
    @Deprecated
    default IntReferencePair<V> key(final Integer l) {
        return this.key((int)l);
    }
    
    default <V> IntReferencePair<V> of(final int left, final V right) {
        return new IntReferenceImmutablePair<V>(left, right);
    }
}
