摘要: public class Elvis { //第一种静态成员是一个final域 public static final Elvis INSTANCE = new Elvis(); //第二种公有成员是一个静态工厂方法 private static final Elvis INSTANCE2 = ne 阅读全文
posted @ 2017-11-08 12:01 mzxl1987 阅读(162) 评论(0) 推荐(0)
摘要: public class NutritionFacts { private final int serviceSize; private final int servings; private final int calories; private final int fat; public sta 阅读全文
posted @ 2017-11-08 11:34 mzxl1987 阅读(175) 评论(0) 推荐(0)
摘要: public interface Service { } ////////////////////////////////////////////////////////////////////////////////////////////////// public interface Provi 阅读全文
posted @ 2017-11-08 11:19 mzxl1987 阅读(119) 评论(0) 推荐(0)
摘要: maven 的配置,该配置可以直接部署到linux服务器: <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocat 阅读全文
posted @ 2017-09-30 15:07 mzxl1987 阅读(1021) 评论(0) 推荐(0)
摘要: void setup() {// Serial.begin(9600); // 下面的等值于 OC1A = 输出用于定时器1的CTC模式 pinMode(11, OUTPUT); // 设置默认关联了D9(查表得知)为输出 TCCR1B=0; // 只是个复位的习惯可以不要 TCCR1A=_BV(C 阅读全文
posted @ 2017-09-27 13:43 mzxl1987 阅读(894) 评论(0) 推荐(0)
摘要: server { listen 443; ####HTTPS指定端口 server_name www.web.com; #####域名或者IP root /data/wwwroot/laravel/public; #####项目所在绝对路径,项目入口 index index.php index.ht 阅读全文
posted @ 2017-08-23 16:09 mzxl1987 阅读(202) 评论(0) 推荐(0)