com.google.common.collect.Range.class Maven / Gradle / Ivy
???? 2~
)
)
) N
)
!"
#$
#%
#&
K
)'()
"*
"+
,
"-
!./ 0 1
)2
)3
)4
)5
)6
7
89:
; 3<
K5 3= 3>
?
)@
KA
"B
)C
"D
)E
5
F G
HI
DJ
FK
H LMNOP InnerClasses LOWER_BOUND_FN !Lcom/google/common/base/Function; Signature cLcom/google/common/base/Function; UPPER_BOUND_FN RANGE_LEX_ORDERING $Lcom/google/common/collect/Ordering; JLcom/google/common/collect/Ordering;>; ALL !Lcom/google/common/collect/Range; 9Lcom/google/common/collect/Range;
lowerBound Lcom/google/common/collect/Cut; $Lcom/google/common/collect/Cut;
upperBound serialVersionUID J
ConstantValue lowerBoundFn #()Lcom/google/common/base/Function; Code LineNumberTable ?;>()Lcom/google/common/base/Function;Lcom/google/common/collect/Cut;>; upperBoundFn create a(Lcom/google/common/collect/Cut;Lcom/google/common/collect/Cut;)Lcom/google/common/collect/Range; LocalVariableTable LocalVariableTypeTable ?;>(Lcom/google/common/collect/Cut;Lcom/google/common/collect/Cut;)Lcom/google/common/collect/Range; open O(Ljava/lang/Comparable;Ljava/lang/Comparable;)Lcom/google/common/collect/Range; lower Ljava/lang/Comparable; upper TC; L;>(TC;TC;)Lcom/google/common/collect/Range; closed
closedOpen
openClosed range ?(Ljava/lang/Comparable;Lcom/google/common/collect/BoundType;Ljava/lang/Comparable;Lcom/google/common/collect/BoundType;)Lcom/google/common/collect/Range; lowerType %Lcom/google/common/collect/BoundType; upperType
StackMapTable/ ?;>(TC;Lcom/google/common/collect/BoundType;TC;Lcom/google/common/collect/BoundType;)Lcom/google/common/collect/Range; lessThan 9(Ljava/lang/Comparable;)Lcom/google/common/collect/Range; endpoint I;>(TC;)Lcom/google/common/collect/Range; atMost upTo ^(Ljava/lang/Comparable;Lcom/google/common/collect/BoundType;)Lcom/google/common/collect/Range; boundType n;>(TC;Lcom/google/common/collect/BoundType;)Lcom/google/common/collect/Range; greaterThan atLeast downTo all #()Lcom/google/common/collect/Range; F;>()Lcom/google/common/collect/Range; singleton value
encloseAll 7(Ljava/lang/Iterable;)Lcom/google/common/collect/Range; values Ljava/lang/Iterable;
valueIterator Ljava/util/Iterator; min max Ljava/lang/Iterable; Ljava/util/Iterator;Q! _;>(Ljava/lang/Iterable;)Lcom/google/common/collect/Range; A(Lcom/google/common/collect/Cut;Lcom/google/common/collect/Cut;)V this &Lcom/google/common/collect/Range; K(Lcom/google/common/collect/Cut;Lcom/google/common/collect/Cut;)V
hasLowerBound ()Z
lowerEndpoint ()Ljava/lang/Comparable; ()TC; lowerBoundType '()Lcom/google/common/collect/BoundType;
hasUpperBound
upperEndpoint upperBoundType isEmpty contains (Ljava/lang/Comparable;)Z (TC;)Z apply input containsAll (Ljava/lang/Iterable;)Z set Ljava/util/SortedSet;
comparator Ljava/util/Comparator; i$ Ljava/util/SortedSet<+TC;>; Ljava/util/Comparator<*>; Ljava/lang/Iterable<+TC;>;:R (Ljava/lang/Iterable<+TC;>;)Z encloses $(Lcom/google/common/collect/Range;)Z other )(Lcom/google/common/collect/Range;)Z isConnected intersection D(Lcom/google/common/collect/Range;)Lcom/google/common/collect/Range; newLower newUpper connectedRange lowerCmp I upperCmp N(Lcom/google/common/collect/Range;)Lcom/google/common/collect/Range; span asSet U(Lcom/google/common/collect/DiscreteDomain;)Lcom/google/common/collect/ContiguousSet; domain *Lcom/google/common/collect/DiscreteDomain; /Lcom/google/common/collect/DiscreteDomain;
Deprecated _(Lcom/google/common/collect/DiscreteDomain;)Lcom/google/common/collect/ContiguousSet; RuntimeVisibleAnnotations Ljava/lang/Deprecated; RuntimeInvisibleAnnotations $Lcom/google/common/annotations/Beta; -Lcom/google/common/annotations/GwtCompatible; serializable canonical M(Lcom/google/common/collect/DiscreteDomain;)Lcom/google/common/collect/Range; W(Lcom/google/common/collect/DiscreteDomain;)Lcom/google/common/collect/Range; equals (Ljava/lang/Object;)Z object Ljava/lang/Object; $Lcom/google/common/collect/Range<*>; "RuntimeVisibleParameterAnnotations Ljavax/annotation/Nullable; hashCode ()I toString ()Ljava/lang/String; R(Lcom/google/common/collect/Cut;Lcom/google/common/collect/Cut;)Ljava/lang/String; sb Ljava/lang/StringBuilder; "Lcom/google/common/collect/Cut<*>; X(Lcom/google/common/collect/Cut<*>;Lcom/google/common/collect/Cut<*>;)Ljava/lang/String; cast +(Ljava/lang/Iterable;)Ljava/util/SortedSet; iterable Ljava/lang/Iterable; K(Ljava/lang/Iterable;)Ljava/util/SortedSet; readResolve ()Ljava/lang/Object; compareOrThrow /(Ljava/lang/Comparable;Ljava/lang/Comparable;)I left right x0 ()V jLjava/lang/Object;Lcom/google/common/base/Predicate;Ljava/io/Serializable;
SourceFile
Range.java Q R U R com/google/common/collect/Range ? ?STUT k lVWXYZ }[\]^_ ? ? ? ? ? java/lang/AssertionError ? `\ ? ? ? ? Y Z w q 'com/google/common/collect/ContiguousSet z ?abcQd ? java/lang/Comparablee ?fgh ?i ?ijk "java/lang/IllegalArgumentException java/lang/StringBuilder Invalid range: lm ? ? ? ? ?n com/google/common/collect/Cut \ ] _ ] ? ?o ?p ? ? ?q ? ? ?r ? ? java/util/SortedSet ? ? ?st ?u ? kv ?w ? ? ?xyzl{|z ? ?j} ? ? !com/google/common/collect/Range$1 !com/google/common/collect/Range$2 !com/google/common/collect/Range$3 V W java/lang/Object com/google/common/base/Predicate java/io/Serializable !com/google/common/collect/Range$4 java/util/Iterator java/util/Comparator
aboveValue 7(Ljava/lang/Comparable;)Lcom/google/common/collect/Cut;
belowValue $com/google/common/base/Preconditions checkNotNull &(Ljava/lang/Object;)Ljava/lang/Object; #com/google/common/collect/BoundType OPEN belowAll !()Lcom/google/common/collect/Cut; .$SwitchMap$com$google$common$collect$BoundType [I ordinal aboveAll java/lang/Iterable iterator ()Ljava/util/Iterator; next hasNext "com/google/common/collect/Ordering natural &()Lcom/google/common/collect/Ordering; 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; compareTo "(Lcom/google/common/collect/Cut;)I append -(Ljava/lang/String;)Ljava/lang/StringBuilder; (Ljava/lang/String;)V typeAsLowerBound typeAsUpperBound
isLessThan #com/google/common/collect/Iterables ()Ljava/util/Comparator; first last v(Lcom/google/common/collect/Range;Lcom/google/common/collect/DiscreteDomain;)Lcom/google/common/collect/ContiguousSet; K(Lcom/google/common/collect/DiscreteDomain;)Lcom/google/common/collect/Cut; (I)V describeAsLowerBound (Ljava/lang/StringBuilder;)V (C)Ljava/lang/StringBuilder; describeAsUpperBound (Ljava/lang/Object;)I 1 K L M Q R S T U R S T V W S X Y Z S [ \ ] S ^ _ ] S ^ ` a b c + e f g ? ? h ? S i j f g ? ? h ? S i k l g Z
? Y*+? ? h ? m
\ ]
_ ] n
\ ^
_ ^ S o p q g \ *? +? ? ? h ? m r s t s n r u t u S v w q g \ *? +? ? ? h ? m r s t s n r u t u S v x q g \ *? +? ? ? h ? m r s t s n r u t u S v y q g \ *? +? ? ? h ? m r s t s n r u t u S v z { g ? :+? W-? W+? ?
*? ? *? :-? ?
,? ? ,? :? ? h ? ?
? ? 2 ? m > : r s : | } : t s : ~ } \ ] 2 _ ] n * : r u : t u \ ^ 2 _ ^ C ?? ?C ? S ? ? ? g G ?
*? ? ? h ? m ? s n ? u S ? ? ? g G ?
*? ? ? h ? m ? s n ? u S ? ? ? g ? 6? +? .? &