public final class org.apache.commons.collections4.functors.OnePredicate<T> extends org.apache.commons.collections4.functors.AbstractQuantifierPredicate<T>
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.apache.commons.collections4.functors.OnePredicate
super_class: org.apache.commons.collections4.functors.AbstractQuantifierPredicate
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -8125389089924745785
public static <T> org.apache.commons.collections4.Predicate<T> onePredicate(org.apache.commons.collections4.Predicate<? super T>[]);
descriptor: ([Lorg/apache/commons/collections4/Predicate;)Lorg/apache/commons/collections4/Predicate;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokestatic org.apache.commons.collections4.functors.FunctorUtils.validate:([Lorg/apache/commons/collections4/Predicate;)V
1: aload 0
arraylength
ifne 3
2: invokestatic org.apache.commons.collections4.functors.FalsePredicate.falsePredicate:()Lorg/apache/commons/collections4/Predicate;
areturn
3: StackMap locals:
StackMap stack:
aload 0
arraylength
iconst_1
if_icmpne 5
4: aload 0
iconst_0
aaload
areturn
5: StackMap locals:
StackMap stack:
new org.apache.commons.collections4.functors.OnePredicate
dup
aload 0
invokestatic org.apache.commons.collections4.functors.FunctorUtils.copy:([Lorg/apache/commons/collections4/Predicate;)[Lorg/apache/commons/collections4/Predicate;
invokespecial org.apache.commons.collections4.functors.OnePredicate.<init>:([Lorg/apache/commons/collections4/Predicate;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 predicates [Lorg/apache/commons/collections4/Predicate;
Signature: <T:Ljava/lang/Object;>([Lorg/apache/commons/collections4/Predicate<-TT;>;)Lorg/apache/commons/collections4/Predicate<TT;>;
MethodParameters:
Name Flags
predicates final
public static <T> org.apache.commons.collections4.Predicate<T> onePredicate(java.util.Collection<? extends org.apache.commons.collections4.Predicate<? super T>>);
descriptor: (Ljava/util/Collection;)Lorg/apache/commons/collections4/Predicate;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokestatic org.apache.commons.collections4.functors.FunctorUtils.validate:(Ljava/util/Collection;)[Lorg/apache/commons/collections4/Predicate;
astore 1
start local 1 1: new org.apache.commons.collections4.functors.OnePredicate
dup
aload 1
invokespecial org.apache.commons.collections4.functors.OnePredicate.<init>:([Lorg/apache/commons/collections4/Predicate;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 predicates Ljava/util/Collection<+Lorg/apache/commons/collections4/Predicate<-TT;>;>;
1 2 1 preds [Lorg/apache/commons/collections4/Predicate;
Signature: <T:Ljava/lang/Object;>(Ljava/util/Collection<+Lorg/apache/commons/collections4/Predicate<-TT;>;>;)Lorg/apache/commons/collections4/Predicate<TT;>;
MethodParameters:
Name Flags
predicates final
public void <init>(org.apache.commons.collections4.Predicate<? super T>[]);
descriptor: ([Lorg/apache/commons/collections4/Predicate;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.apache.commons.collections4.functors.AbstractQuantifierPredicate.<init>:([Lorg/apache/commons/collections4/Predicate;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/commons/collections4/functors/OnePredicate<TT;>;
0 2 1 predicates [Lorg/apache/commons/collections4/Predicate;
Signature: ([Lorg/apache/commons/collections4/Predicate<-TT;>;)V
MethodParameters:
Name Flags
predicates final
public boolean evaluate();
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=7, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: aload 0
getfield org.apache.commons.collections4.functors.OnePredicate.iPredicates:[Lorg/apache/commons/collections4/Predicate;
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 8
StackMap locals: org.apache.commons.collections4.functors.OnePredicate java.lang.Object int top int int org.apache.commons.collections4.Predicate[]
StackMap stack:
2: aload 6
iload 4
aaload
astore 3
start local 3 3: aload 3
aload 1
invokeinterface org.apache.commons.collections4.Predicate.evaluate:(Ljava/lang/Object;)Z
ifeq 7
4: iload 2
ifeq 6
5: iconst_0
ireturn
6: StackMap locals: org.apache.commons.collections4.functors.OnePredicate java.lang.Object int org.apache.commons.collections4.Predicate int int org.apache.commons.collections4.Predicate[]
StackMap stack:
iconst_1
istore 2
end local 3 7: StackMap locals: org.apache.commons.collections4.functors.OnePredicate java.lang.Object int top int int org.apache.commons.collections4.Predicate[]
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
8: iload 4
iload 5
if_icmplt 2
9: iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/commons/collections4/functors/OnePredicate<TT;>;
0 10 1 object TT;
1 10 2 match Z
3 7 3 iPredicate Lorg/apache/commons/collections4/Predicate<-TT;>;
Signature: (TT;)Z
MethodParameters:
Name Flags
object final
}
Signature: <T:Ljava/lang/Object;>Lorg/apache/commons/collections4/functors/AbstractQuantifierPredicate<TT;>;
SourceFile: "OnePredicate.java"