注册一亩三分地论坛,查看更多干货!
您需要 登录 才可以下载或查看附件。没有帐号?注册账号
x
直接把题粘过来吧
import java.io.*;
import java.util.*;
/*
* To execute Java, please define "static void main" on a class
* named Solution.
*
* If you need more classes, simply define them inline.
*/
/**
Consider a simplified JSON which does not support Arrays, numbers or booleans.
For Example:
{
"firstName": "John",
.map = map;
this.nested = true;
}
}
class JsonStreamComparator implements Comparator<JsonStream> {
boolean equals(JsonStream o1, JsonStream o2) {
// Implement this.
}
|