public class org.apache.cassandra.dht.Range$OrderedRangeContainmentChecker
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.dht.Range$OrderedRangeContainmentChecker
super_class: java.lang.Object
{
private final java.util.Iterator<org.apache.cassandra.dht.Range<org.apache.cassandra.dht.Token>> normalizedRangesIterator;
descriptor: Ljava/util/Iterator;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Iterator<Lorg/apache/cassandra/dht/Range<Lorg/apache/cassandra/dht/Token;>;>;
private org.apache.cassandra.dht.Token lastToken;
descriptor: Lorg/apache/cassandra/dht/Token;
flags: (0x0002) ACC_PRIVATE
private org.apache.cassandra.dht.Range<org.apache.cassandra.dht.Token> currentRange;
descriptor: Lorg/apache/cassandra/dht/Range;
flags: (0x0002) ACC_PRIVATE
Signature: Lorg/apache/cassandra/dht/Range<Lorg/apache/cassandra/dht/Token;>;
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/dht/Range;
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.dht.Range$OrderedRangeContainmentChecker.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.util.Collection<org.apache.cassandra.dht.Range<org.apache.cassandra.dht.Token>>);
descriptor: (Ljava/util/Collection;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield org.apache.cassandra.dht.Range$OrderedRangeContainmentChecker.lastToken:Lorg/apache/cassandra/dht/Token;
2: aload 0
aload 1
invokestatic org.apache.cassandra.dht.Range.normalize:(Ljava/util/Collection;)Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
putfield org.apache.cassandra.dht.Range$OrderedRangeContainmentChecker.normalizedRangesIterator:Ljava/util/Iterator;
3: getstatic org.apache.cassandra.dht.Range$OrderedRangeContainmentChecker.$assertionsDisabled:Z
ifne 4
aload 0
getfield org.apache.cassandra.dht.Range$OrderedRangeContainmentChecker.normalizedRangesIterator:Ljava/util/Iterator;
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
4: StackMap locals: org.apache.cassandra.dht.Range$OrderedRangeContainmentChecker java.util.Collection
StackMap stack:
aload 0
aload 0
getfield org.apache.cassandra.dht.Range$OrderedRangeContainmentChecker.normalizedRangesIterator:Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.dht.Range
putfield org.apache.cassandra.dht.Range$OrderedRangeContainmentChecker.currentRange:Lorg/apache/cassandra/dht/Range;
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/dht/Range$OrderedRangeContainmentChecker;
0 6 1 ranges Ljava/util/Collection<Lorg/apache/cassandra/dht/Range<Lorg/apache/cassandra/dht/Token;>;>;
Signature: (Ljava/util/Collection<Lorg/apache/cassandra/dht/Range<Lorg/apache/cassandra/dht/Token;>;>;)V
MethodParameters:
Name Flags
ranges
public boolean contains(org.apache.cassandra.dht.Token);
descriptor: (Lorg/apache/cassandra/dht/Token;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.apache.cassandra.dht.Range$OrderedRangeContainmentChecker.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.apache.cassandra.dht.Range$OrderedRangeContainmentChecker.lastToken:Lorg/apache/cassandra/dht/Token;
ifnull 1
aload 0
getfield org.apache.cassandra.dht.Range$OrderedRangeContainmentChecker.lastToken:Lorg/apache/cassandra/dht/Token;
aload 1
invokevirtual org.apache.cassandra.dht.Token.compareTo:(Ljava/lang/Object;)I
ifle 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.apache.cassandra.dht.Range$OrderedRangeContainmentChecker.lastToken:Lorg/apache/cassandra/dht/Token;
2: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield org.apache.cassandra.dht.Range$OrderedRangeContainmentChecker.currentRange:Lorg/apache/cassandra/dht/Range;
getfield org.apache.cassandra.dht.Range.left:Lorg/apache/cassandra/dht/RingPosition;
checkcast org.apache.cassandra.dht.Token
invokevirtual org.apache.cassandra.dht.Token.compareTo:(Ljava/lang/Object;)I
ifgt 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield org.apache.cassandra.dht.Range$OrderedRangeContainmentChecker.currentRange:Lorg/apache/cassandra/dht/Range;
getfield org.apache.cassandra.dht.Range.right:Lorg/apache/cassandra/dht/RingPosition;
checkcast org.apache.cassandra.dht.Token
invokevirtual org.apache.cassandra.dht.Token.compareTo:(Ljava/lang/Object;)I
ifle 5
aload 0
getfield org.apache.cassandra.dht.Range$OrderedRangeContainmentChecker.currentRange:Lorg/apache/cassandra/dht/Range;
getfield org.apache.cassandra.dht.Range.right:Lorg/apache/cassandra/dht/RingPosition;
checkcast org.apache.cassandra.dht.Token
aload 0
getfield org.apache.cassandra.dht.Range$OrderedRangeContainmentChecker.currentRange:Lorg/apache/cassandra/dht/Range;
getfield org.apache.cassandra.dht.Range.left:Lorg/apache/cassandra/dht/RingPosition;
checkcast org.apache.cassandra.dht.Token
invokevirtual org.apache.cassandra.dht.Token.compareTo:(Ljava/lang/Object;)I
ifgt 6
5: StackMap locals:
StackMap stack:
iconst_1
ireturn
6: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.dht.Range$OrderedRangeContainmentChecker.normalizedRangesIterator:Ljava/util/Iterator;
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
7: iconst_0
ireturn
8: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.apache.cassandra.dht.Range$OrderedRangeContainmentChecker.normalizedRangesIterator:Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.dht.Range
putfield org.apache.cassandra.dht.Range$OrderedRangeContainmentChecker.currentRange:Lorg/apache/cassandra/dht/Range;
9: goto 2
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/cassandra/dht/Range$OrderedRangeContainmentChecker;
0 10 1 t Lorg/apache/cassandra/dht/Token;
MethodParameters:
Name Flags
t
}
SourceFile: "Range.java"
NestHost: org.apache.cassandra.dht.Range
InnerClasses:
public OrderedRangeContainmentChecker = org.apache.cassandra.dht.Range$OrderedRangeContainmentChecker of org.apache.cassandra.dht.Range