com.google.common.collect.Range.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jelly Show documentation
Show all versions of jelly Show documentation
Java Functional Metaprogramming API
The newest version!
???? 2x ? ?
M
J! " #
$%&
%'
%(
)
%*
$+
,
-
.
/
0
1
234
5 36
J/ 37 38
9
J:
%;
<
%=
>
/
? @
AB
CC
ED
GE FGHIJ InnerClasses RangeLexOrdering 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;K _;>(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
Deprecated RuntimeVisibleAnnotations Ljava/lang/Deprecated; 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;>;4L (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 canonical M(Lcom/google/common/collect/DiscreteDomain;)Lcom/google/common/collect/Range; domain *Lcom/google/common/collect/DiscreteDomain; /Lcom/google/common/collect/DiscreteDomain; 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 RuntimeInvisibleAnnotations -Lcom/google/common/annotations/GwtCompatible; Q R U R com/google/common/collect/Range ? ?MNON k lPQRST }UVWXY ? ? ? ? ? java/lang/AssertionError ? ?ZV ? ? ? ? Y Z w q 'com/google/common/collect/ContiguousSet z ?[\]K^ ? java/lang/Comparable_ ?`ab ?c ?c com/google/common/collect/Cut \ ] _ ]de "java/lang/IllegalArgumentException java/lang/StringBuilder Invalid range: fg ? ? ? ? ?h ? ?i ?j ? ? ?k ? ? ?l ? ? java/util/SortedSet ? ? ?mn ?o ? ?p ? ? ?qrsftus ? ?dv ? ? !com/google/common/collect/Range$1 !com/google/common/collect/Range$2 0com/google/common/collect/Range$RangeLexOrdering ?w V W java/lang/Object com/google/common/base/Predicate java/io/Serializable !com/google/common/collect/Range$3 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 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 &(Lcom/google/common/collect/Range$1;)V 1 J K L 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? +? .? &