io.virtdata.random.RandomLineToInt.class Maven / Gradle / Ivy
???? 4 ?
D E
F
G H
I J K L
M N O P Q
R S T
G
U
V W
X Y
Z [ \ P ] ^
_ `
_ a b
c d e f g logger Lorg/slf4j/Logger; lines Ljava/util/List; Signature $Ljava/util/List; rng 1Lorg/apache/commons/math3/random/MersenneTwister; itemDistribution ;Lorg/apache/commons/math3/distribution/IntegerDistribution; filename Ljava/lang/String; (Ljava/lang/String;)V Code LineNumberTable LocalVariableTable this $Lio/virtdata/random/RandomLineToInt; (Ljava/lang/String;J)V seed J toString ()Ljava/lang/String;
applyAsInt (J)I value itemIdx I item ()V
SourceFile RandomLineToInt.java RuntimeVisibleAnnotations ,Lio/virtdata/annotations/DeprecatedFunction; Vrandom mappers are not deterministic. They will be replaced with hash-based functions. h i j + 2 + > ) * k l m ! " /org/apache/commons/math3/random/MersenneTwister + n % & @org/apache/commons/math3/distribution/UniformIntegerDistribution o p q + r ' ( java/lang/StringBuilder s t u v 6 w x : 5 6 y z q { | java/lang/String } ~ ? q "io/virtdata/random/RandomLineToInt ? ? ? java/lang/Object $java/util/function/LongToIntFunction java/lang/System nanoTime ()J io/virtdata/util/ResourceFinder readDataFileLines $(Ljava/lang/String;)Ljava/util/List; (J)V java/util/List size ()I 6(Lorg/apache/commons/math3/random/RandomGenerator;II)V getClass ()Ljava/lang/Class; java/lang/Class
getSimpleName append -(Ljava/lang/String;)Ljava/lang/StringBuilder; 9org/apache/commons/math3/distribution/IntegerDistribution sample get (I)Ljava/lang/Object; java/lang/Integer valueOf '(Ljava/lang/String;)Ljava/lang/Integer; intValue org/slf4j/LoggerFactory getLogger %(Ljava/lang/Class;)Lorg/slf4j/Logger; ! ! " # $ % &