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

package it.unimi.dsi.fastutil.longs;

import java.util.Objects;
import java.util.function.Predicate;

@FunctionalInterface
public interface LongPredicate extends Predicate<Long>, java.util.function.LongPredicate
{
    @Deprecated
    default boolean test(final Long t) {
        return this.test(t);
    }
    
    default LongPredicate and(final java.util.function.LongPredicate other) {
        Objects.requireNonNull(other);
        return t -> this.test(t) && other.test(t);
    }
    
    default LongPredicate and(final LongPredicate other) {
        return this.and((java.util.function.LongPredicate)other);
    }
    
    @Deprecated
    default Predicate<Long> and(final Predicate<? super Long> other) {
        return super.and(other);
    }
    
    default LongPredicate negate() {
        return t -> !this.test(t);
    }
    
    default LongPredicate or(final java.util.function.LongPredicate other) {
        Objects.requireNonNull(other);
        return t -> this.test(t) || other.test(t);
    }
    
    default LongPredicate or(final LongPredicate other) {
        return this.or((java.util.function.LongPredicate)other);
    }
    
    @Deprecated
    default Predicate<Long> or(final Predicate<? super Long> other) {
        return super.or(other);
    }
}
