public class org.apache.cassandra.utils.IntegerInterval$Set
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.utils.IntegerInterval$Set
super_class: java.lang.Object
{
static long[] EMPTY;
descriptor: [J
flags: (0x0008) ACC_STATIC
private volatile long[] ranges;
descriptor: [J
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/apache/cassandra/utils/IntegerInterval;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.apache.cassandra.utils.IntegerInterval$Set.$assertionsDisabled:Z
3: iconst_0
newarray 11
putstatic org.apache.cassandra.utils.IntegerInterval$Set.EMPTY:[J
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
getstatic org.apache.cassandra.utils.IntegerInterval$Set.EMPTY:[J
putfield org.apache.cassandra.utils.IntegerInterval$Set.ranges:[J
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/utils/IntegerInterval$Set;
public synchronized void add(int, int);
descriptor: (II)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=5, locals=9, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.apache.cassandra.utils.IntegerInterval$Set.$assertionsDisabled:Z
ifne 1
iload 1
iload 2
if_icmple 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.utils.IntegerInterval$Set.ranges:[J
astore 3
start local 3 2: aload 3
iload 2
i2l
ldc 4294967295
land
bipush 32
lshl
ldc 4294967295
lor
invokestatic java.util.Arrays.binarySearch:([JJ)I
istore 5
start local 5 3: iload 5
ifge 5
4: iconst_m1
iload 5
isub
iconst_1
isub
istore 5
5: StackMap locals: org.apache.cassandra.utils.IntegerInterval$Set int int long[] top int
StackMap stack:
iload 5
iflt 9
6: aload 3
iload 5
laload
invokestatic org.apache.cassandra.utils.IntegerInterval.upper:(J)I
istore 6
start local 6 7: iload 6
iload 2
if_icmple 9
8: iload 6
istore 2
end local 6 9: StackMap locals:
StackMap stack:
aload 3
iload 1
i2l
ldc 4294967295
land
bipush 32
lshl
lconst_0
lor
invokestatic java.util.Arrays.binarySearch:([JJ)I
istore 6
start local 6 10: iload 6
ifge 12
11: iconst_m1
iload 6
isub
istore 6
12: StackMap locals: int
StackMap stack:
iinc 6 -1
13: iload 6
iflt 17
14: aload 3
iload 6
laload
invokestatic org.apache.cassandra.utils.IntegerInterval.upper:(J)I
iload 1
if_icmplt 17
15: aload 3
iload 6
laload
invokestatic org.apache.cassandra.utils.IntegerInterval.lower:(J)I
istore 1
16: iinc 6 -1
17: StackMap locals:
StackMap stack:
aload 3
arraylength
iload 5
iload 6
isub
isub
iconst_1
iadd
newarray 11
astore 4
start local 4 18: iconst_0
istore 7
start local 7 19: iconst_0
istore 8
start local 8 20: goto 23
21: StackMap locals: org.apache.cassandra.utils.IntegerInterval$Set int int long[] long[] int int int int
StackMap stack:
aload 4
iload 7
iinc 7 1
aload 3
iload 8
laload
lastore
22: iinc 8 1
StackMap locals:
StackMap stack:
23: iload 8
iload 6
if_icmple 21
end local 8 24: aload 4
iload 7
iinc 7 1
iload 1
iload 2
invokestatic org.apache.cassandra.utils.IntegerInterval.make:(II)J
lastore
25: iload 5
iconst_1
iadd
istore 8
start local 8 26: goto 29
27: StackMap locals:
StackMap stack:
aload 4
iload 7
iinc 7 1
aload 3
iload 8
laload
lastore
28: iinc 8 1
StackMap locals:
StackMap stack:
29: iload 8
aload 3
arraylength
if_icmplt 27
end local 8 end local 7 end local 6 end local 5 30: aload 0
aload 4
putfield org.apache.cassandra.utils.IntegerInterval$Set.ranges:[J
31: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 32 0 this Lorg/apache/cassandra/utils/IntegerInterval$Set;
0 32 1 start I
0 32 2 end I
2 32 3 ranges [J
18 32 4 newRanges [J
3 30 5 rpos I
7 9 6 extend I
10 30 6 lpos I
19 30 7 dest I
20 24 8 i I
26 30 8 i I
MethodParameters:
Name Flags
start
end
public boolean covers(org.apache.cassandra.utils.IntegerInterval);
descriptor: (Lorg/apache/cassandra/utils/IntegerInterval;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
getfield org.apache.cassandra.utils.IntegerInterval.interval:J
lstore 2
start local 2 1: aload 0
lload 2
invokestatic org.apache.cassandra.utils.IntegerInterval.lower:(J)I
lload 2
invokestatic org.apache.cassandra.utils.IntegerInterval.upper:(J)I
invokevirtual org.apache.cassandra.utils.IntegerInterval$Set.covers:(II)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/utils/IntegerInterval$Set;
0 2 1 iv Lorg/apache/cassandra/utils/IntegerInterval;
1 2 2 l J
MethodParameters:
Name Flags
iv
public boolean covers(int, int);
descriptor: (II)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.cassandra.utils.IntegerInterval$Set.ranges:[J
astore 3
start local 3 1: aload 3
iload 1
i2l
ldc 4294967295
land
bipush 32
lshl
ldc 4294967295
lor
invokestatic java.util.Arrays.binarySearch:([JJ)I
istore 4
start local 4 2: iload 4
ifge 4
3: iconst_m1
iload 4
isub
iconst_1
isub
istore 4
4: StackMap locals: long[] int
StackMap stack:
iload 4
iconst_m1
if_icmpne 6
5: iconst_0
ireturn
6: StackMap locals:
StackMap stack:
aload 3
iload 4
laload
invokestatic org.apache.cassandra.utils.IntegerInterval.upper:(J)I
iload 2
if_icmplt 7
iconst_1
ireturn
StackMap locals:
StackMap stack:
7: iconst_0
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/cassandra/utils/IntegerInterval$Set;
0 8 1 start I
0 8 2 end I
1 8 3 ranges [J
2 8 4 rpos I
MethodParameters:
Name Flags
start
end
public int lowerBound();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.utils.IntegerInterval$Set.ranges:[J
iconst_0
laload
invokestatic org.apache.cassandra.utils.IntegerInterval.lower:(J)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/utils/IntegerInterval$Set;
public int upperBound();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.utils.IntegerInterval$Set.ranges:[J
astore 1
start local 1 1: aload 1
aload 1
arraylength
iconst_1
isub
laload
invokestatic org.apache.cassandra.utils.IntegerInterval.upper:(J)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/utils/IntegerInterval$Set;
1 2 1 ranges [J
public java.util.Collection<org.apache.cassandra.utils.IntegerInterval> intervals();
descriptor: ()Ljava/util/Collection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.utils.IntegerInterval$Set.ranges:[J
invokestatic com.google.common.primitives.Longs.asList:([J)Ljava/util/List;
invokedynamic apply()Lcom/google/common/base/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
org/apache/cassandra/utils/IntegerInterval$Set.lambda$0(Ljava/lang/Long;)Lorg/apache/cassandra/utils/IntegerInterval; (6)
(Ljava/lang/Long;)Lorg/apache/cassandra/utils/IntegerInterval;
invokestatic com.google.common.collect.Lists.transform:(Ljava/util/List;Lcom/google/common/base/Function;)Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/utils/IntegerInterval$Set;
Signature: ()Ljava/util/Collection<Lorg/apache/cassandra/utils/IntegerInterval;>;
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.utils.IntegerInterval$Set.ranges:[J
invokestatic java.util.Arrays.hashCode:([J)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/utils/IntegerInterval$Set;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
if_acmpeq 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
checkcast org.apache.cassandra.utils.IntegerInterval$Set
astore 2
start local 2 3: aload 0
getfield org.apache.cassandra.utils.IntegerInterval$Set.ranges:[J
aload 2
getfield org.apache.cassandra.utils.IntegerInterval$Set.ranges:[J
invokestatic java.util.Arrays.equals:([J[J)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/utils/IntegerInterval$Set;
0 4 1 obj Ljava/lang/Object;
3 4 2 other Lorg/apache/cassandra/utils/IntegerInterval$Set;
MethodParameters:
Name Flags
obj
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 "["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual org.apache.cassandra.utils.IntegerInterval$Set.intervals:()Ljava/util/Collection;
invokeinterface java.util.Collection.stream:()Ljava/util/stream/Stream;
invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
org/apache/cassandra/utils/IntegerInterval.toString()Ljava/lang/String; (5)
(Lorg/apache/cassandra/utils/IntegerInterval;)Ljava/lang/String;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
ldc ", "
invokestatic java.util.stream.Collectors.joining:(Ljava/lang/CharSequence;)Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)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/apache/cassandra/utils/IntegerInterval$Set;
private static org.apache.cassandra.utils.IntegerInterval lambda$0(java.lang.Long);
descriptor: (Ljava/lang/Long;)Lorg/apache/cassandra/utils/IntegerInterval;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new org.apache.cassandra.utils.IntegerInterval
dup
aload 0
invokevirtual java.lang.Long.longValue:()J
invokespecial org.apache.cassandra.utils.IntegerInterval.<init>:(J)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 iv Ljava/lang/Long;
}
SourceFile: "IntegerInterval.java"
NestHost: org.apache.cassandra.utils.IntegerInterval
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public Set = org.apache.cassandra.utils.IntegerInterval$Set of org.apache.cassandra.utils.IntegerInterval