<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3650733369332074243</id><updated>2024-08-31T11:14:32.445-03:00</updated><category term="Java"/><category term="Java SE"/><category term="Downloads"/><category term="Notícias"/><category term="C/C++"/><category term="Java Web"/><category term="Android"/><category term="Algoritmo"/><category term="Delphi"/><category term="O que é...?"/><category term="Saúde"/><category term="ANT"/><category term="Cursos"/><category term="Frameworks"/><category term="JSP"/><category term="JavaFX"/><category term="Open-source"/><category term="PHP"/><category term="SPED - Fiscal"/><title type='text'>UMC-ASTEC</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://umcastec.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3650733369332074243/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://umcastec.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/3650733369332074243/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>UMC</name><uri>http://www.blogger.com/profile/09493040262451505475</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>92</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3650733369332074243.post-6030973791305954993</id><published>2012-10-09T14:52:00.000-03:00</published><updated>2012-10-09T14:52:31.931-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><title type='text'>Salvar &quot;Print Screen&quot; - Java</title><content type='html'>&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;import java.awt.Rectangle;&lt;br /&gt;import java.awt.Robot;&lt;br /&gt;import java.awt.Toolkit;&lt;br /&gt;import java.awt.image.BufferedImage;&lt;br /&gt;import java.io.File;&lt;br /&gt;import java.text.SimpleDateFormat;&lt;br /&gt;import java.util.Date;&lt;br /&gt;import javax.imageio.ImageIO;&lt;br /&gt;import javax.swing.JOptionPane;&lt;br /&gt;&lt;br /&gt;public class Main {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; public static void main(String[] args) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; try{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; BufferedImage imagem = new Robot().createScreenCapture(new Rectangle(Toolkit.getDefaultToolkit().getScreenSize()));&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; SimpleDateFormat dateFormat = new SimpleDateFormat(&quot;ddMMyyyyhhmm&quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; String data = dateFormat.format(new Date());&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; File file = new File(&quot;D:\\imagem&quot; + data + &quot;.jpg&quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; ImageIO.write(imagem, &quot;jpg&quot;, file);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; }catch(Exception e){&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; JOptionPane.showMessageDialog(null, &quot;Erro: &quot; + e);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;}&lt;/b&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://umcastec.blogspot.com/feeds/6030973791305954993/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3650733369332074243/6030973791305954993?isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3650733369332074243/posts/default/6030973791305954993'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3650733369332074243/posts/default/6030973791305954993'/><link rel='alternate' type='text/html' href='http://umcastec.blogspot.com/2012/10/salvar-print-screen-java.html' title='Salvar &quot;Print Screen&quot; - Java'/><author><name>UMC</name><uri>http://www.blogger.com/profile/09493040262451505475</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3650733369332074243.post-6611110312992757061</id><published>2012-09-28T17:31:00.003-03:00</published><updated>2012-09-28T17:31:43.218-03:00</updated><title type='text'>Como tocar MP3 - Java</title><content type='html'>&lt;span style=&quot;font-size: x-small;&quot;&gt;Esses dias tive a curiosidade de saber como tocar MP3 em java, e com alguns minutos descobri o quanto isso pode ser simples, graças as centenas de bibliotecas opensource que a comunidade JAVA já está acostumada. Darei um breve exemplo usando a biblioteca JLayer.&lt;br /&gt;Para começar, faça o donwload em http://www.javazoom.net/javalayer/javalayer.html. É um arquivo bem pequeno que já vem com a documentação e o único jar necessário.&lt;br /&gt;Adicione o arquivo jl1.0.jar ao CLASS_PATH da sua aplicação e análise o exemplo a seguir:&lt;br /&gt;import java.io.FileInputStream;&lt;br /&gt;import java.io.FileNotFoundException;&lt;br /&gt;import javazoom.jl.decoder.JavaLayerException;&lt;br /&gt;import javazoom.jl.player.Player;&lt;br /&gt;&lt;br /&gt;public class Tocador {&lt;br /&gt;public static void main (String args[]){&lt;br /&gt;&amp;nbsp;FileInputStream in;&lt;br /&gt;&amp;nbsp;try {&lt;br /&gt;&amp;nbsp; //Inicializa o FileInputStream com o endereço do arquivo para tocar&lt;br /&gt;&amp;nbsp; in = new FileInputStream(&quot;D:/Hey Jude.mp3&quot;);&lt;br /&gt;&lt;br /&gt;&amp;nbsp; //Cria uma instancia da classe player passando para ele o InpuStream do arquivo&lt;br /&gt;&amp;nbsp; Player p = new Player(in);&lt;br /&gt;&lt;br /&gt;&amp;nbsp; //executa o som&lt;br /&gt;&amp;nbsp; p.play();&lt;br /&gt;&amp;nbsp;} catch (FileNotFoundException e) {&lt;br /&gt;&amp;nbsp; e.printStackTrace();&lt;br /&gt;&amp;nbsp;} catch (JavaLayerException e) {&lt;br /&gt;&amp;nbsp; e.printStackTrace();&lt;br /&gt;&amp;nbsp;}&lt;br /&gt;}&lt;br /&gt;}&lt;/span&gt;&lt;b&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Retirado &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;em 28/09/2012 &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;do site&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; : http://falandoemtecnologia.wordpress.com/2009/09/22/como-tocar-mp3-em-java/ &lt;/span&gt;&lt;/b&gt;</content><link rel='replies' type='application/atom+xml' href='http://umcastec.blogspot.com/feeds/6611110312992757061/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3650733369332074243/6611110312992757061?isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3650733369332074243/posts/default/6611110312992757061'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3650733369332074243/posts/default/6611110312992757061'/><link rel='alternate' type='text/html' href='http://umcastec.blogspot.com/2012/09/como-tocar-mp3-em-java.html' title='Como tocar MP3 - Java'/><author><name>UMC</name><uri>http://www.blogger.com/profile/09493040262451505475</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3650733369332074243.post-3640897530990383735</id><published>2012-08-29T14:05:00.000-03:00</published><updated>2012-09-28T17:32:59.752-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><title type='text'>Inverter número inteiro com 3 algarismos - JAVA</title><content type='html'>&amp;nbsp;&amp;nbsp;&amp;nbsp; public void inverterNumero(){&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; int x, a, b, c; &lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; x= 123; &lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; a= x / 100; &lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; b= (x % 100) / 10; &lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; c= (x % 100) % 10; &lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; System.out.println(c + b + a); &lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}</content><link rel='replies' type='application/atom+xml' href='http://umcastec.blogspot.com/feeds/3640897530990383735/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3650733369332074243/3640897530990383735?isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3650733369332074243/posts/default/3640897530990383735'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3650733369332074243/posts/default/3640897530990383735'/><link rel='alternate' type='text/html' href='http://umcastec.blogspot.com/2012/08/inverter-numero-inteiro-com-3.html' title='Inverter número inteiro com 3 algarismos - JAVA'/><author><name>UMC</name><uri>http://www.blogger.com/profile/09493040262451505475</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3650733369332074243.post-2262388635899687239</id><published>2012-07-17T17:39:00.000-03:00</published><updated>2012-07-17T17:39:06.093-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><title type='text'>Obter o nome do mês a partir de uma data - Java</title><content type='html'>&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;b&gt;public static void main(String[] args) throws ParseException {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; Date data = null;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; try {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; data = new SimpleDateFormat(&quot;yyyy-MM-dd&quot;).parse(&quot;2012-07-17&quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; String dataFormatada = new SimpleDateFormat(&quot;MM&quot;).format(data);&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; System.out.println(dataFormatada);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; SimpleDateFormat sdf = new SimpleDateFormat(&quot;MM&quot;);&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; Date mesDate = sdf.parse(dataFormatada);&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; sdf.applyPattern(&quot;MMMM&quot;);&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; System.out.println(sdf.format(mesDate)); &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; catch (ParseException e) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; e.printStackTrace();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; }&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/b&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://umcastec.blogspot.com/feeds/2262388635899687239/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3650733369332074243/2262388635899687239?isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3650733369332074243/posts/default/2262388635899687239'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3650733369332074243/posts/default/2262388635899687239'/><link rel='alternate' type='text/html' href='http://umcastec.blogspot.com/2012/07/obter-o-nome-do-mes-partir-de-uma-data.html' title='Obter o nome do mês a partir de uma data - Java'/><author><name>UMC</name><uri>http://www.blogger.com/profile/09493040262451505475</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3650733369332074243.post-1086465337407442688</id><published>2012-06-18T15:02:00.000-03:00</published><updated>2012-06-18T15:02:43.076-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ANT"/><title type='text'>Subversion e Ant - Capturando o número da última revisão - Ant</title><content type='html'>O número da revisão será exibido no console e será salvo no arquivo &quot;build.txt&quot;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8bkLD8RRAvrrsBaiekFAwKQ6n4LhLeHjXSDQDA_kkrCT89STZckhKm4jq5bnKNhyphenhyphenOenQSLuqZsilZJ92T8IqiSiqoRjV69pc8GrfdWG_32-ysxegW9WgnFuPtfp0lmud2An4DSnHWnPs/s1600/projeto.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8bkLD8RRAvrrsBaiekFAwKQ6n4LhLeHjXSDQDA_kkrCT89STZckhKm4jq5bnKNhyphenhyphenOenQSLuqZsilZJ92T8IqiSiqoRjV69pc8GrfdWG_32-ysxegW9WgnFuPtfp0lmud2An4DSnHWnPs/s1600/projeto.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
Estrutura do Projeto&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiIAGK0XB0xWELURLJs9k7BEFv0qSJeMLgMOOJSmN7v84j9MXTCRdkmdL2CGRCaPCFTCM2QIRs9R72C5Xv_a5IxrQZqkEavaLyTyBLG6gn-191_Zje8sjGTVWRteW9KmIvuT8kR9zMusAg/s1600/build.xml.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;180&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiIAGK0XB0xWELURLJs9k7BEFv0qSJeMLgMOOJSmN7v84j9MXTCRdkmdL2CGRCaPCFTCM2QIRs9R72C5Xv_a5IxrQZqkEavaLyTyBLG6gn-191_Zje8sjGTVWRteW9KmIvuT8kR9zMusAg/s320/build.xml.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&amp;nbsp;build.xml&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://www.4shared.com/rar/zrKRw2hp/Testes.html&quot;&gt;Download do projeto. &lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://umcastec.blogspot.com/feeds/1086465337407442688/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3650733369332074243/1086465337407442688?isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3650733369332074243/posts/default/1086465337407442688'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3650733369332074243/posts/default/1086465337407442688'/><link rel='alternate' type='text/html' href='http://umcastec.blogspot.com/2012/06/subversion-e-ant-capturando-o-numero-da.html' title='Subversion e Ant - Capturando o número da última revisão - Ant'/><author><name>UMC</name><uri>http://www.blogger.com/profile/09493040262451505475</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8bkLD8RRAvrrsBaiekFAwKQ6n4LhLeHjXSDQDA_kkrCT89STZckhKm4jq5bnKNhyphenhyphenOenQSLuqZsilZJ92T8IqiSiqoRjV69pc8GrfdWG_32-ysxegW9WgnFuPtfp0lmud2An4DSnHWnPs/s72-c/projeto.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3650733369332074243.post-4791555200105524277</id><published>2012-05-30T10:23:00.000-03:00</published><updated>2012-05-30T10:23:01.634-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><title type='text'>Remover acentuação - JAVA</title><content type='html'>Uma solução fácil e simples.&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;String input = &quot;áéíóú-ÁÉÍÓÚ&quot;;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;input = Normalizer.normalize(input, Normalizer.Form.NFD);&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;input = input.replaceAll(&quot;[^\\p{ASCII}]&quot;, &quot;&quot;);&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;System.out.println(input); &lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
Solução retirada do: http://javafree.uol.com.br/topic-871337-Remover-acentuacao.html</content><link rel='replies' type='application/atom+xml' href='http://umcastec.blogspot.com/feeds/4791555200105524277/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3650733369332074243/4791555200105524277?isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3650733369332074243/posts/default/4791555200105524277'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3650733369332074243/posts/default/4791555200105524277'/><link rel='alternate' type='text/html' href='http://umcastec.blogspot.com/2012/05/remover-acentuacao-java.html' title='Remover acentuação - JAVA'/><author><name>UMC</name><uri>http://www.blogger.com/profile/09493040262451505475</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3650733369332074243.post-84303490857324485</id><published>2012-04-30T12:04:00.000-03:00</published><updated>2012-05-30T10:24:22.896-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><title type='text'>Como colocar bordas arredondadas em um Bitmap?</title><content type='html'>&lt;span style=&quot;font-size: x-small;&quot;&gt;private static Bitmap getRoundedCornerBitmap(Bitmap bitmapOld, int roundPixel) {&lt;br /&gt;&amp;nbsp;&amp;nbsp; Bitmap output = Bitmap.createBitmap(bitmapOld.getWidth(), bitmapOld.getHeight(),&amp;nbsp;&amp;nbsp;&amp;nbsp; Config.ARGB_8888);&lt;br /&gt;&amp;nbsp;&amp;nbsp; Canvas canvas = new Canvas(output);&lt;br /&gt;&amp;nbsp;&amp;nbsp; final Paint paint = new Paint();&lt;br /&gt;&amp;nbsp;&amp;nbsp; final Rect rect = new Rect(0, 0, bitmapOld.getWidth(), bitmapOld.getHeight());&lt;br /&gt;&amp;nbsp;&amp;nbsp; final RectF rectF = new RectF(rect);&lt;br /&gt;&amp;nbsp;&amp;nbsp; final float roundPx = roundPixelSize;&lt;br /&gt;&amp;nbsp;&amp;nbsp; paint.setAntiAlias(true);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp; canvas.drawRoundRect(rectF, roundPx, roundPx, paint);&lt;br /&gt;&amp;nbsp;&amp;nbsp; paint.setXfermode(new PorterDuffXfermode(Mode.SRC_IN));&lt;br /&gt;&amp;nbsp;&amp;nbsp; canvas.drawBitmap(bitmapOld, rect, rect, paint);&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; return output;&lt;br /&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;Fonte: &lt;a href=&quot;http://debugcodigos.blogspot.com.br/2012/02/para-nunca-mais-esquecer-3-android.html&quot;&gt;http://debugcodigos.blogspot.com.br/2012/02/para-nunca-mais-esquecer-3-android.html&lt;/a&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://umcastec.blogspot.com/feeds/84303490857324485/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3650733369332074243/84303490857324485?isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3650733369332074243/posts/default/84303490857324485'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3650733369332074243/posts/default/84303490857324485'/><link rel='alternate' type='text/html' href='http://umcastec.blogspot.com/2012/04/como-colocar-bordas-arredondadas-em-um.html' title='Como colocar bordas arredondadas em um Bitmap?'/><author><name>UMC</name><uri>http://www.blogger.com/profile/09493040262451505475</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3650733369332074243.post-5075964226016821935</id><published>2012-03-28T15:18:00.002-03:00</published><updated>2012-05-30T10:24:29.157-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><title type='text'>Entendendo o serialVersionUID - JAVA</title><content type='html'>&lt;div style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: #565656; font-family: arial; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 20px; margin: 0px; orphans: 2; padding: 10px 0px; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
O&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;background-color: #ffffc1; background-position: initial initial; background-repeat: initial initial;&quot;&gt;serialVersionUID&lt;/code&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;é uma dúvida constante entre muitos desenvolvedores. Afinal, quando e para que exatamente usá-lo? Devo gerar um número aleatório bem grande, ou um número qualquer? Essas perguntas são comuns, e ao desenvolvedor experiente é necessário conhecer a fundo esse detalhe do&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://java.sun.com/javase/6/docs/platform/serialization/spec/serialTOC.html&quot; style=&quot;color: #2c6288; text-decoration: underline;&quot;&gt;processo de serialização do Java&lt;/a&gt;.&lt;/div&gt;
&lt;div style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: #565656; font-family: arial; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 20px; margin: 0px; orphans: 2; padding: 10px 0px; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
Quando um objeto é serializado no Java, essa sequência de bytes, além de conter seus atributos de instância não transientes, carrega consigo um número que indentifica a “versão” da classe que foi usada durante o processo. Esse é o chamado&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;background-color: #ffffc1; background-position: initial initial; background-repeat: initial initial;&quot;&gt;serialVersionUID&lt;/code&gt;, ou seja, o indentificador de versão de serialização de uma classe. Esse número é utilizado para saber se o objeto que estamos recuperando é de uma versão “compatível” com a versão da classe que foi utilizada quando serializamos o objeto: em outras palavras, os arquivos&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;background-color: #ffffc1; background-position: initial initial; background-repeat: initial initial;&quot;&gt;.class&lt;/code&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;não precisam ser necessariamente os mesmos para que o processo de serialização ocorra com sucesso.&lt;/div&gt;
&lt;div style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: #565656; font-family: arial; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 20px; margin: 0px; orphans: 2; padding: 10px 0px; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
Por exemplo, considere a seguinte classe&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;background-color: #ffffc1; background-position: initial initial; background-repeat: initial initial;&quot;&gt;Usuario&lt;/code&gt;:&lt;/div&gt;
&lt;div style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: #565656; font-family: arial; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
&lt;div class=&quot;syntaxhighlighter nogutter  java&quot; id=&quot;highlighter_603374&quot; style=&quot;background-color: white !important; font-size: 1em !important; margin: 1em 0px !important; overflow-x: auto !important; overflow-y: hidden !important; position: relative !important; width: 553px;&quot;&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: 553px;&quot;&gt;&lt;tbody style=&quot;background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;
&lt;tr style=&quot;background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&lt;td class=&quot;code&quot; style=&quot;background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: 553px;&quot;&gt;&lt;div class=&quot;container&quot; style=&quot;background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: relative !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;
&lt;div class=&quot;line number1 index0 alt2&quot; style=&quot;background-color: white !important; background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em 0px 0em !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;java keyword&quot; style=&quot;background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(127, 0, 85) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;package&lt;/code&gt; &lt;code class=&quot;java plain&quot; style=&quot;background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;br.com.caelum;&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number2 index1 alt1&quot; style=&quot;background-color: white !important; background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em 0px 0em !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;line number3 index2 alt2&quot; style=&quot;background-color: white !important; background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em 0px 0em !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;java keyword&quot; style=&quot;background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(127, 0, 85) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;public&lt;/code&gt; &lt;code class=&quot;java keyword&quot; style=&quot;background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(127, 0, 85) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;class&lt;/code&gt; &lt;code class=&quot;java plain&quot; style=&quot;background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;Usuario &lt;/code&gt;&lt;code class=&quot;java keyword&quot; style=&quot;background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(127, 0, 85) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;implements&lt;/code&gt; &lt;code class=&quot;java plain&quot; style=&quot;background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;Serializable {&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number4 index3 alt1&quot; style=&quot;background-color: white !important; background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em 0px 0em !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;java spaces&quot; style=&quot;background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;java keyword&quot; style=&quot;background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(127, 0, 85) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;private&lt;/code&gt; &lt;code class=&quot;java plain&quot; style=&quot;background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;String login;&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number5 index4 alt2&quot; style=&quot;background-color: white !important; background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em 0px 0em !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;java plain&quot; style=&quot;background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;}&lt;/code&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: #565656; font-family: arial; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 20px; margin: 0px; orphans: 2; padding: 10px 0px; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
Essa classe possui o&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;background-color: #ffffc1; background-position: initial initial; background-repeat: initial initial;&quot;&gt;serialVersionUID&lt;/code&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;igual a&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;background-color: #ffffc1; background-position: initial initial; background-repeat: initial initial;&quot;&gt;2806421523585360625L&lt;/code&gt;.&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Esse número não é aleatório&lt;/strong&gt;! Ele é um hash (SHA) calculado em cima dos nomes dos seus atributos, e assinaturas dos métodos em uma ordem bem definida&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://java.sun.com/javase/6/docs/platform/serialization/spec/class.html#4100&quot; style=&quot;color: #2c6288; text-decoration: underline;&quot;&gt;pela especificação do processo de serialização&lt;/a&gt;. E como eu sei esse número? O JDK vem com a ferramenta&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;background-color: #ffffc1; background-position: initial initial; background-repeat: initial initial;&quot;&gt;serialver&lt;/code&gt;, que implementa esse mesmo hash:&lt;/div&gt;
&lt;div style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: #565656; font-family: arial; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 20px; margin: 0px; orphans: 2; padding: 10px 0px; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
&lt;code style=&quot;background-color: #ffffc1; background-position: initial initial; background-repeat: initial initial;&quot;&gt;serialver br.com.caelum.Usuario&lt;/code&gt;&lt;/div&gt;
&lt;div style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: #565656; font-family: arial; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 20px; margin: 0px; orphans: 2; padding: 10px 0px; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
Se o&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;background-color: #ffffc1; background-position: initial initial; background-repeat: initial initial;&quot;&gt;serialVersionUID&lt;/code&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;utilizado durante a serialização não bater exatamente com o&lt;code style=&quot;background-color: #ffffc1; background-position: initial initial; background-repeat: initial initial;&quot;&gt;serialVersionUID&lt;/code&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;da classe que está sendo usada para recuperar essa informação, uma exception é lançada:&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;background-color: #ffffc1; background-position: initial initial; background-repeat: initial initial;&quot;&gt;java.io.InvalidClassException&lt;/code&gt;.&lt;/div&gt;
&lt;div style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: #565656; font-family: arial; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 20px; margin: 0px; orphans: 2; padding: 10px 0px; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
Por exemplo, se adicionarmos um novo atributo na nossa classe&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;background-color: #ffffc1; background-position: initial initial; background-repeat: initial initial;&quot;&gt;Usuario&lt;/code&gt;:&lt;/div&gt;
&lt;div style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: #565656; font-family: arial; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
&lt;div class=&quot;syntaxhighlighter nogutter  java&quot; id=&quot;highlighter_487350&quot; style=&quot;background-color: white !important; font-size: 1em !important; margin: 1em 0px !important; overflow-x: auto !important; overflow-y: hidden !important; position: relative !important; width: 553px;&quot;&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: 553px;&quot;&gt;&lt;tbody style=&quot;background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;
&lt;tr style=&quot;background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&lt;td class=&quot;code&quot; style=&quot;background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: 553px;&quot;&gt;&lt;div class=&quot;container&quot; style=&quot;background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: relative !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;
&lt;div class=&quot;line number1 index0 alt2&quot; style=&quot;background-color: white !important; background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em 0px 0em !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;java keyword&quot; style=&quot;background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(127, 0, 85) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;public&lt;/code&gt; &lt;code class=&quot;java keyword&quot; style=&quot;background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(127, 0, 85) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;class&lt;/code&gt; &lt;code class=&quot;java plain&quot; style=&quot;background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;Usuario &lt;/code&gt;&lt;code class=&quot;java keyword&quot; style=&quot;background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(127, 0, 85) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;implements&lt;/code&gt; &lt;code class=&quot;java plain&quot; style=&quot;background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;Serializable {&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number2 index1 alt1&quot; style=&quot;background-color: white !important; background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em 0px 0em !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;java spaces&quot; style=&quot;background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;java keyword&quot; style=&quot;background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(127, 0, 85) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;private&lt;/code&gt; &lt;code class=&quot;java plain&quot; style=&quot;background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;String login;&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number3 index2 alt2&quot; style=&quot;background-color: white !important; background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em 0px 0em !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;java spaces&quot; style=&quot;background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;java keyword&quot; style=&quot;background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(127, 0, 85) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;private&lt;/code&gt; &lt;code class=&quot;java plain&quot; style=&quot;background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;String senha;&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number4 index3 alt1&quot; style=&quot;background-color: white !important; background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em 0px 0em !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;java plain&quot; style=&quot;background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;}&lt;/code&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: #565656; font-family: arial; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 20px; margin: 0px; orphans: 2; padding: 10px 0px; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
Agora teremos o&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;background-color: #ffffc1; background-position: initial initial; background-repeat: initial initial;&quot;&gt;serialVersionUID&lt;/code&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;valendo&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;background-color: #ffffc1; background-position: initial initial; background-repeat: initial initial;&quot;&gt;416295346730660862L&lt;/code&gt;. Caso você serialize um&lt;code style=&quot;background-color: #ffffc1; background-position: initial initial; background-repeat: initial initial;&quot;&gt;Usuario&lt;/code&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;com a primeira classe aqui definida, e tentar recuperar essa informação usando essa nova versão de classe, receberemos a conhecida&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;background-color: #ffffc1; background-position: initial initial; background-repeat: initial initial;&quot;&gt;java.io.InvalidClassException&lt;/code&gt;. Esse é o comportamente que em muitos casos queremos, mas algumas vezes fazemos pequenas modificações na classe as quais percebemos que não impactarão no processo de serialização, e precisamos manter compatibilidade com a versão antiga daquela classe. Para isso, basta definirmos explicitamente qual é o nosso&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;background-color: #ffffc1; background-position: initial initial; background-repeat: initial initial;&quot;&gt;serialVersionUID&lt;/code&gt;, e no caso de querer manter compatibilidade com a classe&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;background-color: #ffffc1; background-position: initial initial; background-repeat: initial initial;&quot;&gt;Usuario&lt;/code&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;anterior, vamos utilizar o valor de&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;background-color: #ffffc1; background-position: initial initial; background-repeat: initial initial;&quot;&gt;serialVersionUID&lt;/code&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;que seria gerado pela JVM:&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;background-color: #ffffc1; background-position: initial initial; background-repeat: initial initial;&quot;&gt;2806421523585360625L&lt;/code&gt;. O código ficaria:&lt;/div&gt;
&lt;div style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: #565656; font-family: arial; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
&lt;div class=&quot;syntaxhighlighter nogutter  java&quot; id=&quot;highlighter_157973&quot; style=&quot;background-color: white !important; font-size: 1em !important; margin: 1em 0px !important; overflow-x: auto !important; overflow-y: hidden !important; position: relative !important; width: 553px;&quot;&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: 553px;&quot;&gt;&lt;tbody style=&quot;background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;
&lt;tr style=&quot;background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&lt;td class=&quot;code&quot; style=&quot;background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: 553px;&quot;&gt;&lt;div class=&quot;container&quot; style=&quot;background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: relative !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;
&lt;div class=&quot;line number1 index0 alt2&quot; style=&quot;background-color: white !important; background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em 0px 0em !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;java keyword&quot; style=&quot;background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(127, 0, 85) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;public&lt;/code&gt; &lt;code class=&quot;java keyword&quot; style=&quot;background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(127, 0, 85) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;class&lt;/code&gt; &lt;code class=&quot;java plain&quot; style=&quot;background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;Usuario &lt;/code&gt;&lt;code class=&quot;java keyword&quot; style=&quot;background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(127, 0, 85) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;implements&lt;/code&gt; &lt;code class=&quot;java plain&quot; style=&quot;background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;Serializable {&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number2 index1 alt1&quot; style=&quot;background-color: white !important; background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em 0px 0em !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;java spaces&quot; style=&quot;background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;java keyword&quot; style=&quot;background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(127, 0, 85) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;private&lt;/code&gt; &lt;code class=&quot;java keyword&quot; style=&quot;background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(127, 0, 85) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;static&lt;/code&gt; &lt;code class=&quot;java keyword&quot; style=&quot;background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(127, 0, 85) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;final&lt;/code&gt; &lt;code class=&quot;java keyword&quot; style=&quot;background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(127, 0, 85) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;long&lt;/code&gt; &lt;code class=&quot;java plain&quot; style=&quot;background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;serialVersionUID = 2806421523585360625L;&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number3 index2 alt2&quot; style=&quot;background-color: white !important; background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em 0px 0em !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;java spaces&quot; style=&quot;background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;java keyword&quot; style=&quot;background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(127, 0, 85) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;private&lt;/code&gt; &lt;code class=&quot;java plain&quot; style=&quot;background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;String login;&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number4 index3 alt1&quot; style=&quot;background-color: white !important; background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em 0px 0em !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;java spaces&quot; style=&quot;background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;java keyword&quot; style=&quot;background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(127, 0, 85) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;private&lt;/code&gt; &lt;code class=&quot;java plain&quot; style=&quot;background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;String senha;&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number5 index4 alt2&quot; style=&quot;background-color: white !important; background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em 0px 0em !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;java plain&quot; style=&quot;background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;}&lt;/code&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: #565656; font-family: arial; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 20px; margin: 0px; orphans: 2; padding: 10px 0px; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
Às vezes recebemos um warning do Eclipse, e ele pede para que seja definido o&lt;code style=&quot;background-color: #ffffc1; background-position: initial initial; background-repeat: initial initial;&quot;&gt;serialVersionUID&lt;/code&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;da classe em questão. Isso ocorre porque você implementa&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;background-color: #ffffc1; background-position: initial initial; background-repeat: initial initial;&quot;&gt;Serializable&lt;/code&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;ou uma de suas mães a implementa. O Eclipse então te abre três opções: utilizar o&lt;code style=&quot;background-color: #ffffc1; background-position: initial initial; background-repeat: initial initial;&quot;&gt;@SurpressWarnings&lt;/code&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;para você assumir o risco, usar um valor default, ou usar o valor gerado. O gerador de UIDs do Eclipse é exatamente o mesmo gerador utilizado pelo Java SE para criar os UIDs padrão! Reforçando,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;esse número não é um número aleatório&lt;/strong&gt;!&lt;/div&gt;
&lt;div style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: #565656; font-family: arial; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 20px; margin: 0px; orphans: 2; padding: 10px 0px; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
Quando alguém esquece de manter o mesmo&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;background-color: #ffffc1; background-position: initial initial; background-repeat: initial initial;&quot;&gt;serialVersionUID&lt;/code&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;para duas versões compatíveis de uma classe, podemos ter problemas em usar diferentes versões do software que são teoricamente compatíveis. Isso muitas vezes acontece em servidores de aplicação, e se seu cliente esta desatualizado em relação a versão dos jars necessários pelo servidor, podemos ter alguns&lt;code style=&quot;background-color: #ffffc1; background-position: initial initial; background-repeat: initial initial;&quot;&gt;InvalidClassException&lt;/code&gt;s que poderiam ser facilmente evitados se o&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;background-color: #ffffc1; background-position: initial initial; background-repeat: initial initial;&quot;&gt;serialVersionUID&lt;/code&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;tivesse sido corretamente aplicado. Claro que algumas outras vezes as versões realmente não são compatíveis e a exception procede.&lt;/div&gt;
&lt;div style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: #565656; font-family: arial; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 20px; margin: 0px; orphans: 2; padding: 10px 0px; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
Esse grave problema pode acontecer mesmo usando classes do Java SE entre diferentes versões, como é o caso da classe&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;background-color: #ffffc1; background-position: initial initial; background-repeat: initial initial;&quot;&gt;&lt;a href=&quot;http://java.sun.com/j2se/1.4.2/docs/api/java/text/AttributedCharacterIterator.Attribute.html&quot; style=&quot;color: #2c6288; text-decoration: underline;&quot;&gt;java.text.AttributedCharacterIterator.Attribute&lt;/a&gt;&lt;/code&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;(utilizada pela&lt;code style=&quot;background-color: #ffffc1; background-position: initial initial; background-repeat: initial initial;&quot;&gt;java.awt.Font&lt;/code&gt;). Do Java 1.3 para o Java 1.4 essa classe foi levemente alterada, e o&lt;code style=&quot;background-color: #ffffc1; background-position: initial initial; background-repeat: initial initial;&quot;&gt;serialVersionUID&lt;/code&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4365406&quot; style=&quot;color: #2c6288; text-decoration: underline;&quot;&gt;gerado pelo algoritmo da JVM desta classe mudou&lt;/a&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;de&lt;code style=&quot;background-color: #ffffc1; background-position: initial initial; background-repeat: initial initial;&quot;&gt;-1514471214376796190L&lt;/code&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;para&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;background-color: #ffffc1; background-position: initial initial; background-repeat: initial initial;&quot;&gt;-9142742483513960612L&lt;/code&gt;. Quando alguém serializava uma&lt;code style=&quot;background-color: #ffffc1; background-position: initial initial; background-repeat: initial initial;&quot;&gt;java.awt.Font&lt;/code&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;em uma versão não podia desserializa-la em outra, sendo que as versões tecnicamente são compatíveis: a não definição explícita do&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;background-color: #ffffc1; background-position: initial initial; background-repeat: initial initial;&quot;&gt;serialVersionUID&lt;/code&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;gerou um bug no Java SE. Como isto foi resolvido? Definiram o&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;background-color: #ffffc1; background-position: initial initial; background-repeat: initial initial;&quot;&gt;serialVersionUID&lt;/code&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;como&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;background-color: #ffffc1; background-position: initial initial; background-repeat: initial initial;&quot;&gt;-1514471214376796190L&lt;/code&gt;, que é o valor que seria gerado pela JVM na versão anterior da classe.&lt;/div&gt;
&lt;div style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: #565656; font-family: arial; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 20px; margin: 0px; orphans: 2; padding: 10px 0px; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
Como então devemos proceder para escolher um&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;background-color: #ffffc1; background-position: initial initial; background-repeat: initial initial;&quot;&gt;serialVersionUID&lt;/code&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;apropriado? É muito simples: se essa classe está nascendo neste momento, você pode se dar ao luxo de utilizar um&lt;code style=&quot;background-color: #ffffc1; background-position: initial initial; background-repeat: initial initial;&quot;&gt;serialVersionUID&lt;/code&gt;, como por exemplo:&lt;/div&gt;
&lt;div style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: #565656; font-family: arial; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
&lt;div class=&quot;syntaxhighlighter nogutter  java&quot; id=&quot;highlighter_381024&quot; style=&quot;background-color: white !important; font-size: 1em !important; margin: 1em 0px !important; overflow-x: auto !important; overflow-y: hidden !important; position: relative !important; width: 553px;&quot;&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: 553px;&quot;&gt;&lt;tbody style=&quot;background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;
&lt;tr style=&quot;background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&lt;td class=&quot;code&quot; style=&quot;background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: 553px;&quot;&gt;&lt;div class=&quot;container&quot; style=&quot;background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: relative !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;
&lt;div class=&quot;line number1 index0 alt2&quot; style=&quot;background-color: white !important; background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em 0px 0em !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;java keyword&quot; style=&quot;background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(127, 0, 85) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;public&lt;/code&gt; &lt;code class=&quot;java keyword&quot; style=&quot;background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(127, 0, 85) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;class&lt;/code&gt; &lt;code class=&quot;java plain&quot; style=&quot;background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;Usuario &lt;/code&gt;&lt;code class=&quot;java keyword&quot; style=&quot;background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(127, 0, 85) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;implements&lt;/code&gt; &lt;code class=&quot;java plain&quot; style=&quot;background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;Serializable {&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number2 index1 alt1&quot; style=&quot;background-color: white !important; background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em 0px 0em !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;java spaces&quot; style=&quot;background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;java keyword&quot; style=&quot;background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(127, 0, 85) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;private&lt;/code&gt; &lt;code class=&quot;java keyword&quot; style=&quot;background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(127, 0, 85) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;static&lt;/code&gt; &lt;code class=&quot;java keyword&quot; style=&quot;background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(127, 0, 85) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;final&lt;/code&gt; &lt;code class=&quot;java keyword&quot; style=&quot;background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(127, 0, 85) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;long&lt;/code&gt; &lt;code class=&quot;java plain&quot; style=&quot;background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;serialVersionUID = 1L;&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number3 index2 alt2&quot; style=&quot;background-color: white !important; background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em 0px 0em !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;java spaces&quot; style=&quot;background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;java keyword&quot; style=&quot;background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(127, 0, 85) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;private&lt;/code&gt; &lt;code class=&quot;java plain&quot; style=&quot;background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;String login;&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number4 index3 alt1&quot; style=&quot;background-color: white !important; background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em 0px 0em !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;java plain&quot; style=&quot;background-image: none !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px initial initial !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;}&lt;/code&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: #565656; font-family: arial; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 20px; margin: 0px; orphans: 2; padding: 10px 0px; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
Porém se você está definindo o&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;background-color: #ffffc1; background-position: initial initial; background-repeat: initial initial;&quot;&gt;serialVersionUID&lt;/code&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;de uma classe já em produção, e sabe que a mudança que está fazendo é compatível com a versão anterior, você deve utilizar o&lt;code style=&quot;background-color: #ffffc1; background-position: initial initial; background-repeat: initial initial;&quot;&gt;serialVersionUID&lt;/code&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;que seria gerado pela JVM na primeira versão, como foi o caso aqui quando adicionamos o atributo&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;background-color: #ffffc1; background-position: initial initial; background-repeat: initial initial;&quot;&gt;senha&lt;/code&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;na classe&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;background-color: #ffffc1; background-position: initial initial; background-repeat: initial initial;&quot;&gt;Usuario&lt;/code&gt;, e também foi o caso da correção do bug da classe&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;background-color: #ffffc1; background-position: initial initial; background-repeat: initial initial;&quot;&gt;java.text.AttributedCharacterIterator.Attribute&lt;/code&gt;. Quando você fizer uma alteração onde percebe que o cliente precisará de atualização das classes envolvidas, basta definir um&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;background-color: #ffffc1; background-position: initial initial; background-repeat: initial initial;&quot;&gt;serialVersionUID&lt;/code&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;diferente dos anteriormente utilizados.&lt;/div&gt;
&lt;div style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: #565656; font-family: arial; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 20px; margin: 0px; orphans: 2; padding: 10px 0px; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
Para completar, implementar uma interface que não define métodos (&lt;code style=&quot;background-color: #ffffc1; background-position: initial initial; background-repeat: initial initial;&quot;&gt;Serializable&lt;/code&gt;) e ser forçado a escrever um atributo sem um contrato mais burocrático é um tanto estranho em uma linguagem como o Java. Sem dúvida, se esse mecanismo todo tivesse sido inventado já com a existência de anotações,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;background-color: #ffffc1; background-position: initial initial; background-repeat: initial initial;&quot;&gt;Serializable&lt;/code&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;seria uma anotação e&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;background-color: #ffffc1; background-position: initial initial; background-repeat: initial initial;&quot;&gt;version&lt;/code&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;um atributo dela, talvez obrigatório, criando algo como&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;background-color: #ffffc1; background-position: initial initial; background-repeat: initial initial;&quot;&gt;@Serializable(version=12345L)&lt;/code&gt;. Boas serializações e invocações remotas!&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #565656; font-family: arial; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 20px; margin: 0px; orphans: 2; padding: 10px 0px; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
Fonte: &lt;a href=&quot;http://blog.caelum.com.br/entendendo-o-serialversionuid/&quot;&gt;http://blog.caelum.com.br/entendendo-o-serialversionuid/&lt;/a&gt; &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://umcastec.blogspot.com/feeds/5075964226016821935/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3650733369332074243/5075964226016821935?isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3650733369332074243/posts/default/5075964226016821935'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3650733369332074243/posts/default/5075964226016821935'/><link rel='alternate' type='text/html' href='http://umcastec.blogspot.com/2012/03/entendendo-o-serialversionuid-java.html' title='Entendendo o serialVersionUID - JAVA'/><author><name>UMC</name><uri>http://www.blogger.com/profile/09493040262451505475</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3650733369332074243.post-3797397946027841053</id><published>2012-02-27T21:00:00.000-03:00</published><updated>2012-02-27T21:00:09.071-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><title type='text'>Instalar APK a partir da sua aplicação - Android</title><content type='html'>&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;File apk = new File( Environment.getExternalStorageDirectory() + &quot;/Copas.apk&quot;);&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;Intent it = new Intent(Intent.ACTION_VIEW); &amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;it.setDataAndType(Uri.fromFile(apk), &amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&amp;nbsp; &quot;application/vnd.android.package-archive&quot;); &amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;startActivity(it); &amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Fonte:&amp;nbsp;http://nglauber.blogspot.com/2012/02/android-dicas-6.html&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://umcastec.blogspot.com/feeds/3797397946027841053/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3650733369332074243/3797397946027841053?isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3650733369332074243/posts/default/3797397946027841053'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3650733369332074243/posts/default/3797397946027841053'/><link rel='alternate' type='text/html' href='http://umcastec.blogspot.com/2012/02/instalar-apk-partir-da-sua-aplicacao.html' title='Instalar APK a partir da sua aplicação - Android'/><author><name>UMC</name><uri>http://www.blogger.com/profile/09493040262451505475</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3650733369332074243.post-5942129867437752807</id><published>2012-01-27T13:08:00.002-02:00</published><updated>2012-05-30T10:24:14.999-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><title type='text'>Capturar memória do PC (RAM) - Java</title><content type='html'>&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;1º post do ano de 2012!&amp;nbsp; :D &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;import java.lang.management.ManagementFactory;&amp;nbsp; &lt;br /&gt;import com.sun.management.OperatingSystemMXBean;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;public class CapturaRAM {&amp;nbsp; &lt;br /&gt;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; public static void main(String[] args) {&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OperatingSystemMXBean mxbean = (OperatingSystemMXBean) ManagementFactory.getOperatingSystemMXBean();&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; System.out.println(&quot;Memoria total : &quot; + (((new Double(mxbean.getTotalPhysicalMemorySize()) /&amp;nbsp; 1024) / 1024) /1024) + &quot; GB &quot;);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;}&amp;nbsp; &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Mais sobres as funções utilizadas:&lt;br /&gt;
&lt;a href=&quot;http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/management/ManagementFactory.html&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;ManagementFactory&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt; &lt;/span&gt;&lt;a href=&quot;http://docs.oracle.com/javase/6/docs/jre/api/management/extension/com/sun/management/OperatingSystemMXBean.html&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;OperatingSystemMXBean&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://umcastec.blogspot.com/feeds/5942129867437752807/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3650733369332074243/5942129867437752807?isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3650733369332074243/posts/default/5942129867437752807'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3650733369332074243/posts/default/5942129867437752807'/><link rel='alternate' type='text/html' href='http://umcastec.blogspot.com/2012/01/capturar-memoria-do-pc-ram-java.html' title='Capturar memória do PC (RAM) - Java'/><author><name>UMC</name><uri>http://www.blogger.com/profile/09493040262451505475</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3650733369332074243.post-844267525496529138</id><published>2011-12-29T09:11:00.001-02:00</published><updated>2012-05-30T10:24:15.002-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><title type='text'>Configurar Hibernate via (xml) e (programação) - JAVA</title><content type='html'>&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;xml:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;hibernate.cfg.xml&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&quot;&quot;&amp;lt;&quot;&quot;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&amp;gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&quot;&quot;&amp;lt;&quot;&quot;!DOCTYPE hibernate-configuration PUBLIC &quot;-//Hibernate/Hibernate Configuration DTD 3.0//EN&quot; &quot;http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd&quot;&amp;gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&quot;&quot;&amp;lt;&quot;&quot;hibernate-configuration&amp;gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&amp;nbsp; &quot;&quot;&amp;lt;&quot;&quot;session-factory&amp;gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &quot;&amp;lt;&quot;property name=&quot;hibernate.dialect&quot;&amp;gt;org.hibernate.dialect.MySQLDialect&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &quot;&amp;lt;&quot;property name=&quot;hibernate.connection.driver_class&quot;&amp;gt;com.mysql.jdbc.Driver&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &quot;&amp;lt;&quot;property name=&quot;hibernate.connection.url&quot;&amp;gt;jdbc:mysql://localhost:3306/nomeDoBancoDados&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &quot;&amp;lt;&quot;property name=&quot;hibernate.connection.username&quot;&amp;gt;root&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &quot;&amp;lt;&quot;property name=&quot;hibernate.connection.password&quot;&amp;gt;root&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &quot;&amp;lt;&quot;mapping class=&quot;br.com.umcastec.bean.Cliente&quot;/&amp;gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&amp;nbsp; &quot;&amp;lt;&quot;/session-factory&amp;gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&quot;&amp;lt;&quot;/hibernate-configuration&amp;gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;programação:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;HibernateUtil.java&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;package br.com.umcastec.util;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;import org.hibernate.SessionFactory;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;import org.hibernate.cfg.AnnotationConfiguration;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;import org.hibernate.cfg.Configuration;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;public class HibernateUtil {&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; private static final SessionFactory sessionFactory;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; static {&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; AnnotationConfiguration annotationConfig = new AnnotationConfiguration();&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; try {&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; annotationConfig.setProperty(&quot;hibernate.dialect&quot;, &quot;org.hibernate.dialect.MySQLDialect&quot;);&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; annotationConfig.setProperty(&quot;hibernate.connection.driver_class&quot;, &quot;com.mysql.jdbc.Driver&quot;);&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; annotationConfig.setProperty(&quot;hibernate.connection.url&quot;, &quot;jdbc:mysql://localhost:3306/nomeDoBancoDados&quot;);&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; annotationConfig.setProperty(&quot;hibernate.connection.username&quot;, &quot;root&quot;);&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; annotationConfig.setProperty(&quot;hibernate.connection.password&quot;, &quot;root&quot;);&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; annotationConfig.addAnnotatedClass(br.com.umcastec.bean.Cliente.class); //add todas as classes &quot;JPA annotated&quot;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } catch (Exception ex) {&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ex.printStackTrace();&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sessionFactory = annotationConfig.buildSessionFactory();&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; }&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; public static SessionFactory getSessionFactory() {&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return sessionFactory;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; }&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;}&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;br /&gt;
obs: no trecho de código do xml, coloquei&amp;nbsp;aspas no símbolo &quot;&amp;lt;&quot;.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://umcastec.blogspot.com/feeds/844267525496529138/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3650733369332074243/844267525496529138?isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3650733369332074243/posts/default/844267525496529138'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3650733369332074243/posts/default/844267525496529138'/><link rel='alternate' type='text/html' href='http://umcastec.blogspot.com/2011/12/configurar-hibernate-via-xml-e.html' title='Configurar Hibernate via (xml) e (programação) - JAVA'/><author><name>UMC</name><uri>http://www.blogger.com/profile/09493040262451505475</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3650733369332074243.post-7018602911879600509</id><published>2011-11-29T18:17:00.001-02:00</published><updated>2012-05-30T10:24:15.000-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><title type='text'>break em for(;;) usando Label - Java</title><content type='html'>forPai : for(int i = 0; i &amp;lt;10;i++){&lt;br /&gt;
&amp;nbsp; &amp;nbsp;for(int j=0; j&amp;lt;10;j++){&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; break forPai; &amp;nbsp;//aqui faz com quer o primeiro for(;;) saia do for externo;&lt;br /&gt;
&amp;nbsp; &amp;nbsp;}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://umcastec.blogspot.com/feeds/7018602911879600509/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3650733369332074243/7018602911879600509?isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3650733369332074243/posts/default/7018602911879600509'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3650733369332074243/posts/default/7018602911879600509'/><link rel='alternate' type='text/html' href='http://umcastec.blogspot.com/2011/11/break-em-for-usando-label-java.html' title='break em for(;;) usando Label - Java'/><author><name>UMC</name><uri>http://www.blogger.com/profile/09493040262451505475</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3650733369332074243.post-7183632950077981699</id><published>2011-10-30T13:07:00.002-02:00</published><updated>2011-10-30T13:07:49.322-02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><title type='text'>Reproduzir vídeo - Android</title><content type='html'>&lt;b&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;@Override&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;public void onCreate(Bundle bundle ) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;super.onCreate(bundle );&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; VideoView videoView = new VideoView(this);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; setContentView(videoView);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; videoView.setVideoPath(&quot;sdcard/videos/video01.3gp&quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; videoView.setMediaController(new MediaController(this));&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; videoView.requestFocus();&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;}&lt;/span&gt;&lt;/b&gt;</content><link rel='replies' type='application/atom+xml' href='http://umcastec.blogspot.com/feeds/7183632950077981699/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3650733369332074243/7183632950077981699?isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3650733369332074243/posts/default/7183632950077981699'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3650733369332074243/posts/default/7183632950077981699'/><link rel='alternate' type='text/html' href='http://umcastec.blogspot.com/2011/10/reproduzir-video-android.html' title='Reproduzir vídeo - Android'/><author><name>UMC</name><uri>http://www.blogger.com/profile/09493040262451505475</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3650733369332074243.post-4806621273944884230</id><published>2011-09-29T12:36:00.000-03:00</published><updated>2011-09-29T12:37:48.770-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><title type='text'>Emitir um Beep em Java - Java</title><content type='html'>&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;import java.awt.Toolkit;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;public class EmitirBeep { &amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; public static void main(String[] args) { &amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Toolkit.getDefaultToolkit().beep();// 1ª opção&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;System.out.print (&quot;\u0007&quot;);// 2ª opção&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; } &amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;} &amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://umcastec.blogspot.com/feeds/4806621273944884230/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3650733369332074243/4806621273944884230?isPopup=true' title='3 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3650733369332074243/posts/default/4806621273944884230'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3650733369332074243/posts/default/4806621273944884230'/><link rel='alternate' type='text/html' href='http://umcastec.blogspot.com/2011/09/emitir-um-beepbeep-em-java-java.html' title='Emitir um Beep em Java - Java'/><author><name>UMC</name><uri>http://www.blogger.com/profile/09493040262451505475</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3650733369332074243.post-4606145047862895823</id><published>2011-08-31T07:49:00.003-03:00</published><updated>2011-08-31T07:53:35.369-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><title type='text'>Verificar se há conexão com internet - Android</title><content type='html'>&lt;div&gt;&lt;b&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot; &gt;public boolean conexaoInternet(Context context) {&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot; &gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;		&lt;/span&gt;ConnectivityManager conn = (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE);&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot; &gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;		&lt;/span&gt;NetworkInfo net = conn.getActiveNetworkInfo();&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; &gt;&lt;b&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot; &gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;		&lt;/span&gt;return (net != null &amp;amp;&amp;amp; net.isConnected());&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot; &gt;}&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; &gt;&lt;b&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://umcastec.blogspot.com/feeds/4606145047862895823/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3650733369332074243/4606145047862895823?isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3650733369332074243/posts/default/4606145047862895823'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3650733369332074243/posts/default/4606145047862895823'/><link rel='alternate' type='text/html' href='http://umcastec.blogspot.com/2011/08/verificar-se-ha-conexao-com-internet.html' title='Verificar se há conexão com internet - Android'/><author><name>UMC</name><uri>http://www.blogger.com/profile/09493040262451505475</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3650733369332074243.post-2138919194791392074</id><published>2011-07-29T14:28:00.001-03:00</published><updated>2011-07-29T14:30:24.918-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><title type='text'>Hello Android</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: arial, sans-serif; font-size: 13px; color: rgb(51, 51, 51); &quot;&gt;&lt;pre class=&quot;prettyprint&quot; style=&quot;color: rgb(0, 112, 0); font-family: monospace; line-height: inherit; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(204, 204, 204); border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); background-color: rgb(250, 250, 250); padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 10px; margin-top: 0px; margin-right: 0px; margin-bottom: 1em; margin-left: 1em; overflow-x: auto; overflow-y: auto; &quot;&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: rgb(0, 0, 136); &quot;&gt;package&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: rgb(0, 0, 0); &quot;&gt; com&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: rgb(102, 102, 0); &quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: rgb(0, 0, 0); &quot;&gt;example&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: rgb(102, 102, 0); &quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: rgb(0, 0, 0); &quot;&gt;helloandroid&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: rgb(102, 102, 0); &quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: rgb(0, 0, 0); &quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: rgb(0, 0, 136); &quot;&gt;import&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: rgb(0, 0, 0); &quot;&gt; android&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: rgb(102, 102, 0); &quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: rgb(0, 0, 0); &quot;&gt;app&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: rgb(102, 102, 0); &quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: rgb(102, 0, 102); &quot;&gt;Activity&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: rgb(102, 102, 0); &quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: rgb(0, 0, 0); &quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: rgb(0, 0, 136); &quot;&gt;import&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: rgb(0, 0, 0); &quot;&gt; android&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: rgb(102, 102, 0); &quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: rgb(0, 0, 0); &quot;&gt;os&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: rgb(102, 102, 0); &quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: rgb(102, 0, 102); &quot;&gt;Bundle&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: rgb(102, 102, 0); &quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: rgb(0, 0, 0); &quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;strong&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: rgb(0, 0, 136); &quot;&gt;import&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: rgb(0, 0, 0); &quot;&gt; android&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: rgb(102, 102, 0); &quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: rgb(0, 0, 0); &quot;&gt;widget&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: rgb(102, 102, 0); &quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: rgb(102, 0, 102); &quot;&gt;TextView&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: rgb(102, 102, 0); &quot;&gt;;&lt;/span&gt;&lt;/strong&gt;&lt;span class=&quot;pln&quot; style=&quot;color: rgb(0, 0, 0); &quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: rgb(0, 0, 136); &quot;&gt;public&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: rgb(0, 0, 0); &quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: rgb(0, 0, 136); &quot;&gt;class&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: rgb(0, 0, 0); &quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: rgb(102, 0, 102); &quot;&gt;HelloAndroid&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: rgb(0, 0, 0); &quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: rgb(0, 0, 136); &quot;&gt;extends&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: rgb(0, 0, 0); &quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: rgb(102, 0, 102); &quot;&gt;Activity&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: rgb(0, 0, 0); &quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: rgb(102, 102, 0); &quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: rgb(0, 0, 0); &quot;&gt;&lt;br /&gt;   &lt;/span&gt;&lt;span class=&quot;com&quot; style=&quot;color: rgb(136, 0, 0); &quot;&gt;/** Called when the activity is first created. */&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: rgb(0, 0, 0); &quot;&gt;&lt;br /&gt;   &lt;/span&gt;&lt;span class=&quot;lit&quot; style=&quot;color: rgb(0, 102, 102); &quot;&gt;@Override&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: rgb(0, 0, 0); &quot;&gt;&lt;br /&gt;   &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: rgb(0, 0, 136); &quot;&gt;public&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: rgb(0, 0, 0); &quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: rgb(0, 0, 136); &quot;&gt;void&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: rgb(0, 0, 0); &quot;&gt; onCreate&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: rgb(102, 102, 0); &quot;&gt;(&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: rgb(102, 0, 102); &quot;&gt;Bundle&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: rgb(0, 0, 0); &quot;&gt; savedInstanceState&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: rgb(102, 102, 0); &quot;&gt;)&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: rgb(0, 0, 0); &quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: rgb(102, 102, 0); &quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: rgb(0, 0, 0); &quot;&gt;&lt;br /&gt;       &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: rgb(0, 0, 136); &quot;&gt;super&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: rgb(102, 102, 0); &quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: rgb(0, 0, 0); &quot;&gt;onCreate&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: rgb(102, 102, 0); &quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: rgb(0, 0, 0); &quot;&gt;savedInstanceState&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: rgb(102, 102, 0); &quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: rgb(0, 0, 0); &quot;&gt;&lt;br /&gt;       &lt;/span&gt;&lt;strong&gt;&lt;span class=&quot;typ&quot; style=&quot;color: rgb(102, 0, 102); &quot;&gt;TextView&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: rgb(0, 0, 0); &quot;&gt; tv &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: rgb(102, 102, 0); &quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: rgb(0, 0, 0); &quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: rgb(0, 0, 136); &quot;&gt;new&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: rgb(0, 0, 0); &quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: rgb(102, 0, 102); &quot;&gt;TextView&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: rgb(102, 102, 0); &quot;&gt;(&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: rgb(0, 0, 136); &quot;&gt;this&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: rgb(102, 102, 0); &quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: rgb(0, 0, 0); &quot;&gt;&lt;br /&gt;       tv&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: rgb(102, 102, 0); &quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: rgb(0, 0, 0); &quot;&gt;setText&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: rgb(102, 102, 0); &quot;&gt;(&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;color: rgb(0, 136, 0); &quot;&gt;&quot;Hello, Android&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: rgb(102, 102, 0); &quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: rgb(0, 0, 0); &quot;&gt;&lt;br /&gt;       setContentView&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: rgb(102, 102, 0); &quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: rgb(0, 0, 0); &quot;&gt;tv&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: rgb(102, 102, 0); &quot;&gt;);&lt;/span&gt;&lt;/strong&gt;&lt;span class=&quot;pln&quot; style=&quot;color: rgb(0, 0, 0); &quot;&gt;&lt;br /&gt;   &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: rgb(102, 102, 0); &quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: rgb(0, 0, 0); &quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: rgb(102, 102, 0); &quot;&gt;}&lt;/span&gt;&lt;/pre&gt;&lt;/span&gt;Fonte: &lt;a href=&quot;http://developer.android.com/resources/tutorials/hello-world.html&quot;&gt;http://developer.android.com/resources/tutorials/hello-world.html&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://umcastec.blogspot.com/feeds/2138919194791392074/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3650733369332074243/2138919194791392074?isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3650733369332074243/posts/default/2138919194791392074'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3650733369332074243/posts/default/2138919194791392074'/><link rel='alternate' type='text/html' href='http://umcastec.blogspot.com/2011/07/hello-android.html' title='Hello Android'/><author><name>UMC</name><uri>http://www.blogger.com/profile/09493040262451505475</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3650733369332074243.post-6069051618239401369</id><published>2011-06-29T12:37:00.002-03:00</published><updated>2011-06-29T12:41:11.542-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="SPED - Fiscal"/><title type='text'>O que é SPED Fiscal? - SPED</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(102, 102, 102); font-family: Helvetica, Arial, sans-serif; font-size: 12px; line-height: 19px; &quot;&gt;&lt;div class=&quot;article-content&quot; style=&quot;font-size: 12px; &quot;&gt;&lt;h3 style=&quot;line-height: normal; color: rgb(51, 51, 51); font-size: 12px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 25px; padding-right: 10px; padding-bottom: 0px; padding-left: 15px; font-family: Verdana, Arial, Helvetica, sans-serif; text-decoration: none; &quot;&gt;&lt;img src=&quot;http://www.linsoftnet.com.br/images/stories/guilherme/24-07-2009%2017-36-45.gif&quot; border=&quot;0&quot; style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; &quot; /&gt;&lt;br /&gt;&lt;br /&gt;1) O que é SPED Fiscal?&lt;/h3&gt;&lt;p style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 5px; padding-right: 0px; padding-bottom: 0px; padding-left: 20px; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; text-decoration: none; color: rgb(102, 102, 102); &quot;&gt;O SPED Fiscal é um conjunto de escrituração de documentos fiscais, apuração de alguns impostos e outras informaçoes de interesse dos fiscos das unidades federativas e da Receita Federal do Brasil&lt;/p&gt;&lt;p style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 5px; padding-right: 0px; padding-bottom: 0px; padding-left: 20px; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; text-decoration: none; color: rgb(102, 102, 102); &quot;&gt;Na legislação Sped Fiscal é nomeado Escrituração Fiscal Digital (EFD).&lt;/p&gt;&lt;h3 style=&quot;line-height: normal; color: rgb(51, 51, 51); font-size: 12px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 25px; padding-right: 10px; padding-bottom: 0px; padding-left: 15px; font-family: Verdana, Arial, Helvetica, sans-serif; text-decoration: none; &quot;&gt;&lt;a name=&quot;2&quot; style=&quot;color: rgb(28, 100, 165); text-decoration: none; &quot;&gt;&lt;/a&gt;2) Quais os livros que abrangem o SPED Fiscal?&lt;/h3&gt;&lt;p style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 5px; padding-right: 0px; padding-bottom: 0px; padding-left: 20px; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; text-decoration: none; color: rgb(102, 102, 102); &quot;&gt;A escrituração Fiscal substitui a escrituração e impressão dos seguintes livros:&lt;/p&gt;&lt;p style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 5px; padding-right: 0px; padding-bottom: 0px; padding-left: 20px; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; text-decoration: none; color: rgb(102, 102, 102); &quot;&gt;Registro de Entradas,&lt;/p&gt;&lt;p style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 5px; padding-right: 0px; padding-bottom: 0px; padding-left: 20px; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; text-decoration: none; color: rgb(102, 102, 102); &quot;&gt;Registro de Saídas,&lt;/p&gt;&lt;p style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 5px; padding-right: 0px; padding-bottom: 0px; padding-left: 20px; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; text-decoration: none; color: rgb(102, 102, 102); &quot;&gt;Registro de Inventário,&lt;/p&gt;&lt;p style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 5px; padding-right: 0px; padding-bottom: 0px; padding-left: 20px; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; text-decoration: none; color: rgb(102, 102, 102); &quot;&gt;Registro de Apuração do IPI e&lt;/p&gt;&lt;p style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 5px; padding-right: 0px; padding-bottom: 0px; padding-left: 20px; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; text-decoration: none; color: rgb(102, 102, 102); &quot;&gt;Registro de Apuração do ICMS.&lt;/p&gt;&lt;p style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 5px; padding-right: 0px; padding-bottom: 0px; padding-left: 20px; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; text-decoration: none; color: rgb(102, 102, 102); &quot;&gt; &lt;/p&gt;&lt;h3 style=&quot;line-height: normal; color: rgb(51, 51, 51); font-size: 12px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 25px; padding-right: 10px; padding-bottom: 0px; padding-left: 15px; font-family: Verdana, Arial, Helvetica, sans-serif; text-decoration: none; &quot;&gt;&lt;a name=&quot;3&quot; style=&quot;color: rgb(28, 100, 165); text-decoration: none; &quot;&gt;&lt;/a&gt;3) Quem está obrigado a adotar o EFD?&lt;/h3&gt;&lt;p style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 5px; padding-right: 0px; padding-bottom: 0px; padding-left: 20px; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; text-decoration: none; color: rgb(102, 102, 102); &quot;&gt;A partir de janeiro de 2009: os contribuintes do Imposto sobre Operações Relativas à Circulação de Mercadorias e sobre Prestações de Serviços de Transporte Interestadual e Intermunicipal e de Comunicação - ICMS ou do Imposto sobre Produtos Industrializados – IPI.&lt;/p&gt;&lt;h3 style=&quot;line-height: normal; color: rgb(51, 51, 51); font-size: 12px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 25px; padding-right: 10px; padding-bottom: 0px; padding-left: 15px; font-family: Verdana, Arial, Helvetica, sans-serif; text-decoration: none; &quot;&gt;&lt;a name=&quot;4&quot; style=&quot;color: rgb(28, 100, 165); text-decoration: none; &quot;&gt;&lt;/a&gt;4) Quem está dispensado da EFD?&lt;/h3&gt;&lt;p style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 5px; padding-right: 0px; padding-bottom: 0px; padding-left: 20px; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; text-decoration: none; color: rgb(102, 102, 102); &quot;&gt;O fisco da unidade federada do contribuinte e a Secretaria da Receita Federal podem dispensar o contribuinte da obrigação estabelecida. A Legislação do Simples Nacional excetua os contribuintes enquadrados nesse Regime da entrega da EFD.&lt;/p&gt;&lt;h3 style=&quot;line-height: normal; color: rgb(51, 51, 51); font-size: 12px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 25px; padding-right: 10px; padding-bottom: 0px; padding-left: 15px; font-family: Verdana, Arial, Helvetica, sans-serif; text-decoration: none; &quot;&gt;&lt;a name=&quot;5&quot; style=&quot;color: rgb(28, 100, 165); text-decoration: none; &quot;&gt;&lt;/a&gt;5 ) Quais os membros do SPED que têm acesso aos livros digitais do EFD?&lt;/h3&gt;&lt;p style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 5px; padding-right: 0px; padding-bottom: 0px; padding-left: 20px; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; text-decoration: none; color: rgb(102, 102, 102); &quot;&gt;As unidades federadas onde se localiza o estabelecimento da empresa.&lt;/p&gt;&lt;h3 style=&quot;line-height: normal; color: rgb(51, 51, 51); font-size: 12px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 25px; padding-right: 10px; padding-bottom: 0px; padding-left: 15px; font-family: Verdana, Arial, Helvetica, sans-serif; text-decoration: none; &quot;&gt;&lt;a name=&quot;6&quot; style=&quot;color: rgb(28, 100, 165); text-decoration: none; &quot;&gt;&lt;/a&gt;6) Em janeiro de 2009, a entrega do SPED Fiscal substituirá também o Sintegra e as GIAs das UFs que aderiram? Caso não, há alguma previsão?&lt;/h3&gt;&lt;p style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 5px; padding-right: 0px; padding-bottom: 0px; padding-left: 20px; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; text-decoration: none; color: rgb(102, 102, 102); &quot;&gt;O objetivo do Fisco é identificar a possibilidade desta substituição no projeto piloto, através do cruzamento dos arquivos do SPED Fiscal com o Sintegra e as GIAs. Caso não seja aprovado, estas obrigações permanecerão paralelas até que possam ser substituídas.&lt;/p&gt;&lt;h3 style=&quot;line-height: normal; color: rgb(51, 51, 51); font-size: 12px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 25px; padding-right: 10px; padding-bottom: 0px; padding-left: 15px; font-family: Verdana, Arial, Helvetica, sans-serif; text-decoration: none; &quot;&gt;&lt;a name=&quot;7&quot; style=&quot;color: rgb(28, 100, 165); text-decoration: none; &quot;&gt;&lt;/a&gt;7) Como serão tratados os regimes especiais?&lt;/h3&gt;&lt;p style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 5px; padding-right: 0px; padding-bottom: 0px; padding-left: 20px; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; text-decoration: none; color: rgb(102, 102, 102); &quot;&gt;Em relação aos Regimes Especiais cada UF se encarregará de adequá-lo ao cenário do Sped Fiscal. Importante, destacar que para o Sped NF-e o tratamento já foi definido, ou seja, os regimes são cassados, e o contribuinte deve solicitá-los novamente, mas, no modelo eletrônico.&lt;/p&gt;&lt;h3 style=&quot;line-height: normal; color: rgb(51, 51, 51); font-size: 12px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 25px; padding-right: 10px; padding-bottom: 0px; padding-left: 15px; font-family: Verdana, Arial, Helvetica, sans-serif; text-decoration: none; &quot;&gt;&lt;a name=&quot;7&quot; style=&quot;color: rgb(28, 100, 165); text-decoration: none; &quot;&gt;&lt;/a&gt;8) Qual a posição do fisco em relação à alíquota de ICMS de produto por UF?&lt;/h3&gt;&lt;p style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 5px; padding-right: 0px; padding-bottom: 0px; padding-left: 20px; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; text-decoration: none; color: rgb(102, 102, 102); &quot;&gt;Este campo foi solicitado pela UF de SP, e a informação deve ser fornecida na ótica do informando, por estabelecimento.&lt;/p&gt;&lt;h3 style=&quot;line-height: normal; color: rgb(51, 51, 51); font-size: 12px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 25px; padding-right: 10px; padding-bottom: 0px; padding-left: 15px; font-family: Verdana, Arial, Helvetica, sans-serif; text-decoration: none; &quot;&gt;&lt;a name=&quot;9&quot; style=&quot;color: rgb(28, 100, 165); text-decoration: none; &quot;&gt;&lt;/a&gt;9) Qual é a multa para o SPED?&lt;/h3&gt;&lt;p style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 5px; padding-right: 0px; padding-bottom: 0px; padding-left: 20px; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; text-decoration: none; color: rgb(102, 102, 102); &quot;&gt;Existe a multa pela falta de entrega do arquivo - R$ 5.000,00, além disso, não caíram as multas previstas para as obrigações substituídas, a saber:&lt;br /&gt;A) IN 86/01 - Penalidades&lt;br /&gt;As penalidades estão previstas no artigo 12 da Lei n.º 8.281/91 que estabelece:&lt;br /&gt;multa de 0,5% (meio por cento) do valor da receita bruta da pessoa jurídica no período, aos que não atenderem à forma em que devem ser apresentados os registros e respectivos arquivos;&lt;br /&gt;multa de 5% (cinco por cento) sobre o valor da operação correspondente, aos que omitirem ou prestarem incorretamente as informações solicitadas.&lt;br /&gt;B) Livros fiscais - Cada estado estabelece uma multa pela falta de escrituração do livro fiscal. &lt;br /&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Fonte:&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;http://www.linsoftnet.com.br/index.php?option=com_content&amp;amp;view=article&amp;amp;id=125:o-que-e-sped-fiscal&amp;amp;catid=39:linsoft-artigos-a-palestras&amp;amp;Itemid=102&quot;&gt;http://www.linsoftnet.com.br/index.php?option=com_content&amp;amp;view=article&amp;amp;id=125:o-que-e-sped-fiscal&amp;amp;catid=39:linsoft-artigos-a-palestras&amp;amp;Itemid=102&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://umcastec.blogspot.com/feeds/6069051618239401369/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3650733369332074243/6069051618239401369?isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3650733369332074243/posts/default/6069051618239401369'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3650733369332074243/posts/default/6069051618239401369'/><link rel='alternate' type='text/html' href='http://umcastec.blogspot.com/2011/06/o-que-e-sped-fiscal-sped.html' title='O que é SPED Fiscal? - SPED'/><author><name>UMC</name><uri>http://www.blogger.com/profile/09493040262451505475</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3650733369332074243.post-2259308062730357857</id><published>2011-05-25T14:04:00.002-03:00</published><updated>2011-05-25T14:07:53.198-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><title type='text'>Obter propriedades de rede do computador - JAVA</title><content type='html'>&lt;span style=&quot;font-size:78%;&quot;&gt;public void Prop_Rede()&lt;br /&gt;    throws UnknownHostException, SocketException&lt;br /&gt;  {&lt;br /&gt;    List list = new ArrayList();&lt;br /&gt;    System.out.println(&quot;Obtendo Informacões da Rede:&quot;);&lt;br /&gt;    InetAddress addr = InetAddress.getLocalHost();&lt;br /&gt;    byte[] ipAddr = addr.getAddress();&lt;br /&gt;    String hostname = addr.getHostName();&lt;br /&gt;&lt;br /&gt;    System.out.println(&quot;Nome do Computador completo: &quot; + hostname);&lt;br /&gt;&lt;br /&gt;    InetAddress localHost = Inet4Address.getLocalHost();&lt;br /&gt;    NetworkInterface networkInterface = NetworkInterface.getByInetAddress(localHost);&lt;br /&gt;    System.out.println(&quot;Placa: &quot; + networkInterface.getDisplayName());&lt;br /&gt;    try&lt;br /&gt;    {&lt;br /&gt;      System.out.println(&quot;Rede: &quot; + NetworkInterface.getNetworkInterfaces().nextElement());&lt;br /&gt;    } catch (SocketException ex) {&lt;br /&gt;      Logger.getLogger(Propriedade_sistema.class.getName()).log(Level.SEVERE, null, ex);&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;    try&lt;br /&gt;    {&lt;br /&gt;      Enumeration ifaces = NetworkInterface.getNetworkInterfaces();&lt;br /&gt;&lt;br /&gt;      while (ifaces.hasMoreElements()) {&lt;br /&gt;        NetworkInterface iface = (NetworkInterface)ifaces.nextElement();&lt;br /&gt;&lt;br /&gt;        System.out.println(&quot;Obtendo Informacões da interface: &quot; + iface.getName());&lt;br /&gt;        for (InterfaceAddress address : iface.getInterfaceAddresses())&lt;br /&gt;        {&lt;br /&gt;          System.out.println(&quot;IP........: &quot; + address.getAddress().toString());&lt;br /&gt;          Object bc = address.getBroadcast();&lt;br /&gt;          System.out.println(&quot;Broadcast.: &quot; + bc);&lt;br /&gt;          System.out.println(&quot;Máscara...: &quot; + address.getNetworkPrefixLength());&lt;br /&gt;&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;      }&lt;br /&gt;&lt;br /&gt;    }&lt;br /&gt;    catch (SocketException ifaces)&lt;br /&gt;    {&lt;br /&gt;      ex.printStackTrace();&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;  }&lt;br /&gt;&lt;br /&gt;download do sitema de obter propriedades do PC  &lt;a href=&quot;http://umcastec.blogspot.com/2010/08/obter-propriedades-do-computador-ver.html&quot;&gt;aqui&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://umcastec.blogspot.com/feeds/2259308062730357857/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3650733369332074243/2259308062730357857?isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3650733369332074243/posts/default/2259308062730357857'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3650733369332074243/posts/default/2259308062730357857'/><link rel='alternate' type='text/html' href='http://umcastec.blogspot.com/2011/05/obter-propriedades-de-rede-do.html' title='Obter propriedades de rede do computador - JAVA'/><author><name>UMC</name><uri>http://www.blogger.com/profile/09493040262451505475</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3650733369332074243.post-9180276038152017763</id><published>2011-04-25T07:52:00.004-03:00</published><updated>2011-04-25T08:01:42.220-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><title type='text'>Gerar executável &quot;.EXE&quot; de um sistema em Java &quot;.JAR&quot; - Java</title><content type='html'>&lt;div&gt;&lt;div&gt;&lt;div&gt;crie ou edite o build.xml do seu projeto&lt;/div&gt;&lt;div&gt;build.xml&lt;/div&gt;&lt;div&gt;&quot;&amp;lt;&quot;project name=&quot;JavaApplication2&quot; default=&quot;default&quot; basedir=&quot;.&quot;&amp;gt;&lt;/div&gt;&lt;div&gt;    &quot;&amp;lt;&quot;description&amp;gt;Builds, tests, and runs the project JavaApplication2. &lt;/div&gt;&lt;div&gt;    &quot;&amp;lt;&quot;property file=&quot;build.properties&quot;/&amp;gt;&lt;/div&gt;&lt;div&gt;    &quot;&amp;lt;&quot;echo&amp;gt;${launch4j.dir}&lt;/div&gt;&lt;div&gt;    &quot;&amp;lt;&quot;taskdef&lt;/div&gt;&lt;div&gt;        name=&quot;launch4j&quot;&lt;/div&gt;&lt;div&gt;        classname=&quot;net.sf.launch4j.ant.Launch4jTask&quot;&lt;/div&gt;&lt;div&gt;        classpath=&quot;${launch4j.dir}/launch4j.jar;&lt;/div&gt;&lt;div&gt;        ${launch4j.dir}/lib/xstream.jar&quot;&lt;/div&gt;&lt;div&gt;    /&amp;gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;    &quot;&amp;lt;&quot;target name=&quot;exe&quot;&amp;gt;&lt;/div&gt;&lt;div&gt;        &quot;&amp;lt;&quot;launch4j configFile=&quot;${project.config.exe}&quot;/&amp;gt;&lt;/div&gt;&lt;div&gt;    &quot;&amp;lt;&quot;/target&amp;gt;&lt;/div&gt;&lt;div&gt;&quot;&amp;lt;&quot;/project&amp;gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;crie o arquivo JavaAplication.l4j.xml no mesmo diretório do build.xml&lt;/div&gt;&lt;div&gt;JavaAplication.l4j.xml&lt;/div&gt;&lt;div&gt;&quot;&amp;lt;&quot;launch4jConfig&amp;gt;&lt;/div&gt;&lt;div&gt;  &quot;&amp;lt;&quot;headerType&amp;gt;gui&lt;/div&gt;&lt;div&gt;  &quot;&amp;lt;&quot;jar&amp;gt;dist/JavaApplication.jar&lt;/div&gt;&lt;div&gt;  &quot;&amp;lt;&quot;outfile&amp;gt;dist/JavaApplication.exe&lt;/div&gt;&lt;div&gt;  &quot;&amp;lt;&quot;errTitle&amp;gt;JavaAplication&lt;/div&gt;&lt;div&gt;  &quot;&amp;lt;&quot;chdir&amp;gt;.&lt;/div&gt;&lt;div&gt;  &quot;&amp;lt;&quot;customProcName&amp;gt;true&lt;/div&gt;&lt;div&gt;  &quot;&amp;lt;&quot;icon&amp;gt;&lt;/div&gt;&lt;div&gt;  &quot;&amp;lt;&quot;jre&amp;gt;&lt;/div&gt;&lt;div&gt;    &quot;&amp;lt;&quot;minVersion&amp;gt;1.6.0&lt;/div&gt;&lt;div&gt;    &quot;&amp;lt;&quot;opt&amp;gt;-Xmx200m -Xcheck:jni&lt;/div&gt;&lt;div&gt;  &quot;&amp;lt;&quot;/jre&amp;gt;&lt;/div&gt;&lt;div&gt;&quot;&amp;lt;&quot;/launch4jConfig&amp;gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Download do launch4J&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;http://sourceforge.net/projects/launch4j/files/launch4j-3/3.0.2/&lt;/div&gt;&lt;div&gt;Descompacte em algum lugar de sua preferência &lt;/div&gt;&lt;div&gt;e crie o arquivo &quot;build.properties&quot; na mesma pasta onde se encontra o &quot;build.xml&quot;&lt;/div&gt;&lt;div&gt;//***&lt;/div&gt;&lt;div&gt;build.properties&lt;/div&gt;&lt;div&gt;launch4j.dir=Coloque aqui o diretório onde você descompactou o launch4J Ex: C:/Documents and Settings/user/Desktop/launch4j&lt;/div&gt;&lt;div&gt;project.config.exe=JavaAplication.l4j.xml&lt;/div&gt;&lt;div&gt;//***&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Feito isso, peça pra &quot;construir&quot; o .jar&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;Obs: coloquei aspas no menor que &quot;&amp;lt;&quot;,  basta tira-las para funcionar.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; &gt;Dica enviado por Reinaldo de Carvalho&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://umcastec.blogspot.com/feeds/9180276038152017763/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3650733369332074243/9180276038152017763?isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3650733369332074243/posts/default/9180276038152017763'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3650733369332074243/posts/default/9180276038152017763'/><link rel='alternate' type='text/html' href='http://umcastec.blogspot.com/2011/04/gerar-executavel-exe-de-um-sistema-em.html' title='Gerar executável &quot;.EXE&quot; de um sistema em Java &quot;.JAR&quot; - Java'/><author><name>UMC</name><uri>http://www.blogger.com/profile/09493040262451505475</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3650733369332074243.post-9146410375898959818</id><published>2011-03-27T19:45:00.003-03:00</published><updated>2011-03-27T19:52:24.866-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><title type='text'>Java Scripting API - Java</title><content type='html'>&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;O JavaTM Scripting API é uma estrutura Indepedent linguagem de script para usar os motores de script a partir do código Java.Com a API Java Script, é possível escrever aplicações personalizáveis ​​/ prorrogável na linguagem Java e deixar aescolha de língua scripting personalização para o usuário final.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;import javax.script.*;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;public class EvalScript {&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;    public static void main(String[] args) throws Exception {&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;        // criar um gerenciador de mecanismo de script&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;        ScriptEngineManager factory = new ScriptEngineManager();&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;        // criar um motor de JavaScript&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;        ScriptEngine engine = factory.getEngineByName(&quot;JavaScript&quot;);&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;        // cria um objeto Java&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;        String name = &quot;UMC-ASTEC&quot;;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;        // criar a vinculação&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;        engine.put(&quot;name&quot;, name);&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;        // avaliar o código JavaScript de String&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;        engine.eval(&quot;println(&#39;Visite sempre o blog, &#39; + name)&quot;);&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;        engine.eval(&quot;println(&#39;O tamanho da palavra é &#39; +  name.length)&quot;);&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;    }&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;Referência&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;&lt;meta equiv=&quot;content-type&quot; content=&quot;text/html; charset=utf-8&quot;&gt;&lt;a href=&quot;http://download.oracle.com/javase/6/docs/technotes/guides/scripting/programmer_guide/index.html&quot;&gt;http://download.oracle.com/javase/6/docs/technotes/guides/scripting/programmer_guide/index.html&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://umcastec.blogspot.com/feeds/9146410375898959818/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3650733369332074243/9146410375898959818?isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3650733369332074243/posts/default/9146410375898959818'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3650733369332074243/posts/default/9146410375898959818'/><link rel='alternate' type='text/html' href='http://umcastec.blogspot.com/2011/03/java-scripting-api-java.html' title='Java Scripting API - Java'/><author><name>UMC</name><uri>http://www.blogger.com/profile/09493040262451505475</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3650733369332074243.post-3599033023918914911</id><published>2011-02-12T16:03:00.003-03:00</published><updated>2011-02-12T16:13:40.634-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Algoritmo"/><category scheme="http://www.blogger.com/atom/ns#" term="O que é...?"/><title type='text'>Algoritmo</title><content type='html'>&lt;span style=&quot;color: rgb(102, 102, 102);font-size:85%;&quot; &gt;O que é um algoritmo?&lt;br /&gt;Um algoritmo é uma seguência finita de passos que levam a execução de uma tarefa.&lt;br /&gt;Podemos pensar que algoritmo é igual uma receita de bolo. Estas tarefas não podem ser redundantes nem subjetivas na sua definição, devem ser claras e precisas.&lt;br /&gt;&lt;br /&gt;Como se escreve um Algoritmo?&lt;br /&gt;Na hora de escrever um algoritmo precisamos descrever a sequência de instruções, de maneira simples e objetiva.&lt;br /&gt;Duas técnicas simples:&lt;br /&gt;&lt;br /&gt;Frases curtas e simples&lt;br /&gt;Ser Objetivo&lt;br /&gt;Dentre outras...&lt;br /&gt;&lt;br /&gt;Um algoritmo pode descrever qualquer tarefa padrão, como por exemplo: Fazer um bolo, beber água etc.&lt;br /&gt;&lt;br /&gt;Ao montar um algoritmo devemos dividi-lo em três partes:&lt;br /&gt;ENTRADA -&gt; PROCESSAMENTO -&gt; SAÍDA&lt;br /&gt;&lt;br /&gt;ENTRADA: São os dados de entrada do algoritmo.&lt;br /&gt;PROCESSAMENTO: São os procedimentos utilizados para chegar ao resultado final.&lt;br /&gt;SAÍDA: São os dados já processados.&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(102, 102, 102);font-size:85%;&quot; &gt;&lt;br /&gt;Exemplos de algoritmos podem ser vistos aqui:&lt;br /&gt;http://umcastec.blogspot.com/search/label/Algoritmo&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://umcastec.blogspot.com/feeds/3599033023918914911/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3650733369332074243/3599033023918914911?isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3650733369332074243/posts/default/3599033023918914911'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3650733369332074243/posts/default/3599033023918914911'/><link rel='alternate' type='text/html' href='http://umcastec.blogspot.com/2011/02/algoritmo.html' title='Algoritmo'/><author><name>UMC</name><uri>http://www.blogger.com/profile/09493040262451505475</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3650733369332074243.post-1151594408802182752</id><published>2011-02-12T00:18:00.002-03:00</published><updated>2011-02-12T00:21:02.815-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Algoritmo"/><title type='text'>Maior ou  menor de idade - Visualg</title><content type='html'>&lt;span style=&quot;color: rgb(102, 102, 102);font-size:78%;&quot; &gt;algoritmo &quot;maimenidade&quot;&lt;br /&gt;// Função : Verifica pela idade se a pessoa é maior ou menor de idade&lt;br /&gt;// Autor : Uandisson&lt;br /&gt;// Data : 11/2/2011&lt;br /&gt;// Seção de Declarações&lt;br /&gt;var&lt;br /&gt;   idade, idadepadrao:inteiro&lt;br /&gt;inicio&lt;br /&gt;// Seção de Comandos&lt;br /&gt;   idadepadrao := 18&lt;br /&gt;  &lt;br /&gt;   escreva(&quot;Qual sua idade? &quot;)&lt;br /&gt;   leia(idade)&lt;br /&gt;   se idade &gt;= idadepadrao entao&lt;br /&gt;      escreva(&quot;Ok, maior de idade está liberado!&quot;)&lt;br /&gt;   senao&lt;br /&gt;      escreva(&quot;Menor de idade não pode passar!&quot;)&lt;br /&gt;   fimse&lt;br /&gt;&lt;br /&gt;// Fim da Seção de Comandos&lt;br /&gt;fimalgoritmo&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://umcastec.blogspot.com/feeds/1151594408802182752/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3650733369332074243/1151594408802182752?isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3650733369332074243/posts/default/1151594408802182752'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3650733369332074243/posts/default/1151594408802182752'/><link rel='alternate' type='text/html' href='http://umcastec.blogspot.com/2011/02/maior-ou-menor-de-idade-visualg.html' title='Maior ou  menor de idade - Visualg'/><author><name>UMC</name><uri>http://www.blogger.com/profile/09493040262451505475</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3650733369332074243.post-6517455199704651537</id><published>2011-02-12T00:13:00.001-03:00</published><updated>2011-02-12T00:16:17.736-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Algoritmo"/><title type='text'>Descobrir a idade -  Visualg</title><content type='html'>&lt;span style=&quot;color: rgb(102, 102, 102);font-size:78%;&quot; &gt;algoritmo &quot;descobreidade&quot;&lt;br /&gt;// Função : Descobrir a idade que você terar no ano que você pedi&lt;br /&gt;// Autor : Uandisson&lt;br /&gt;// Data : 11/2/2011&lt;br /&gt;// Seção de Declarações&lt;br /&gt;var&lt;br /&gt;  ANOnasc, ANOatual, idade:inteiro //declaração das variáveis que irei utilizar&lt;br /&gt;inicio&lt;br /&gt;// Seção de Comandos&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; escreva(&quot;Seu ano de nascimento. &quot;)//escreve no vídeo o que está entre aspas duplas&lt;br /&gt;    leia(ANOnasc)//leitura de teclado da data de nascimento&lt;br /&gt;&lt;br /&gt; repita //laço de repetição só sai quando a condição &quot;ate&quot; seja verdadeira&lt;br /&gt;    escreva(&quot;Ano que deseja que calcule a idade. &quot;)//escreve no vídeo o que está entre aspas duplas&lt;br /&gt;       leia(ANOatual)//leitura de teclado da tada que deseja que revele a idade que terá quando chegar lá&lt;br /&gt;&lt;br /&gt;    se ANOatual &lt;= ANOnasc entao//verifica se a data atual é menor ou igual a data de nascimento informada         escreval(&quot;Digite uma data maior que a de nascimento.&quot;)      fimse//final do se             ate ANOatual &gt; ANOnasc//so para de repeti se a data atual for maior que a data de nascimento&lt;br /&gt;     idade &lt;- ANOatual - ANOnasc//atribui o resultado da subtração do ano atual com o ano de nascimento a variavel idade        se idade &gt; 100 entao//verifica se a idade vai ser maior que 100 anos&lt;br /&gt;        escreva(&quot;Você com &quot;, idade, &quot; anos, talvez você não cheque lá. kkkk&quot;)&lt;br /&gt;     senao//passando aqui, isso significa que a idade é menor que 100 anos&lt;br /&gt;        escreva(&quot;No ano &quot;, ANOatual, &quot;, você completara, &quot;, idade, &quot; anos.&quot;)//escreve a idade que você fará no ano escolhido&lt;br /&gt;     fimse//fim do se&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;// Fim Seção de Comandos&lt;br /&gt;fimalgoritmo&lt;br /&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://umcastec.blogspot.com/feeds/6517455199704651537/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3650733369332074243/6517455199704651537?isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3650733369332074243/posts/default/6517455199704651537'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3650733369332074243/posts/default/6517455199704651537'/><link rel='alternate' type='text/html' href='http://umcastec.blogspot.com/2011/02/descobrir-idade-visualg.html' title='Descobrir a idade -  Visualg'/><author><name>UMC</name><uri>http://www.blogger.com/profile/09493040262451505475</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3650733369332074243.post-2171926424192023836</id><published>2011-02-09T14:22:00.006-03:00</published><updated>2011-02-09T14:27:48.181-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Algoritmo"/><title type='text'>Jogo da Sorte é um algoritmo feito com Visualg</title><content type='html'>&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; &gt;Download do Visualg &lt;a href=&quot;http://umcastec.blogspot.com/2011/02/visualg.html&quot;&gt;aqui&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; &gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; &gt;algoritmo &quot;jogo da sorte&quot;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; &gt;var&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; &gt;   li, ls, tentativas, palpite: inteiro&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; &gt;   resposta: caracter&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; &gt;inicio&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; &gt;      li &lt;- 0&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; &gt;      ls &lt;- 1000&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; &gt;      tentativas &lt;- 1&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; &gt;      &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; &gt;       repita&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; &gt;            palpite &lt;- (ls - li)\2 + li&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; &gt;            escreva(&quot;Seu numero é maior, menor ou igual a &quot;, palpite, &quot;? &quot;)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; &gt;            leia(resposta)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; &gt;            se resposta = &quot;igual&quot; entao&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; &gt;               escreval(&quot;ACERTEI!!&quot;)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; &gt;            senao&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; &gt;               se resposta = &quot;maior&quot; entao&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; &gt;                   li &lt;- palpite&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; &gt;               senao&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; &gt;                   se resposta = &quot;menor&quot; entao&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; &gt;                       ls &lt;- palpite&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; &gt;                   senao&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; &gt;                       escreval(&quot;Reposta incorreta.&quot;)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; &gt;                       escreval(&quot;Escreva uma das palavras: maior, menor ou igual&quot;)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; &gt;                   fimse&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; &gt;               fimse&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; &gt;               tentativas &lt;- tentativas + 1&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; &gt;            fimse&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; &gt;        ate ((tentativas &gt; 10) OU (resposta = &quot;igual&quot;))&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; &gt;        se tentativas &gt; 10 entao&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; &gt;           escreval(&quot;Infelizmente não consegui acertar ...&quot;)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; &gt;        senao&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; &gt;           escreval(&quot;Tentativas: &quot;, tentativas)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; &gt;        fimse&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; &gt;// Seção de Comandos&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; &gt;fimalgoritmo&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://umcastec.blogspot.com/feeds/2171926424192023836/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3650733369332074243/2171926424192023836?isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3650733369332074243/posts/default/2171926424192023836'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3650733369332074243/posts/default/2171926424192023836'/><link rel='alternate' type='text/html' href='http://umcastec.blogspot.com/2011/02/jogo-da-sorte-e-um-algoritmo-feito-com.html' title='Jogo da Sorte é um algoritmo feito com Visualg'/><author><name>UMC</name><uri>http://www.blogger.com/profile/09493040262451505475</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3650733369332074243.post-3562316148041688684</id><published>2011-02-09T14:17:00.001-03:00</published><updated>2011-02-09T14:21:56.479-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Downloads"/><title type='text'>Visualg</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px; line-height: 19px; font-family: sans-serif; &quot;&gt;O &lt;b&gt;VisuAlg&lt;/b&gt; é um &lt;a href=&quot;http://pt.wikipedia.org/wiki/Software&quot; title=&quot;Software&quot; style=&quot;text-decoration: none; color: rgb(6, 69, 173); background-image: none; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; background-position: initial initial; background-repeat: initial initial; &quot;&gt;programa&lt;/a&gt; que edita, interpreta e executa &lt;a href=&quot;http://pt.wikipedia.org/wiki/Algoritmo&quot; title=&quot;Algoritmo&quot; style=&quot;text-decoration: none; color: rgb(6, 69, 173); background-image: none; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; background-position: initial initial; background-repeat: initial initial; &quot;&gt;algoritmos&lt;/a&gt; com uma linguagem próxima do &lt;a href=&quot;http://pt.wikipedia.org/wiki/Portugu%C3%AAs_estruturado&quot; title=&quot;Português estruturado&quot; class=&quot;mw-redirect&quot; style=&quot;text-decoration: none; color: rgb(6, 69, 173); background-image: none; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; background-position: initial initial; background-repeat: initial initial; &quot;&gt;português estruturado&lt;/a&gt;, como um &lt;a href=&quot;http://pt.wikipedia.org/wiki/Programa_de_computador&quot; title=&quot;Programa de computador&quot; style=&quot;text-decoration: none; color: rgb(6, 69, 173); background-image: none; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; background-position: initial initial; background-repeat: initial initial; &quot;&gt;programa&lt;/a&gt; normal de computador&lt;/span&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; &gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: sans-serif; line-height: 10px; &quot;&gt;Fonte:&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: sans-serif; line-height: 10px; &quot;&gt; &lt;/span&gt;&lt;a href=&quot;http://pt.wikipedia.org/wiki/Visualg&quot;&gt;http://pt.wikipedia.org/wiki/Visualg&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;http://www.baixaki.com.br/download/visualg.htm&quot;&gt;Download&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://umcastec.blogspot.com/feeds/3562316148041688684/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3650733369332074243/3562316148041688684?isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3650733369332074243/posts/default/3562316148041688684'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3650733369332074243/posts/default/3562316148041688684'/><link rel='alternate' type='text/html' href='http://umcastec.blogspot.com/2011/02/visualg.html' title='Visualg'/><author><name>UMC</name><uri>http://www.blogger.com/profile/09493040262451505475</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>