This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.time.LocalDateTime; | |
import java.time.temporal.ChronoUnit; | |
/** | |
* Alguno de los ejemplos que tienen implementado el Patron de Diseño - Fluid Interface | |
*/ | |
public class TestApisWithFluidInterface { | |
public static void main(String[] args) { | |
//Una API que tienen implementado el patrón es StringBuilder |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* CLASE MAIN PARA PROBAR EL Java Fluent Interface | |
* QUE NOS PERMITIRA TRABAJR UN POCO MAS FLUIDO CUANDO PROGRAMAMOS | |
*/ | |
public class TestPatterns { | |
/** | |
* @param args the command line arguments | |
*/ | |
public static void main(String[] args) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* To change this license header, choose License Headers in Project Properties. | |
* To change this template file, choose Tools | Templates | |
* and open the template in the editor. | |
*/ | |
package com.xixo.simulador1; | |
/** | |
* Dado las siguientes clases | |
* @author neroxixo |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Dado el siguiente codigo. | |
* @author neroxixo | |
*/ | |
class Vehicle{ | |
String type = "4W"; | |
int maxSpeed = 100; | |
public Vehicle(String type, int maxSpeed) { | |
this.type = type; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<project xmlns="http://maven.apache.org/POM/4.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>mx.com.xixo</groupId> | |
<artifactId>spring-interprete-demo-filosofia</artifactId> | |
<version>0.0.1-SNAPSHOT</version> | |
<name>spring-framework-inyeccion-dependencia</name> | |
<description>Purebas de Spring</description> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<project xmlns="http://maven.apache.org/POM/4.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>mx.com.xixo</groupId> | |
<artifactId>spring-interprete-demo-filosofia</artifactId> | |
<version>0.0.1-SNAPSHOT</version> | |
<name>spring-framework-inyeccion-dependencia</name> | |
<description>Purebas de Spring</description> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<project xmlns="http://maven.apache.org/POM/4.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>mx.com.xixo</groupId> | |
<artifactId>spring-interprete-demo-filosofia</artifactId> | |
<version>0.0.1-SNAPSHOT</version> | |
<name>spring-framework-inyeccion-dependencia</name> | |
<description>Purebas de Spring</description> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>com.xixo.testing</groupId> | |
<artifactId>simple-maven-project-for-all-testing</artifactId> | |
<version>1.0.0-SNAPSHOT</version> | |
<name>Simple Maven Project for Testing</name> | |
<description>Testing all question</description> | |
<properties> | |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Logs | |
logs | |
*.log | |
# Runtime data | |
pids | |
*.pid | |
*.seed | |
# Directory for instrumented libs generated by jscoverage/JSCover |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#NODEMON-NODEJS | |
#INSTALAR NODEMON, PARA NO ESTAR CORRIENDO O DETENIENDO LA APLICACIÓN Y RECARGANDO DE NUEVO | |
#INSTALAR COMO DEPENDENCIA DE PRODUCCIÓN EN TU PROYECTO | |
npm i nodemon | |
#INSTALAR COMO DEPENDENCIA DE DESARROLLO EN TU PROYECTO | |
npm i -D nodemon | |
#SE CREA UNA NUEVA DEPENDECIA EN EL package.json |
OlderNewer