File tree 2 files changed +6
-4
lines changed
src/main/java/com/inbravo/jdk7
2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 9
9
- [ Singleton using 'enum'] [ EnumSingletonTest.md ]
10
10
- [ How Remote Method Invocation(RMI) works] [ PowerServiceImpl.md ]
11
11
12
- #### JDK 7/8 language features
12
+ #### JDK 7 language features
13
13
- [ Usage of 'MethodHandles'] [ MethodHandleTest.md ]
14
- - [ Performance comparison between MethodHandle, Reflection, LambdaMetafactory and Direct method call] [ TestMethodPerf.md ]
15
14
- [ Diamond operator(<>)] [ DiamondOperatorTest.md ]
15
+ - [ Remove compiler warning about generics variable arguments invocation using '@SafeVarargs ' annotation] ( SafeVarargsAnnotationTest.md )
16
+
17
+ #### JDK 8 language features
18
+ - [ Performance comparison between MethodHandle, Reflection, LambdaMetafactory and Direct method call] [ TestMethodPerf.md ]
16
19
- [ Interface with 'default' method] [ InterfaceWithMainTest.md ]
17
20
- [ Interface with 'static' method] [ InterfaceWithStaticMethod.md ]
18
21
- [ Class with 'default' method] [ ClassWithDefaultMethodUsage.md ]
22
25
- [ Using 'Collections.sort' on Lambdas] [ ComparatorTest.md ]
23
26
- [ Using 'List.forEach' on Lambdas] [ ForEachTest.md ]
24
27
- [ List Streaming example] [ ListStreamTest.md ]
25
- - [ Remove compiler warning about generics vararg invocation using '@SafeVarargs ' annotation] ( SafeVarargsAnnotationTest.md )
26
28
27
29
#### JDK 9 language features
28
30
- [ How 'jshell' (Read-Eval-Print Loop : JEP-222) works] [ JShellTest.md ]
Original file line number Diff line number Diff line change 32
32
*/
33
33
public final class SafeVarargsAnnotationTest {
34
34
35
- public static void main (final String ... args ) {
35
+ public static final void main (final String ... args ) {
36
36
37
37
/* A list of integers */
38
38
final List <Integer > listOfIntegers = new ArrayList <>();
You can’t perform that action at this time.
0 commit comments