Skip to content

Commit

Permalink
Changed package "dsa" to "es.danisales"
Browse files Browse the repository at this point in the history
  • Loading branch information
ByDSA committed Jun 18, 2019
1 parent 2bb2776 commit 941f1fb
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 16 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# random

Librería Java de utilidades en el ámbito de la aleatoriedad
A Java library for random

# Features

- Random Picker:
## Targets

La idea del Target es asignarle un valor de superficie superficie para que luego el PackTarget, compuesto de Target, lance un 'dart' a la superficie formada por todos los Target que contiene. El Target alcanzado por el 'dart' será el escogido aleatoriamente.
La idea del Target es asignarle un valor de superficie para que luego el PackTarget, compuesto de Target, lance un 'dart' a la superficie formada por todos los Target que contiene. El Target alcanzado por el 'dart' será el escogido aleatoriamente.

### Download
- Gradle:
Expand Down Expand Up @@ -46,7 +46,7 @@ Add Dependency:
<version>1.0</version>
</dependency>
```
[random 1.0 jar](https://github.com/ByDSA/random/releases/download/1.0/dsa-random-1.0.jar) download are available from this project's Releases.
[random 1.0 jar](https://github.com/ByDSA/random/releases/download/1.0/es.dsa-random-1.0.jar) download are available from Github project's Releases.

[![Build Status](https://travis-ci.org/ByDSA/random.svg?branch=master)](https://travis-ci.org/ByDSA/random)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package dsa.random;
package es.danisales.random;

import java.util.Random;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package dsa.random.target;
package es.danisales.random.target;

import java.security.SecureRandom;
import java.util.ArrayList;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package dsa.random.target;
package es.danisales.random.target;

public class SimpleTarget implements Target {
private long surface = 1;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package dsa.random.target;
package es.danisales.random.target;

import dsa.utils.Bean;
import es.danisales.utils.Bean;

import java.util.Objects;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package dsa.random.target;
package es.danisales.random.target;

public interface Target {
Target pickDart(long dart);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package dsa.utils;
package es.danisales.utils;

public interface Bean<T> {
void setValue(T v);
Expand Down
6 changes: 3 additions & 3 deletions src/test/java/PackTargetTest.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import dsa.random.target.PackTarget;
import dsa.random.target.SimpleTarget;
import dsa.random.ValueGenerator;
import es.danisales.random.target.PackTarget;
import es.danisales.random.target.SimpleTarget;
import es.danisales.random.ValueGenerator;
import org.junit.Test;

import static org.junit.Assert.assertEquals;
Expand Down
4 changes: 2 additions & 2 deletions src/test/java/SimpleTargetTest.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import dsa.random.target.SimpleTarget;
import dsa.random.ValueGenerator;
import es.danisales.random.target.SimpleTarget;
import es.danisales.random.ValueGenerator;
import org.junit.Test;

import static org.junit.Assert.assertEquals;
Expand Down

0 comments on commit 941f1fb

Please sign in to comment.