velocity velocity三种reference 变量:对java对象的一种字符串化表示,返回值调用了java的toString()方法的结果。 方法:调用的是对象的某个方法。该方法必须是public的。返回值也是toString(),方法的參数也必须为String的。 属性:除了訪问jav ...
分类:
其他好文 时间:
2017-05-30 19:34:04
阅读次数:
302
MixinMixin include: 作为实例方法引入extend : 作为类方法引入Inheritance(继承)overrideruby class內的method都是可以被修改、添加定义的。修改影响所有实例,包括修改操作前创建的实例。异常处理begin # 可能會發生例外的 coderesc... ...
分类:
其他好文 时间:
2017-05-30 16:00:05
阅读次数:
169
Newton Interpolation: https://www.youtube.com/watch?v=EyRQXA56asI Piecewise Linear Interpolation: https://www.youtube.com/results?search_query=Piecewi ...
分类:
其他好文 时间:
2017-05-30 12:09:47
阅读次数:
135
Bribing FIPA Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 704 Accepted Submission(s): 251 Prob ...
分类:
其他好文 时间:
2017-05-29 22:16:30
阅读次数:
256
五.Classification (I) – Tree, Lazy, and Probabilistic 五.分类(I)-树,延迟,和概率 In this chapter, we will cover the following recipes: 在本章中,我们将介绍下列菜谱:准备培训和测试数据集 ...
分类:
其他好文 时间:
2017-05-29 17:20:23
阅读次数:
341
基于Kubernetes启动WebLogic后,发现JVM的最大heap size一直在700多M左右,通过 kubectl logs 察看pod启动状态,发现日志中并没有-Xms和-Xmx参数.日志部分如下: 修改yaml文件中的limit参数,发现并不能影响JVM的size,开始怀疑JVM自己根 ...
分类:
Web程序 时间:
2017-05-26 13:11:17
阅读次数:
700
package com.jiuxi.marriage.module.goods.manager; import android.content.Context; import android.support.v7.widget.RecyclerView; import android.support... ...
分类:
其他好文 时间:
2017-05-22 15:19:11
阅读次数:
265
Shader概述
Shader是绘图过程中的着色器,实现绘制各种不同的效果,Shader有以下五个子类:
- BitmapShader用于Bitmap图片的渲染
- ComposeShader用...
分类:
移动开发 时间:
2017-05-22 15:18:04
阅读次数:
551
1.The collect is declared by the Interface of Stream.The param is Collector Interface. 2.The Collector Interface mainly contains 4 functions about: (1 ...
分类:
其他好文 时间:
2017-05-21 14:41:35
阅读次数:
143
这个小方法很有意思,仅仅用了一个request和普通的javabean对象就将form表单提交的参数封装进了javabean里面,即使现在很多技术可以实现formbean到javabean的映射,但是很多代码在项目进度允许的情况下,而且也实现了我们需要功能的时候,我会觉得更有意思。 使用方法: 1) ...
分类:
编程语言 时间:
2017-05-21 13:43:35
阅读次数:
250