org.apache.commons.lang3.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!
???? 2 ?
? ?
?
? ? ?
? ?
?
? ?
?
? ( ? ? ? ? ? ? ? ?
?
?
?
?
? ? ?
? ?
?
?
?
? ?
? ?
?
? ? ? ? ComparableComparator InnerClasses serialVersionUID J
ConstantValue
comparator Ljava/util/Comparator; Signature Ljava/util/Comparator; minimum Ljava/lang/Object; TT; maximum hashCode I toString Ljava/lang/String; is 8(Ljava/lang/Comparable;)Lorg/apache/commons/lang3/Range; Code LineNumberTable LocalVariableTable element Ljava/lang/Comparable; LocalVariableTypeTable J;>(TT;)Lorg/apache/commons/lang3/Range; J(Ljava/lang/Object;Ljava/util/Comparator;)Lorg/apache/commons/lang3/Range; [(TT;Ljava/util/Comparator;)Lorg/apache/commons/lang3/Range; between N(Ljava/lang/Comparable;Ljava/lang/Comparable;)Lorg/apache/commons/lang3/Range;
fromInclusive toInclusive M;>(TT;TT;)Lorg/apache/commons/lang3/Range; \(Ljava/lang/Object;Ljava/lang/Object;Ljava/util/Comparator;)Lorg/apache/commons/lang3/Range; ^(TT;TT;Ljava/util/Comparator;)Lorg/apache/commons/lang3/Range; =(Ljava/lang/Object;Ljava/lang/Object;Ljava/util/Comparator;)V this Lorg/apache/commons/lang3/Range; element1 element2 comp %Lorg/apache/commons/lang3/Range;
StackMapTable ? ? ? $(TT;TT;Ljava/util/Comparator;)V
getMinimum ()Ljava/lang/Object; ()TT;
getMaximum
getComparator ()Ljava/util/Comparator; ()Ljava/util/Comparator; isNaturalOrdering ()Z contains (Ljava/lang/Object;)Z (TT;)Z isAfter isStartedBy isEndedBy isBefore elementCompareTo (Ljava/lang/Object;)I (TT;)I
containsRange #(Lorg/apache/commons/lang3/Range;)Z
otherRange ((Lorg/apache/commons/lang3/Range;)Z isAfterRange isOverlappedBy
isBeforeRange intersectionWith B(Lorg/apache/commons/lang3/Range;)Lorg/apache/commons/lang3/Range; other min max L(Lorg/apache/commons/lang3/Range;)Lorg/apache/commons/lang3/Range; equals range obj ()I result ()Ljava/lang/String; buf Ljava/lang/StringBuilder; ? &(Ljava/lang/String;)Ljava/lang/String; format >Ljava/lang/Object;Ljava/io/Serializable;
SourceFile
Range.java G L org/apache/commons/lang3/Range N O N ? "java/lang/IllegalArgumentException java/lang/StringBuilder /Elements in a range must not be null: element1= ? ? ? ? , element2= : ? N ? ? ? 0 1 ? ? ? 4 5 7 5 java/lang/NullPointerException Element is null g e j e d e s o ;Cannot calculate intersection with non-overlapping range %s java/lang/Object ? ? ? { e _ ` ? ? 8 9 8 ~ : ; N ? ? ? .. java/io/Serializable 3org/apache/commons/lang3/Range$ComparableComparator java/util/Comparator java/lang/String ()V append -(Ljava/lang/String;)Ljava/lang/StringBuilder; -(Ljava/lang/Object;)Ljava/lang/StringBuilder; (Ljava/lang/String;)V INSTANCE 5Lorg/apache/commons/lang3/Range$ComparableComparator; compare '(Ljava/lang/Object;Ljava/lang/Object;)I 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; getClass ()Ljava/lang/Class; (I)V (C)Ljava/lang/StringBuilder; 1 ' + , - . 0 1 2 3 4 5 2 6 7 5 2 6 ? 8 9 ? : ; <