This file contains 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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using UnityEngine; | |
using UnityEngine.Tilemaps; | |
[CreateAssetMenu(fileName = "BaseCustomTileData", menuName = "Custom Tile Rules/New Custom Tile Rule")] | |
public class BaseCustomTileData : RuleTile<BaseCustomTileData.Neighbor>, ICloneable, IComparable<BaseCustomTileData> | |
{ | |
#region Pathfinder |
This file contains 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
public class MainActivity extends Activity implements View.OnClickListener { | |
private Button btnLogar, btnCadastrar; | |
private EditText edtLogin, edtSenha; | |
private DbHelper dbhelper; | |
@Override | |
protected void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
setContentView(R.layout.main_activity); |
This file contains 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
dasda |
This file contains 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
public class MainActivity extends AppCompatActivity { | |
private Button btnCalc; | |
private EditText edtPeso, edtAltura; | |
private TextView txtResultado; | |
@Override | |
protected void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
setContentView(R.layout.activity_main); |
This file contains 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 br.com.fiap.principal; | |
import br.com.fiap.bean.Pessoa; | |
import br.com.fiap.bo.PessoaBO; | |
import br.com.fiap.excecao.Excecao; | |
public class TesteThreads extends Thread { | |
private static PessoaBO bo = null; |
This file contains 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
<!-- jstl --> | |
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> | |
<!-- css bootstrap --> | |
<link rel="stylesheet" href="css/bootstrap.min.css"> | |
<!-- jQuery --> | |
<script src="js/jquery-3.1.1.min.js"></script> | |
<!-- javascript bootstrap --> | |
<script src="js/bootstrap.js"></script> | |
<!-- Menu --> | |
<%@ include file="menu.jsp"%> |
This file contains 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
@WebServlet("/login") | |
@SuppressWarnings("serial") | |
public class LoginServlet extends HttpServlet { | |
@Override | |
protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException { | |
Usuario u = new UsuarioBO().logar(req.getParameter("usuario"), req.getParameter("senha")); | |
if (u != null) { | |
HttpSession s = req.getSession(); |
This file contains 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 br.com.fiap.testes; | |
import javax.swing.JOptionPane; | |
import br.com.fiap.beans.Funcionario; | |
public class TesteVetor { | |
public static double mediaSalarios(Funcionario[] a, int tamanho){ | |
double media = 0d; |
This file contains 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 teste; | |
/* | |
import janela.Janela; | |
public class Main { | |
public static void main(String[] args) { | |
Janela j = new Janela(); | |
This file contains 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 janela; | |
import javax.swing.JFrame; | |
import javax.swing.JSplitPane; | |
public class Janela extends JFrame{ | |
public Janela() { | |
JSplitPane sp = new JSplitPane(); |
NewerOlder