mirror of
https://github.com/stleary/JSON-java.git
synced 2026-05-24 00:00:53 -04:00
0521928463
- Moving the CustomClass to data folder. - Removing JSONBuilder.java - Moving the implementation of JSONBuilder to JSONObject.
19 lines
397 B
Java
19 lines
397 B
Java
package org.json.junit.data;
|
|
|
|
import java.util.Map;
|
|
|
|
public class CustomClassG {
|
|
public Map<String, String> dataList;
|
|
|
|
public CustomClassG () {}
|
|
public CustomClassG (Map<String, String> dataList) {
|
|
this.dataList = dataList;
|
|
}
|
|
|
|
@Override
|
|
public boolean equals(Object object) {
|
|
CustomClassG classG = (CustomClassG) object;
|
|
return this.dataList.equals(classG.dataList);
|
|
}
|
|
}
|