Skip to content

Commit 6ffda8a

Browse files
committed
Update Examples
1 parent b0a8d7d commit 6ffda8a

11 files changed

+22
-22
lines changed

examples/Java/ks/KSObject.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55

66
public abstract class KSObject
77
{
8-
public static final String NameStatic = "";
9-
public abstract String Name();
8+
public static final String nameStatic = "";
9+
public abstract String name();
1010
public abstract byte[] serialize();
1111
public int deserialize(byte[] s) { return deserialize(s, 0); }
1212
protected abstract int deserialize(byte[] s, int offset);

examples/Java/ks/empty/Child.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ public Child()
2020
{
2121
}
2222

23-
public static final String NameStatic = "Child";
23+
public static final String nameStatic = "Child";
2424

2525
@Override
26-
public String Name() { return "Child"; }
26+
public String name() { return "Child"; }
2727

2828
@Override
2929
public byte[] serialize()

examples/Java/ks/empty/Parent.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ public Parent()
3131
{
3232
}
3333

34-
public static final String NameStatic = "Parent";
34+
public static final String nameStatic = "Parent";
3535

3636
@Override
37-
public String Name() { return "Parent"; }
37+
public String name() { return "Parent"; }
3838

3939
@Override
4040
public byte[] serialize()

examples/Java/ks/full/Child.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ public Child()
3131
{
3232
}
3333

34-
public static final String NameStatic = "Child";
34+
public static final String nameStatic = "Child";
3535

3636
@Override
37-
public String Name() { return "Child"; }
37+
public String name() { return "Child"; }
3838

3939
@Override
4040
public byte[] serialize()

examples/Java/ks/full/Parent.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ public Parent()
4242
{
4343
}
4444

45-
public static final String NameStatic = "Parent";
45+
public static final String nameStatic = "Parent";
4646

4747
@Override
48-
public String Name() { return "Parent"; }
48+
public String name() { return "Parent"; }
4949

5050
@Override
5151
public byte[] serialize()

examples/Java/ks/full/Test.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -284,10 +284,10 @@ public Test()
284284
{
285285
}
286286

287-
public static final String NameStatic = "Test";
287+
public static final String nameStatic = "Test";
288288

289289
@Override
290-
public String Name() { return "Test"; }
290+
public String name() { return "Test"; }
291291

292292
@Override
293293
public byte[] serialize()

examples/Java/ks/inheritance/Child.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ public Child()
3131
{
3232
}
3333

34-
public static final String NameStatic = "Child";
34+
public static final String nameStatic = "Child";
3535

3636
@Override
37-
public String Name() { return "Child"; }
37+
public String name() { return "Child"; }
3838

3939
@Override
4040
public byte[] serialize()

examples/Java/ks/inheritance/GrandChild.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ public GrandChild()
3131
{
3232
}
3333

34-
public static final String NameStatic = "GrandChild";
34+
public static final String nameStatic = "GrandChild";
3535

3636
@Override
37-
public String Name() { return "GrandChild"; }
37+
public String name() { return "GrandChild"; }
3838

3939
@Override
4040
public byte[] serialize()

examples/Java/ks/inheritance/Parent1.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ public Parent1()
3131
{
3232
}
3333

34-
public static final String NameStatic = "Parent1";
34+
public static final String nameStatic = "Parent1";
3535

3636
@Override
37-
public String Name() { return "Parent1"; }
37+
public String name() { return "Parent1"; }
3838

3939
@Override
4040
public byte[] serialize()

examples/Java/ks/inheritance/Parent2.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ public Parent2()
3131
{
3232
}
3333

34-
public static final String NameStatic = "Parent2";
34+
public static final String nameStatic = "Parent2";
3535

3636
@Override
37-
public String Name() { return "Parent2"; }
37+
public String name() { return "Parent2"; }
3838

3939
@Override
4040
public byte[] serialize()

examples/Java/ks/inheritance/Parent3.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ public Parent3()
2020
{
2121
}
2222

23-
public static final String NameStatic = "Parent3";
23+
public static final String nameStatic = "Parent3";
2424

2525
@Override
26-
public String Name() { return "Parent3"; }
26+
public String name() { return "Parent3"; }
2727

2828
@Override
2929
public byte[] serialize()

0 commit comments

Comments
 (0)