Created
January 10, 2017 09:44
-
-
Save gn-spawn/1f9178b31f50971042f7b1aef555b5df to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ArrayList<String> tweets = mashup.getTweets("スポーンメモ", "gn_spawn"); | |
ArrayList<String> diff = new ArrayList<String>(tweets); | |
diff.removeAll(cache); | |
cache = tweets; | |
for (String tw : diff) { | |
System.out.println(tw + "が追加されました"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment