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
| 2009-12-03 18:47:20,076 INFO [STDOUT] ------------------------ criarCotacaoESBToCTFL ------------------------ | |
| 2009-12-03 18:47:20,076 INFO [STDOUT] 03777341000166 - TESTE com filiais - null - null - null - Nao espec - | |
| 2009-12-03 18:47:20,076 INFO [STDOUT] null | |
| 2009-12-03 18:47:20,076 INFO [STDOUT] null - null - null | |
| 2009-12-03 18:47:20,076 INFO [STDOUT] ----------------------------------------------------------------------- |
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
| 2009-12-02 18:13:08,514 INFO [STDOUT] ------------------------ criarCotacaoESBToCTFL ------------------------ | |
| 2009-12-02 18:13:08,514 INFO [STDOUT] 03777341000166 - TESTE com filiais - null - null - null - Nao espec - | |
| 2009-12-02 18:13:08,514 INFO [STDOUT] ----------------------------------------------------------------------- | |
| 2009-12-02 18:13:15,279 INFO [STDOUT] ------------------------ criarCotacaoESBToCTFL ------------------------ | |
| 2009-12-02 18:13:15,279 INFO [STDOUT] 03777341000166 - TESTE com filiais - null - null - null - Nao espec - |
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
| public class Main { | |
| public static void main(String[] args) { | |
| Class classe = Object.class; | |
| Method[] metodos = classe.getDeclaredMethods(); | |
| for (Method method : metodos) { | |
| System.out.println("É privado:"+Modifier.isPrivate(method.getModifiers()) | |
| +" - Método:"+method.getName()); | |
| } | |
| } |
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
| public class Main { | |
| public static void main(String[] args) { | |
| Class classe = Object.class; | |
| Method[] metodos = classe.getDeclaredMethods(); | |
| for (Method method : metodos) { | |
| System.out.println("É privado:"+Modifier.isPrivate(method.getModifiers()) | |
| +" - Método:"+method.getName()); | |
| } | |
| } |
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
| public class Main { | |
| public static void main(String[] args) { | |
| Class classe = Object.class; | |
| Method[] metodos = classe.getDeclaredMethods(); | |
| for(Method method : metodos) { | |
| System.out.println(method.getName()); | |
| } | |
| } |
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
| public class Empresa extends Observable { | |
| public void mandarMensagem(String mensagem) { | |
| setChanged(); | |
| notifyObservers(mensagem); | |
| } | |
| public static void main(String[] args) { | |
| Empresa empresa = new Empresa(); | |
| Usuario joao = new Usuario("joão"); |
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
| public class Empresa { | |
| private Usuario joao = new Usuario("joão"); | |
| private Usuario jose = new Usuario("josé"); | |
| private Usuario andre = new Usuario("André"); | |
| public void mandarMensagem(String mensagem) { | |
| joao.receberMensagem(mensagem); | |
| jose.receberMensagem(mensagem); | |
| andre.receberMensagem(mensagem); |