public class org.eclipse.collections.impl.block.function.IfFunction<T, V> implements org.eclipse.collections.api.block.function.Function<T, V>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.eclipse.collections.impl.block.function.IfFunction
super_class: java.lang.Object
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private final org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate;
descriptor: Lorg/eclipse/collections/api/block/predicate/Predicate;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lorg/eclipse/collections/api/block/predicate/Predicate<-TT;>;
private final org.eclipse.collections.api.block.function.Function<? super T, ? extends V> function;
descriptor: Lorg/eclipse/collections/api/block/function/Function;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lorg/eclipse/collections/api/block/function/Function<-TT;+TV;>;
private final org.eclipse.collections.api.block.function.Function<? super T, ? extends V> elseFunction;
descriptor: Lorg/eclipse/collections/api/block/function/Function;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lorg/eclipse/collections/api/block/function/Function<-TT;+TV;>;
public void <init>(org.eclipse.collections.api.block.predicate.Predicate<? super T>, org.eclipse.collections.api.block.function.Function<? super T, ? extends V>);
descriptor: (Lorg/eclipse/collections/api/block/predicate/Predicate;Lorg/eclipse/collections/api/block/function/Function;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
aconst_null
invokespecial org.eclipse.collections.impl.block.function.IfFunction.<init>:(Lorg/eclipse/collections/api/block/predicate/Predicate;Lorg/eclipse/collections/api/block/function/Function;Lorg/eclipse/collections/api/block/function/Function;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/collections/impl/block/function/IfFunction<TT;TV;>;
0 2 1 newPredicate Lorg/eclipse/collections/api/block/predicate/Predicate<-TT;>;
0 2 2 function Lorg/eclipse/collections/api/block/function/Function<-TT;+TV;>;
Signature: (Lorg/eclipse/collections/api/block/predicate/Predicate<-TT;>;Lorg/eclipse/collections/api/block/function/Function<-TT;+TV;>;)V
MethodParameters:
Name Flags
newPredicate
function
public void <init>(org.eclipse.collections.api.block.predicate.Predicate<? super T>, org.eclipse.collections.api.block.function.Function<? super T, ? extends V>, org.eclipse.collections.api.block.function.Function<? super T, ? extends V>);
descriptor: (Lorg/eclipse/collections/api/block/predicate/Predicate;Lorg/eclipse/collections/api/block/function/Function;Lorg/eclipse/collections/api/block/function/Function;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.eclipse.collections.impl.block.function.IfFunction.predicate:Lorg/eclipse/collections/api/block/predicate/Predicate;
2: aload 0
aload 2
putfield org.eclipse.collections.impl.block.function.IfFunction.function:Lorg/eclipse/collections/api/block/function/Function;
3: aload 0
aload 3
putfield org.eclipse.collections.impl.block.function.IfFunction.elseFunction:Lorg/eclipse/collections/api/block/function/Function;
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/collections/impl/block/function/IfFunction<TT;TV;>;
0 5 1 predicate Lorg/eclipse/collections/api/block/predicate/Predicate<-TT;>;
0 5 2 function Lorg/eclipse/collections/api/block/function/Function<-TT;+TV;>;
0 5 3 elseFunction Lorg/eclipse/collections/api/block/function/Function<-TT;+TV;>;
Signature: (Lorg/eclipse/collections/api/block/predicate/Predicate<-TT;>;Lorg/eclipse/collections/api/block/function/Function<-TT;+TV;>;Lorg/eclipse/collections/api/block/function/Function<-TT;+TV;>;)V
MethodParameters:
Name Flags
predicate
function
elseFunction
public V valueOf();
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.collections.impl.block.function.IfFunction.predicate:Lorg/eclipse/collections/api/block/predicate/Predicate;
aload 1
invokeinterface org.eclipse.collections.api.block.predicate.Predicate.accept:(Ljava/lang/Object;)Z
ifeq 2
1: aload 0
getfield org.eclipse.collections.impl.block.function.IfFunction.function:Lorg/eclipse/collections/api/block/function/Function;
aload 1
invokeinterface org.eclipse.collections.api.block.function.Function.valueOf:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.collections.impl.block.function.IfFunction.elseFunction:Lorg/eclipse/collections/api/block/function/Function;
ifnull 4
3: aload 0
getfield org.eclipse.collections.impl.block.function.IfFunction.elseFunction:Lorg/eclipse/collections/api/block/function/Function;
aload 1
invokeinterface org.eclipse.collections.api.block.function.Function.valueOf:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
4: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/collections/impl/block/function/IfFunction<TT;TV;>;
0 5 1 object TT;
Signature: (TT;)TV;
MethodParameters:
Name Flags
object
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "new IfFunction("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.eclipse.collections.impl.block.function.IfFunction.predicate:Lorg/eclipse/collections/api/block/predicate/Predicate;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.eclipse.collections.impl.block.function.IfFunction.function:Lorg/eclipse/collections/api/block/function/Function;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.eclipse.collections.impl.block.function.IfFunction.elseFunction:Lorg/eclipse/collections/api/block/function/Function;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
bipush 41
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/collections/impl/block/function/IfFunction<TT;TV;>;
}
Signature: <T:Ljava/lang/Object;V:Ljava/lang/Object;>Ljava/lang/Object;Lorg/eclipse/collections/api/block/function/Function<TT;TV;>;
SourceFile: "IfFunction.java"