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
package tech.alvarez; | |
public class Constantes { | |
public static final int SOAT_TIPO_PUBLICO = 1; | |
public static final int SOAT_TIPO_PRIVADO = 2; | |
} |
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 javafx.application.Application; | |
import javafx.event.ActionEvent; | |
import javafx.event.Event; | |
import javafx.event.EventHandler; | |
import javafx.fxml.FXMLLoader; | |
import javafx.geometry.Insets; | |
import javafx.scene.Parent; | |
import javafx.scene.Scene; | |
import javafx.scene.control.Alert; | |
import javafx.scene.control.Button; |
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
<?xml version="1.0" encoding="utf-8"?> | |
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent"> | |
<ImageView | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:background="#000000" | |
android:scaleType="centerCrop" /> |
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
package tech.alvarez; | |
import java.util.LinkedList; | |
import java.util.PriorityQueue; | |
import java.util.Queue; | |
public class Main { | |
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
package tech.alvarez; | |
import java.util.PriorityQueue; | |
import java.util.Queue; | |
public class Main { | |
public static void main(String[] args) { | |
Queue<Persona> cola = new PriorityQueue<Persona>(); |
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
package tech.alvarez; | |
import java.util.LinkedList; | |
import java.util.Queue; | |
public class Main { | |
public static void main(String[] args) { | |
Queue<Persona> cola = new LinkedList<Persona>(); |
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
package tech.alvarez; | |
import java.util.Stack; | |
public class Main { | |
public static void main(String[] args) { | |
Stack<Ticket> ven1Vip = new Stack<Ticket>(); | |
Stack<Ticket> ven1Gral = new Stack<Ticket>(); | |
Stack<Ticket> ven2Vip = new Stack<Ticket>(); |
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
Content-Type:application/json | |
Authorization:key=KEY | |
{ | |
"to": "f94XHR9cA-Y:APA91bFJ-foRTaZz0q4jUqUcrNNoAV5sbflgJPlyS5XOrx9QtWWlPdzQfhAhLMgL5_kAVxBUcbfboyErEZ4vMVPKVpzsHfp0yAOJGHlyRMURbOLJrj1da1PC8kuHtdi8lMvnpVE6eVS2", | |
"notification": { | |
"title": "Noticia desde el servidor", | |
"body": "Descripción de la noticia desde el servidor" | |
}, | |
"data": { |
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
package tech.alvarez; | |
public class Libro { | |
private String titulo; | |
private String autor; | |
public Libro() { | |
this.titulo = ""; | |
this.autor = ""; |
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
package tech.alvarez; | |
import java.util.Stack; | |
public class Main { | |
public static void main(String[] args) { | |
Stack<Libro> pila = new Stack<Libro>(); |