class org.apache.commons.collections4.CollectionUtils$CardinalityHelper<O>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.commons.collections4.CollectionUtils$CardinalityHelper
super_class: java.lang.Object
{
final java.util.Map<O, java.lang.Integer> cardinalityA;
descriptor: Ljava/util/Map;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/Map<TO;Ljava/lang/Integer;>;
final java.util.Map<O, java.lang.Integer> cardinalityB;
descriptor: Ljava/util/Map;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/Map<TO;Ljava/lang/Integer;>;
public void <init>(java.lang.Iterable<? extends O>, java.lang.Iterable<? extends O>);
descriptor: (Ljava/lang/Iterable;Ljava/lang/Iterable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
invokestatic org.apache.commons.collections4.CollectionUtils.getCardinalityMap:(Ljava/lang/Iterable;)Ljava/util/Map;
putfield org.apache.commons.collections4.CollectionUtils$CardinalityHelper.cardinalityA:Ljava/util/Map;
2: aload 0
aload 2
invokestatic org.apache.commons.collections4.CollectionUtils.getCardinalityMap:(Ljava/lang/Iterable;)Ljava/util/Map;
putfield org.apache.commons.collections4.CollectionUtils$CardinalityHelper.cardinalityB:Ljava/util/Map;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/commons/collections4/CollectionUtils$CardinalityHelper<TO;>;
0 4 1 a Ljava/lang/Iterable<+TO;>;
0 4 2 b Ljava/lang/Iterable<+TO;>;
Signature: (Ljava/lang/Iterable<+TO;>;Ljava/lang/Iterable<+TO;>;)V
MethodParameters:
Name Flags
a final
b final
public final int max(java.lang.Object);
descriptor: (Ljava/lang/Object;)I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.apache.commons.collections4.CollectionUtils$CardinalityHelper.freqA:(Ljava/lang/Object;)I
aload 0
aload 1
invokevirtual org.apache.commons.collections4.CollectionUtils$CardinalityHelper.freqB:(Ljava/lang/Object;)I
invokestatic java.lang.Math.max:(II)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/collections4/CollectionUtils$CardinalityHelper<TO;>;
0 1 1 obj Ljava/lang/Object;
MethodParameters:
Name Flags
obj final
public final int min(java.lang.Object);
descriptor: (Ljava/lang/Object;)I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.apache.commons.collections4.CollectionUtils$CardinalityHelper.freqA:(Ljava/lang/Object;)I
aload 0
aload 1
invokevirtual org.apache.commons.collections4.CollectionUtils$CardinalityHelper.freqB:(Ljava/lang/Object;)I
invokestatic java.lang.Math.min:(II)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/collections4/CollectionUtils$CardinalityHelper<TO;>;
0 1 1 obj Ljava/lang/Object;
MethodParameters:
Name Flags
obj final
public int freqA(java.lang.Object);
descriptor: (Ljava/lang/Object;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aload 0
getfield org.apache.commons.collections4.CollectionUtils$CardinalityHelper.cardinalityA:Ljava/util/Map;
invokevirtual org.apache.commons.collections4.CollectionUtils$CardinalityHelper.getFreq:(Ljava/lang/Object;Ljava/util/Map;)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/collections4/CollectionUtils$CardinalityHelper<TO;>;
0 1 1 obj Ljava/lang/Object;
MethodParameters:
Name Flags
obj final
public int freqB(java.lang.Object);
descriptor: (Ljava/lang/Object;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aload 0
getfield org.apache.commons.collections4.CollectionUtils$CardinalityHelper.cardinalityB:Ljava/util/Map;
invokevirtual org.apache.commons.collections4.CollectionUtils$CardinalityHelper.getFreq:(Ljava/lang/Object;Ljava/util/Map;)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/collections4/CollectionUtils$CardinalityHelper<TO;>;
0 1 1 obj Ljava/lang/Object;
MethodParameters:
Name Flags
obj final
private int getFreq(, java.util.Map<?, java.lang.Integer>);
descriptor: (Ljava/lang/Object;Ljava/util/Map;)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Integer
astore 3
start local 3 1: aload 3
ifnull 3
2: aload 3
invokevirtual java.lang.Integer.intValue:()I
ireturn
3: StackMap locals: java.lang.Integer
StackMap stack:
iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/commons/collections4/CollectionUtils$CardinalityHelper<TO;>;
0 4 1 obj Ljava/lang/Object;
0 4 2 freqMap Ljava/util/Map<*Ljava/lang/Integer;>;
1 4 3 count Ljava/lang/Integer;
Signature: (Ljava/lang/Object;Ljava/util/Map<*Ljava/lang/Integer;>;)I
MethodParameters:
Name Flags
obj final
freqMap final
}
Signature: <O:Ljava/lang/Object;>Ljava/lang/Object;
SourceFile: "CollectionUtils.java"
NestHost: org.apache.commons.collections4.CollectionUtils
InnerClasses:
private CardinalityHelper = org.apache.commons.collections4.CollectionUtils$CardinalityHelper of org.apache.commons.collections4.CollectionUtils