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

package it.unimi.dsi.fastutil.bytes;

import it.unimi.dsi.fastutil.Pair;

public interface ByteReferencePair<V> extends Pair<Byte, V>
{
    byte leftByte();
    
    @Deprecated
    default Byte left() {
        return this.leftByte();
    }
    
    default ByteReferencePair<V> left(final byte l) {
        throw new UnsupportedOperationException();
    }
    
    @Deprecated
    default ByteReferencePair<V> left(final Byte l) {
        return this.left((byte)l);
    }
    
    default byte firstByte() {
        return this.leftByte();
    }
    
    @Deprecated
    default Byte first() {
        return this.firstByte();
    }
    
    default ByteReferencePair<V> first(final byte l) {
        return this.left(l);
    }
    
    @Deprecated
    default ByteReferencePair<V> first(final Byte l) {
        return this.first((byte)l);
    }
    
    default byte keyByte() {
        return this.firstByte();
    }
    
    @Deprecated
    default Byte key() {
        return this.keyByte();
    }
    
    default ByteReferencePair<V> key(final byte l) {
        return this.left(l);
    }
    
    @Deprecated
    default ByteReferencePair<V> key(final Byte l) {
        return this.key((byte)l);
    }
    
    default <V> ByteReferencePair<V> of(final byte left, final V right) {
        return new ByteReferenceImmutablePair<V>(left, right);
    }
}
