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

package it.unimi.dsi.fastutil.longs;

import java.util.Objects;
import java.util.function.Consumer;

@FunctionalInterface
public interface LongConsumer extends Consumer<Long>, java.util.function.LongConsumer
{
    @Deprecated
    default void accept(final Long t) {
        this.accept(t);
    }
    
    default LongConsumer andThen(final java.util.function.LongConsumer after) {
        Objects.requireNonNull(after);
        return t -> {
            this.accept(t);
            after.accept(t);
        };
    }
    
    default LongConsumer andThen(final LongConsumer after) {
        return this.andThen((java.util.function.LongConsumer)after);
    }
    
    @Deprecated
    default Consumer<Long> andThen(final Consumer<? super Long> after) {
        return super.andThen(after);
    }
}
