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
/* | |
* 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
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 |
NewerOlder