com.groupbyinc.flux.bootstrap.JavaVersion.class Maven / Gradle / Ivy
???? 4 ? )com/groupbyinc/flux/bootstrap/JavaVersion ULjava/lang/Object;Ljava/lang/Comparable; java/lang/Object java/lang/Comparable JavaVersion.java %java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles Lookup version Ljava/util/List; %Ljava/util/List; CURRENT +Lcom/groupbyinc/flux/bootstrap/JavaVersion;
getVersion ()Ljava/util/List; this (Ljava/util/List;)V ()V
java/util/List size ()I ! get (I)Ljava/lang/Object; # $ % java/lang/Integer ' intValue )
( * java/util/ArrayList , subList (II)Ljava/util/List; . / 0 (Ljava/util/Collection;)V 2
- 3 java/util/Collections 5 unmodifiableList "(Ljava/util/List;)Ljava/util/List; 7 8
6 9 parse ?(Ljava/lang/String;)Lcom/groupbyinc/flux/bootstrap/JavaVersion; java/util/Objects = requireNonNull &(Ljava/lang/Object;)Ljava/lang/Object; ? @
> A isValid (Ljava/lang/String;)Z C D
E "java/lang/IllegalArgumentException G value I (Ljava/lang/String;)V K
H L
- \. O java/lang/String Q split '(Ljava/lang/String;)[Ljava/lang/String; S T
R U [Ljava/lang/String; W valueOf '(Ljava/lang/String;)Ljava/lang/Integer; Y Z
( [ add (Ljava/lang/Object;)Z ] ^ _
a component Ljava/lang/String;
components ^0*[0-9]+(\.[0-9]+)*$ f matches h D
R i current -()Lcom/groupbyinc/flux/bootstrap/JavaVersion; m compareTo .(Lcom/groupbyinc/flux/bootstrap/JavaVersion;)I java/lang/Math q max (II)I s t
r u d I s i o len equals getClass ()Ljava/lang/Class; ~
? o p
? Ljava/lang/Object; hashCode ? ? toString ()Ljava/lang/String; stream ()Ljava/util/stream/Stream; ? ? ? "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; ? ?
? ? ? @ lambda$toString$0 '(Ljava/lang/Integer;)Ljava/lang/String; ? ?
? ? ? apply ()Ljava/util/function/Function; ? ? ? java/util/stream/Stream ? map 8(Ljava/util/function/Function;)Ljava/util/stream/Stream; ? ? ? ? . ? java/util/stream/Collectors ? joining 6(Ljava/lang/CharSequence;)Ljava/util/stream/Collector; ? ?
? ? collect 0(Ljava/util/stream/Collector;)Ljava/lang/Object; ? ? ? ? (Ljava/lang/Object;)I (I)Ljava/lang/String; ? ?
( ? v Ljava/lang/Integer; java.specification.version ? java/lang/System ? getProperty &(Ljava/lang/String;)Ljava/lang/String; ? ?
? ? ; <
? Signature Code LocalVariableTable LineNumberTable '()Ljava/util/List; LocalVariableTypeTable
StackMapTable ((Ljava/util/List;)V BootstrapMethods
SourceFile InnerClasses ! ? ? / *? ? ? ? ! ? ? ? ? O*? +? " ? ;+? & ? (? +? *+? & ? (? +? ? -Y++? " ? 1 ? 4L*+? :? ? ? O O ? O ? $ % 1 ( F * N + ? ? F ? ? ; <