import 'package:flutter/material.dart'; void main ()=>runApp(MyApp()); class MyApp extends StatelessWidget{ @override Widget build(BuildContext contex ...
分类:
其他好文 时间:
2020-07-02 18:32:30
阅读次数:
64
Tomcat初次使用 //a.html<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>a</title> </head> <body> <form action="http://localhost:8080/ ...
分类:
其他好文 时间:
2020-07-01 22:29:13
阅读次数:
57
配置文件地址: /usr/src/redmine/config/configuration.yml # = Redmine configuration file # # Each environment has its own configuration options. If you are on ...
分类:
其他好文 时间:
2020-07-01 20:11:49
阅读次数:
60
参考:http://c.biancheng.net/view/2923.html mainActivity中 通过intent 传递参数 class MyClickListener implements View.OnClickListener{ @Override public void onCl ...
分类:
其他好文 时间:
2020-07-01 12:42:53
阅读次数:
53
1:在实体类上加上注解 /** * 产品名称 */ @TableField("product_name") @NotBlank private String productName; 2:service的校验方法 @Override public void validationOrderRelati ...
分类:
其他好文 时间:
2020-07-01 09:52:35
阅读次数:
165
public interface Collection<E> extends Iterable<E> The root interface in the collection hierarchy. A collection represents a group of objects, known a ...
分类:
编程语言 时间:
2020-07-01 09:41:31
阅读次数:
55
1、使用Lambda表达式实现多线程 public static void main(String[] args) { //使用匿名内部类的方式,实现多线程 new Thread(new Runnable() { @Override public void run() { System.out.pr ...
分类:
编程语言 时间:
2020-06-30 17:34:32
阅读次数:
55
1.创建一个 普通的viewController ,添加需要push的 UITabBarController /// 添加TabController的控制器 class JYJokerThroughRootController: JYBaseViewController { override fun ...
分类:
编程语言 时间:
2020-06-30 17:20:13
阅读次数:
75
Lambda表达式:ide //原来的匿名内部类 @Test public void test1(){ Comparator<String> com = new Comparator<String>(){ @Override public int compare(String o1, String ...
分类:
编程语言 时间:
2020-06-30 14:38:25
阅读次数:
65
设计模式(Design Patterns) ——可复用面向对象软件的基础 设计模式(Design pattern)是一套被反复使用、多数人知晓的、经过分类编目的、代码设计经验的总结。使用设计模式是为了可重用代码、让代码更容易被他人理解、保证代码可靠性。 毫无疑问,设计模式于己于他人于系统都是多赢的, ...
分类:
编程语言 时间:
2020-06-30 12:50:59
阅读次数:
60