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

package it.unimi.dsi.fastutil.booleans;

import it.unimi.dsi.fastutil.Pair;

public interface BooleanReferencePair<V> extends Pair<Boolean, V>
{
    boolean leftBoolean();
    
    @Deprecated
    default Boolean left() {
        return this.leftBoolean();
    }
    
    default BooleanReferencePair<V> left(final boolean l) {
        throw new UnsupportedOperationException();
    }
    
    @Deprecated
    default BooleanReferencePair<V> left(final Boolean l) {
        return this.left((boolean)l);
    }
    
    default boolean firstBoolean() {
        return this.leftBoolean();
    }
    
    @Deprecated
    default Boolean first() {
        return this.firstBoolean();
    }
    
    default BooleanReferencePair<V> first(final boolean l) {
        return this.left(l);
    }
    
    @Deprecated
    default BooleanReferencePair<V> first(final Boolean l) {
        return this.first((boolean)l);
    }
    
    default boolean keyBoolean() {
        return this.firstBoolean();
    }
    
    @Deprecated
    default Boolean key() {
        return this.keyBoolean();
    }
    
    default BooleanReferencePair<V> key(final boolean l) {
        return this.left(l);
    }
    
    @Deprecated
    default BooleanReferencePair<V> key(final Boolean l) {
        return this.key((boolean)l);
    }
    
    default <V> BooleanReferencePair<V> of(final boolean left, final V right) {
        return new BooleanReferenceImmutablePair<V>(left, right);
    }
}
