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
| public class BasicAuth | |
| { | |
| public static void main(String a[])throws Exception | |
| { | |
| System.out.println(getHttpResponse("78.101.139.84")); | |
| } | |
| public static String getHttpResponse(final String ip) throws IOException | |
| { |
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
| import java.util.*; | |
| import java.util.function.*; | |
| import java.util.stream.Collectors; | |
| import static java.util.function.Function.identity; | |
| public class NonRepeatingLetter { | |
| public static void main(String[] args) { | |
| findFirstNonRepeatingLetter(args[0], System.out::println); | |
| } |
NewerOlder