package org.webrtc; /* loaded from: classes3.dex */ public interface Predicate { boolean test(T t); default Predicate or(final Predicate predicate) { return new Predicate() { // from class: org.webrtc.Predicate.1 @Override // org.webrtc.Predicate public boolean test(T t) { return Predicate.this.test(t) || predicate.test(t); } }; } default Predicate and(final Predicate predicate) { return new Predicate() { // from class: org.webrtc.Predicate.2 @Override // org.webrtc.Predicate public boolean test(T t) { return Predicate.this.test(t) && predicate.test(t); } }; } default Predicate negate() { return new Predicate() { // from class: org.webrtc.Predicate.3 @Override // org.webrtc.Predicate public boolean test(T t) { return !Predicate.this.test(t); } }; } }