上一页 1 ··· 165 166 167 168 169 170 171 172 173 ··· 494 下一页
摘要: Volta’s job is to manage your JavaScript command-line tools, such as node, npm, yarn, or executables shipped as part of JavaScript packages. Similar t 阅读全文
posted @ 2020-11-14 18:00 Zhentiw 阅读(115) 评论(0) 推荐(0)
摘要: First, let's see the code: // builder/Contact.java public class Contact { private String firstName; private String lastName; private String emailAddre 阅读全文
posted @ 2020-11-13 15:43 Zhentiw 阅读(101) 评论(0) 推荐(0)
摘要: It's common for a user to enter values that you want to check against your pre-defined values. Let's make a demo of a word game to demonstrate one app 阅读全文
posted @ 2020-11-12 15:56 Zhentiw 阅读(147) 评论(0) 推荐(0)
摘要: Coding again the interface. interface: package com.frankmoley.lil.designpatternsapp.factory; public interface Pet { void setName(String name); String 阅读全文
posted @ 2020-11-11 17:38 Zhentiw 阅读(131) 评论(0) 推荐(0)
摘要: In previous post, we have follow code: const delayMessage = (message) => hardCode(message)(createTimeout(1000)); const sequence = (...broadcasters) => 阅读全文
posted @ 2020-11-11 16:46 Zhentiw 阅读(130) 评论(0) 推荐(0)
摘要: For example we have tow Entities: package com.virtualpairprogrammers.theater.domain import javax.persistence.* @Entity data class Performance( @Id @Ge 阅读全文
posted @ 2020-11-08 21:18 Zhentiw 阅读(124) 评论(0) 推荐(0)
摘要: pom.xml: add compile plugin <build> <sourceDirectory>${project.basedir}/src/main/kotlin</sourceDirectory> <testSourceDirectory>${project.basedir}/src/ 阅读全文
posted @ 2020-11-06 03:38 Zhentiw 阅读(95) 评论(0) 推荐(0)
摘要: pom.xml: <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-jpa</artifactId> </dependency> <dependency> <gr 阅读全文
posted @ 2020-11-05 21:06 Zhentiw 阅读(128) 评论(0) 推荐(0)
摘要: We want to only freeze the private variable when we get it and set it: class Cart { #items; constructor(items = []) { this.value = items; } set value( 阅读全文
posted @ 2020-11-05 20:04 Zhentiw 阅读(83) 评论(0) 推荐(0)
摘要: Morden Javascript allows us to write private and static class memebers. To do this, we need to install babel plugins: First, let see "static member": 阅读全文
posted @ 2020-11-05 19:57 Zhentiw 阅读(153) 评论(0) 推荐(0)
上一页 1 ··· 165 166 167 168 169 170 171 172 173 ··· 494 下一页