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

package it.unimi.dsi.fastutil.bytes;

import java.io.Serializable;
import it.unimi.dsi.fastutil.SortedPair;

public interface ByteByteSortedPair extends ByteBytePair, SortedPair<Byte>, Serializable
{
    default ByteByteSortedPair of(final byte left, final byte right) {
        return ByteByteImmutableSortedPair.of(left, right);
    }
    
    default boolean contains(final byte e) {
        return e == this.leftByte() || e == this.rightByte();
    }
    
    @Deprecated
    default boolean contains(final Object o) {
        return o != null && this.contains((byte)o);
    }
}
