场景:
如果业务层的内容被内嵌于界面层中,我们需要帮这分离出来
代码坏味道
MyFrame
/**
*
* @author wumingkun
* @version 1.0.0
* @Description
*/
package com.demo.refactor;
import java.util.Observable;
im...
分类:
其他好文 时间:
2014-08-09 00:14:48
阅读次数:
351
Pig: DistinctDistinct主要是去掉重复的记录,是对条记录进行去重,而不是对单个某个schema。daily = load 'NYSE_daily' as (exchange:chararray, symbol:chararray);uniq = distinct daily它需要收...
分类:
其他好文 时间:
2014-08-08 21:13:46
阅读次数:
247
Description
An encoding of a set of symbols is said to be immediately decodable if no code for one symbol is the prefix of a code for another symbol. We will assume for this problem that all ...
分类:
其他好文 时间:
2014-08-08 12:52:26
阅读次数:
267
1.解决的办法:GDB调试时使用list命令时出现 “No symbol table is loaded. Use the "file" command”提示,其实是C编译器的选项CFLAGS没有设置好,gcc -o进行编译时不用不用写“-g”选项,只需在makefile文件开头写上“CFLAGS ...
分类:
数据库 时间:
2014-08-08 12:32:56
阅读次数:
4489
当/home/jenkins目录空间不足的时候,可以先查看哪个目录在较大的磁盘分区上,然后将jenkins目录移动过去最后创建/home/jenkins link到新位置。这时候需要修改symbol link的Owner,需要如下命令:chown -h jenkins:jenkins /home/jenkins几个注意点:1. -h 参数必须2. /home/jenkins不能用相对路径3./ho...
分类:
其他好文 时间:
2014-08-06 11:58:41
阅读次数:
204
步骤1新建或打开Quartus II工程,用QII自带文本编辑器打开HDL文件。图1 用QII自带的文本编辑器打开HDL文件步骤2选择File>Create / Update>Creat Symbol Files for Current File,等待图3所示画面出现即可。图2 选择Creat Sy...
分类:
其他好文 时间:
2014-08-05 18:32:19
阅读次数:
344
问题描述:Given a sorted linked list, delete all nodes that have duplicate numbers, leaving onlydistinctnumbers from the original list.For example,Given1->...
分类:
其他好文 时间:
2014-08-02 01:33:12
阅读次数:
249
Given a set of distinct integers, S, return all possible subsets.
Note:
Elements in a subset must be in non-descending order.The solution set must not contain duplicate subsets.
For exa...
分类:
其他好文 时间:
2014-08-01 23:18:42
阅读次数:
246
#!r6rs
( import ( rnrs base ( 6 ) )
( rnrs io simple ( 6 ) ) )
( define ( deriv exp var )
( define ( variable? x )
( symbol? x ) )
( define ( =number? exp num )...
分类:
其他好文 时间:
2014-08-01 02:28:20
阅读次数:
210