Spring Framwork Language Support v6.0.0-M2
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 1.3. Null-safety. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . but Kotlin’s clever type inference allows for shorter syntax. 1.3. Null-safety One of Kotlin’s key features is null-safety, which cleanly deals with null values at compile time rather than bumping this comprehensive guide to Kotlin null-safety.) Although Java does not let you express null-safety in its type-system, the Spring Framework provides null-safety of the whole Spring Framework API via tooling-friendly0 码力 | 42 页 | 602.76 KB | 1 年前3Spring Framwork Language Support v5.3.36 SNAPSHOT
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 1.3. Null-safety. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . but Kotlin’s clever type inference allows for shorter syntax. 1.3. Null-safety One of Kotlin’s key features is null-safety, which cleanly deals with null values at compile time rather than bumping this comprehensive guide to Kotlin null-safety.) Although Java does not let you express null-safety in its type-system, the Spring Framework provides null-safety of the whole Spring Framework API via tooling-friendly0 码力 | 42 页 | 603.79 KB | 1 年前3Spring Framwork Core Technologies v5.3.36 SNAPSHOT
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 434 7. Null-safety . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . movieFinder; // a setter method so that the Spring container can inject a MovieFinder public void setMovieFinder(MovieFinder movieFinder) { this.movieFinder = movieFinder; } // business public void setBeanOne(AnotherBean beanOne) { this.beanOne = beanOne; } public void setBeanTwo(YetAnotherBean beanTwo) { this.beanTwo = beanTwo; } public void setIntegerProperty(int0 码力 | 485 页 | 6.31 MB | 1 年前3Spring Boot 2.1.0.M2 Reference Guide
Your Own Starter Naming autoconfigure Module Starter Module 49. Kotlin support Requirements Null-safety Kotlin API runApplication Extensions Dependency management @ConfigurationProperties Testing Resources public class Example { @RequestMapping("/") String home() { return "Hello World!"; } public static void main(String[] args) throws Exception { SpringApplication.run(Example.class, args); } } Although autoconfigure.SpringBootApplication; @SpringBootApplication public class Application { public static void main(String[] args) { SpringApplication.run(Application.class, args); } } Chapter 15. Configuration0 码力 | 668 页 | 634.21 KB | 1 年前3Spring Boot 2.0.6.RELEASE Reference Documentation
Your Own Starter Naming autoconfigure Module Starter Module 48. Kotlin support Requirements Null-safety Kotlin API runApplication Extensions Dependency management @ConfigurationProperties Testing Resources public class Example { @RequestMapping("/") String home() { return "Hello World!"; } public static void main(String[] args) throws Exception { SpringApplication.run(Example.class, args); } } Although autoconfigure.SpringBootApplication; @SpringBootApplication public class Application { public static void main(String[] args) { SpringApplication.run(Application.class, args); } } Chapter 15. Configuration0 码力 | 662 页 | 633.20 KB | 1 年前3Spring Boot 2.0.8.RELEASE Reference Guide
Your Own Starter Naming autoconfigure Module Starter Module 48. Kotlin support Requirements Null-safety Kotlin API runApplication Extensions Dependency management @ConfigurationProperties Testing Resources public class Example { @RequestMapping("/") String home() { return "Hello World!"; } public static void main(String[] args) throws Exception { SpringApplication.run(Example.class, args); } } Although autoconfigure.SpringBootApplication; @SpringBootApplication public class Application { public static void main(String[] args) { SpringApplication.run(Application.class, args); } } Chapter 15. Configuration0 码力 | 662 页 | 634.14 KB | 1 年前3Spring Boot 2.0.5.RELEASE Reference Documentation
Your Own Starter Naming autoconfigure Module Starter Module 47. Kotlin support Requirements Null-safety Kotlin API runApplication Extensions Dependency management @ConfigurationProperties Testing Resources public class Example { @RequestMapping("/") String home() { return "Hello World!"; } public static void main(String[] args) throws Exception { SpringApplication.run(Example.class, args); } } Although autoconfigure.SpringBootApplication; @SpringBootApplication public class Application { public static void main(String[] args) { SpringApplication.run(Application.class, args); } } Chapter 15. Configuration0 码力 | 656 页 | 627.70 KB | 1 年前3Spring Boot 2.0.4.RELEASE Reference Guide
................................................................................. 185 47.2. Null-safety ................................................................................................ class Example { @RequestMapping("/") String home() { return "Hello World!"; } public static void main(String[] args) throws Exception { SpringApplication.run(Example.class, args); } Spring Boot autoconfigure.SpringBootApplication; @SpringBootApplication public class Application { public static void main(String[] args) { SpringApplication.run(Application.class, args); } } Spring Boot Reference0 码力 | 416 页 | 2.22 MB | 1 年前3Spring Boot 2.0.4.RELEASE Reference Guide
Your Own Starter Naming autoconfigure Module Starter Module 47. Kotlin support Requirements Null-safety Kotlin API runApplication Extensions Dependency management @ConfigurationProperties Testing Resources public class Example { @RequestMapping("/") String home() { return "Hello World!"; } public static void main(String[] args) throws Exception { SpringApplication.run(Example.class, args); } } Although autoconfigure.SpringBootApplication; @SpringBootApplication public class Application { public static void main(String[] args) { SpringApplication.run(Application.class, args); } } Chapter 15. Configuration0 码力 | 655 页 | 627.24 KB | 1 年前3Spring Boot 2.1.0.M1 Reference Guide
Your Own Starter Naming autoconfigure Module Starter Module 48. Kotlin support Requirements Null-safety Kotlin API runApplication Extensions Dependency management @ConfigurationProperties Testing Resources public class Example { @RequestMapping("/") String home() { return "Hello World!"; } public static void main(String[] args) throws Exception { SpringApplication.run(Example.class, args); } } Although autoconfigure.SpringBootApplication; @SpringBootApplication public class Application { public static void main(String[] args) { SpringApplication.run(Application.class, args); } } Chapter 15. Configuration0 码力 | 665 页 | 632.83 KB | 1 年前3
共 310 条
- 1
- 2
- 3
- 4
- 5
- 6
- 31