Portfolio Code | Clement Colmerauer
Repositories
Site
Rabbit simulation
Code
Commits
Branches
Tags
Search
Tree:
a20104a
Branches
Tags
master
Rabbit simulation
build
rabbit
Parameter.class
initial commit
Clement COLMERAUER
commited
a20104a
at 2024-09-09 10:17:52
Parameter.class
Blame
History
Raw
��� A � java/lang/Object <init> ()V java/util/ArrayList rabbit/Parameter food Ljava/util/ArrayList; preda climate climateSize I add (Ljava/lang/Object;)Z disease " # diseaseSize % & ' ( ) java/lang/System console ()Ljava/io/Console; + Food modifier: - . / 0 1 java/io/Console printf 8(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/Console; 3 4 foodSize 6 Food %d, modifier %f 8 9 : ; < java/lang/Integer valueOf (I)Ljava/lang/Integer; > ? @ get (I)Ljava/lang/Object; B Predators modifier: D E predaSize G Predator %d, modifier %f I Disease: K Disease %d, M infection chance : %f O +survivability on scattered population : %f Q (survivability on united population : %f S Climate: U Month %d, 8 W X Y intValue ()I [ cold and ] moderate and _ hot and a humid c moderate e dry g h i surface D k java/lang/Double j m n o doubleValue ()D Signature )Ljava/util/ArrayList<Ljava/lang/Double;>; ALjava/util/ArrayList<Ljava/util/ArrayList<Ljava/lang/Integer;>;>; @Ljava/util/ArrayList<Ljava/util/ArrayList<Ljava/lang/Double;>;>; Code LineNumberTable initClimate StackMapTable initDisease print (I)V (D)V addPreda (Ljava/lang/Double;)V addFood addDisease (ILjava/lang/Double;)V addClimate (ILjava/lang/Integer;)V getClimate (II)I getFood (I)D getPreda getDisease (II)D SourceFile Parameter.java ! h i E # 4 p q p r p q p s t ? *� *� Y� � *� Y� � � u v t b +*� Y� � <*� � *� � Y� � W���� u &