Skip to content

Commit 4e31e78

Browse files
authored
Merge pull request #135 from mahomaps/bus-stop-info
Update
2 parents 0efa2dc + e4171b7 commit 4e31e78

10 files changed

+665
-343
lines changed

src/cc/nnproject/json/AbstractJSON.java

+9-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
Copyright (c) 2022 Arman Jussupgaliyev
2+
Copyright (c) 2022-2024 Arman Jussupgaliyev
33
44
Permission is hereby granted, free of charge, to any person obtaining a copy
55
of this software and associated documentation files (the "Software"), to deal
@@ -23,14 +23,22 @@ of this software and associated documentation files (the "Software"), to deal
2323

2424
public abstract class AbstractJSON {
2525

26+
// common methods for both JSONObject and JSONArray
27+
2628
public abstract void clear();
29+
2730
public abstract int size();
31+
2832
public abstract String toString();
33+
2934
public abstract String build();
35+
3036
public final String format() {
3137
return format(0);
3238
}
39+
3340
protected abstract String format(int l);
41+
3442
public abstract boolean similar(Object obj);
3543

3644
}

0 commit comments

Comments
 (0)