Created
October 7, 2014 15:22
-
-
Save yusuke/3ce95934b44d50c59773 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
| package twitter4j; | |
| import java.util.stream.IntStream; | |
| public class Cpu { | |
| public static void main(String[] args) throws TwitterException { | |
| Twitter twitter = TwitterFactory.getSingleton(); | |
| IntStream.range('a', 'Z'+1).forEach(e-> { | |
| try { | |
| twitter.updateStatus(String.format("@syobochim %sカップ", (char) e)); | |
| } catch (TwitterException e1) { | |
| e1.printStackTrace(); | |
| } | |
| }); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment