I hereby claim:
- I am 3c7 on github.
- I am nkuhnert (https://keybase.io/nkuhnert) on keybase.
- I have a public key ASAptmT6zdNtCxo96FRDtxdUfmss6xu52EomAsEDm5X2wQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
hKRib2R5hqhkZXRhY2hlZMOpaGFzaF90eXBlCqNrZXnEIwEgAHxVQytWn8yrJw8tdrBTA79ea1Ze9aiX39z3CWOPrD4Kp3BheWxvYWTFAud7ImJvZHkiOnsia2V5Ijp7ImVsZGVzdF9raWQiOiIwMTIwMDA3YzU1NDMyYjU2OWZjY2FiMjcwZjJkNzZiMDUzMDNiZjVlNmI1NjVlZjVhODk3ZGZkY2Y3MDk2MzhmYWMzZTBhIiwiaG9zdCI6ImtleWJhc2UuaW8iLCJraWQiOiIwMTIwMDA3YzU1NDMyYjU2OWZjY2FiMjcwZjJkNzZiMDUzMDNiZjVlNmI1NjVlZjVhODk3ZGZkY2Y3MDk2MzhmYWMzZTBhIiwidWlkIjoiYjc2MmNjYWM5MjI5YzgyY2Y2NzFiZTdkMmQ0NTRjMTkiLCJ1c2VybmFtZSI6Im5rdWhuZXJ0In0sInNlcnZpY2UiOnsibmFtZSI6ImdpdGh1YiIsInVzZXJuYW1lIjoiM2M3In0sInR5cGUiOiJ3ZWJfc2VydmljZV9iaW5kaW5nIiwidmVyc2lvbiI6MX0sImNsaWVudCI6eyJuYW1lIjoia2V5YmFzZS5pbyBnbyBjbGllbnQiLCJ2ZXJzaW9uIjoiMS4wLjE3In0sImN0aW1lIjoxNDc3NzgzMjYwLCJleHBpcmVfaW4iOjUwNDU3NjAwMCwibWVya2xlX3Jvb3QiOnsiY3RpbWUiOjE0Nzc3ODMyMjUsImhhc2giOiIxZjg0MTE5ZGY2ZTJhMjE5ZmUyNjVlYmVjYTc4ZDI4MmNjZTQzZDg3NDg2NWY1MzY3NzBmZjY5YmVkNzM3ODBkYTEzODMwODI5MDgxNThkMGJkY2ViZWQzOThmOTE0YmMwODU2YzA2MzI3M2RkNjI2YjBhZjRjOTQwNjYwODlhZiIsInNlcW5vIjo2OTMxMzF9LCJwcmV2IjoiMzM4YmZiZWFiNGMyYjE3YTgzMjhiMDBjZTBiZjRhMzI0MzAyMmYz |
import java.util.NoSuchElementException; | |
/** | |
* Created by Nils on 28.04.2015. | |
*/ | |
public class Feld<T> implements Iterable<T> { | |
private T[] feld; | |
@SuppressWarnings("unchecked") | |
public Feld(int anzahl) { |
/** | |
* Created by Nils on 28.04.2015. | |
*/ | |
public class Feld<T> { | |
private T[] feld; | |
public Feld(int anzahl) { | |
@SuppressWarnings("unchecked") | |
T[] f = (T[])new Object[anzahl]; | |
feld = f; |
/** | |
* Created by Nils on 13.04.2015. | |
*/ | |
public abstract class Koerper implements Skalierbar { | |
// Bezugspunkt, geschachtelte Klasse | |
public Koerper.Punkt p; | |
public void verschiebe(double dx, double dy, double dz) { | |
this.p = new Punkt(p.x + dx, p.y + dy, p.z + dz); | |
} |
import java.io.*; | |
public class FileCopy { | |
public static void main(String[] args) throws IOException { | |
try { | |
FileInputStream fis = new FileInputStream(args[0]); | |
FileOutputStream fos = new FileOutputStream(args[1]); | |
int c; |
/** | |
* Created by Nils on 21.04.2015. | |
*/ | |
public class AbgeschlosseneAuswertung { | |
public static Double auswertung(Funktion f, double x) { | |
Double result; | |
try { | |
result = new Double(f.wert(x)); | |
} catch (ValueOutOfRangeException e){ | |
return null; |
/** | |
* Created by Nils on 13.04.2015. | |
*/ | |
public abstract class Koerper implements Skalierbar { | |
// Bezugspunkt | |
public Punkt p; | |
public void verschiebe(double dx, double dy, double dz) { | |
this.p = new Punkt(p.x + dx, p.y + dy, p.z + dz); | |
} |
/** | |
* Created by Nils on 14.04.2015. | |
*/ | |
public class Abs implements Funktion { | |
public boolean istDefiniertFuer(double x) { | |
return true; | |
} | |
public double wert(double x) { | |
if (this.istDefiniertFuer(x)) return Math.abs(x); |
/** | |
* Created by Nils on 13.04.2015. | |
*/ | |
public abstract class Koerper implements Skalierbar { | |
// Bezugspunkt | |
public Punkt p; | |
public void verschiebe(double dx, double dy, double dz) { | |
this.p = new Punkt(p.x + dx, p.y + dy, p.z + dz); | |
} |