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
| interface StringGetter { | |
| String getString(); | |
| } | |
| class A { | |
| public A() { | |
| System.out.println("Printing " + getStringer().getString()); | |
| } |
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
| /* | |
| http://ant.apache.org/ivy/history/latest-milestone/ivyfile/dependency.html | |
| [1.0,2.0] matches all versions greater or equal to 1.0 and lower or equal to 2.0 | |
| [1.0,2.0[ matches all versions greater or equal to 1.0 and lower than 2.0 | |
| ]1.0,2.0] matches all versions greater than 1.0 and lower or equal to 2.0 | |
| ]1.0,2.0[ matches all versions greater than 1.0 and lower than 2.0 | |
| [1.0,) matches all versions greater or equal to 1.0 | |
| ]1.0,) matches all versions greater than 1.0 | |
| (,2.0] matches all versions lower or equal to 2.0 | |
| (,2.0[ matches all versions lower than 2.0 |
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 ResultType arbitraryMethodName( | |
| FirstArgumentType firstArgument, | |
| SecondArgumentType secondArgument, | |
| ThirdArgumentType thirdArgument) | |
| { | |
| LocalVariableType localVariable = | |
| method(firstArgument, secondArgument); | |
| if (localVariable.isSomething( | |
| thirdArgument, SOME_SHOUTY_CONSTANT)) | |
| { |