gitweb on Svarog
projekti pod git sistemom za održavanje verzija -- projects under the git version control system
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c96a71e)
raw | patch | inline | side by side (parent: c96a71e)
author | Doni Pracner <quinnuendo@gmail.com> | |
Thu, 22 Dec 2016 11:34:07 +0000 (12:34 +0100) | ||
committer | Doni Pracner <quinnuendo@gmail.com> | |
Thu, 22 Dec 2016 11:34:07 +0000 (12:34 +0100) |
Stabla/konkretnoStablo/MinimalnoStablo.java | patch | blob | history |
diff --git a/Stabla/konkretnoStablo/MinimalnoStablo.java b/Stabla/konkretnoStablo/MinimalnoStablo.java
index 11da6462b492bb18e5a349a810a3dd6c75b16c06..d23fbb6e87835f038b2c8ff7cc766e137a07c028 100644 (file)
// Konkretno stablo koje sadrzi Osobe\r
-class StabloO {\r
+class Stablo {\r
private static class Cvor {\r
Osoba osoba;\r
Cvor levo;\r
public static void main(String[] args) {\r
\r
// Napravimo pomocni objekat za ucitavanje i ispisivanje\r
- TreeIO<StabloO> io = new TreeIO<>(StabloO.class);\r
+ TreeIO<Stablo> io = new TreeIO<>(Stablo.class);\r
\r
// Procitamo stablo iz fajla\r
- StabloO stablo = io.read(Svetovid.in("Osobe.txt"));\r
+ Stablo stablo = io.read(Svetovid.in("Osobe.txt"));\r
\r
// Ispisemo ucitano stablo\r
io.print(Svetovid.out, stablo);\r