<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://entorb.net//wiki/index.php?action=history&amp;feed=atom&amp;title=Java</id>
	<title>Java - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://entorb.net//wiki/index.php?action=history&amp;feed=atom&amp;title=Java"/>
	<link rel="alternate" type="text/html" href="https://entorb.net//wiki/index.php?title=Java&amp;action=history"/>
	<updated>2026-05-06T10:27:25Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://entorb.net//wiki/index.php?title=Java&amp;diff=4861&amp;oldid=prev</id>
		<title>Torben at 20:27, 30 October 2024</title>
		<link rel="alternate" type="text/html" href="https://entorb.net//wiki/index.php?title=Java&amp;diff=4861&amp;oldid=prev"/>
		<updated>2024-10-30T20:27:09Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:Coding]]&lt;br /&gt;
==Basics==&lt;br /&gt;
 String str = new String();&lt;br /&gt;
int2String&lt;br /&gt;
 String anzeigewert = Integer(_wert).toString();&lt;br /&gt;
&lt;br /&gt;
Fields / Lists&lt;br /&gt;
 private int[] _intlist;&lt;br /&gt;
 _intlist = new boolean[100];&lt;br /&gt;
 for(int i=0; i &amp;lt; intlist.length(); i++){ &lt;br /&gt;
 };&lt;br /&gt;
&lt;br /&gt;
Switch&lt;br /&gt;
 switch(watt)&lt;br /&gt;
   {&lt;br /&gt;
   case  25: _watt =  25; break;&lt;br /&gt;
   case  40: _watt =  40; break;&lt;br /&gt;
   case  60: _watt =  60; break;&lt;br /&gt;
   case 100: _watt = 100; break;&lt;br /&gt;
   default : _watt =  25;&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
Casting&lt;br /&gt;
 Iterator it = dingeListe.iterator(); //(vom Typ &amp;#039;Object&amp;#039;)&lt;br /&gt;
 Ding ding = (Ding) it.next();&lt;br /&gt;
&lt;br /&gt;
Downcasting&lt;br /&gt;
 if (dingdong instanceof Ding) {...}&lt;br /&gt;
&lt;br /&gt;
Lists (Vektors)&lt;br /&gt;
 private Vector liste = new Vector()&lt;br /&gt;
 liste.add(obj);&lt;br /&gt;
 size = liste.size();	 &lt;br /&gt;
 Iterator it = liste.iterator();&lt;br /&gt;
 while(it.hasNext()) {&lt;br /&gt;
   String str = (String) it.next();&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
===Eclipse, Export using FatJar===&lt;br /&gt;
Eclipse Export of Projects that use eternal jars:&lt;br /&gt;
Use FatJar: http://fjep.sourceforge.net/&lt;br /&gt;
It adds the Entry &amp;quot;Build Fat-JAR&amp;quot; to the Export-Wizard.&lt;br /&gt;
In addition to the eclipse standard jar-exporter referenced classes and jars are included to the &amp;quot;Fat-Jar&amp;quot;, so the resulting jar contains all needed classes and can be executed directly with &amp;quot;java -jar&amp;quot;, no classpath has to be set, no additional jars have to be deployed.&lt;/div&gt;</summary>
		<author><name>Torben</name></author>
	</entry>
</feed>