一、CardView 这是一个CardView的简单布局,app:cardCornerRadius这个属性指定了卡片圆角的弧度,另外还可以通过app:elevation指定卡片的高度,改变卡片的阴影效果。 要使用CardView需要添加相应的库,在app/build.gradle中: 第一行是Rec ...
分类:
移动开发 时间:
2017-09-05 10:05:59
阅读次数:
280
shp.mask = new egret.Rectangle(20,20,30,50); 注意如果rec发生变化,需要重要将rec赋值给shp.mask sprite.mask = null 显示对象作为遮罩,无需像矩形遮罩那样重复赋值 mask,但是 mask 必须是显示列表里元素。 ...
分类:
其他好文 时间:
2017-09-02 22:34:20
阅读次数:
206
DECLARE l_rec_profile_t hz_customer_profile_v2pub.customer_profile_rec_type; l_rec_profile hz_customer_profile_v2pub.cust_profile_amt_rec_type; l_prof ...
分类:
其他好文 时间:
2017-08-19 12:53:48
阅读次数:
160
1.背包问题 (1)01背包 从n个重量和价值分别为wi,vi的物品,从中选出不超过W的物品,每种物品仅有一件,求所有方案中V的最大值。 最朴素最简单也最费时的方法:O(2^n) int rec(int i,int j)//从第i个开始挑选总重小于j的部分 递归 递归终止条件:i==n return ...
分类:
其他好文 时间:
2017-08-18 20:04:23
阅读次数:
196
netstat-na显示所有活动的Internet连接到服务器,仅包括已建立的连接。netstat-an|grep:80|sort查看80端口连接数netstat-n-p|grepSYN_REC|wc-l查看服务器上发生的活动SYNC_REC有多少,这个数字应该相当低,最好不到5点。netstat-n-p|grepSYN_REC|sort列出涉及的所有IP地址,而..
分类:
Web程序 时间:
2017-08-14 22:22:31
阅读次数:
183
Given a binary tree, return the preorder traversal of its nodes' values. For example: Given binary tree {1,#,2,3}, 1 \ 2 / 3 return [1,2,3]. Note: Rec ...
分类:
其他好文 时间:
2017-08-04 21:32:16
阅读次数:
136
This practice is full, and now has disappeared, hope to work in your hands. 这种做法是充实的,现在已经消失了,希望能在你手中工作 administrative assistant, financial intern, rec ...
分类:
其他好文 时间:
2017-08-03 01:04:01
阅读次数:
170
f=open("D:/names.txt")def is_panlindrom_rec(name):#方法一用递归的方法 if len(name)<=1: return True else: if name[0]!=name[-1]: return False else: return is_pan ...
分类:
其他好文 时间:
2017-07-30 12:40:40
阅读次数:
141
--DECLARE text emp.empno%TYPE :=7499; rec emp%ROWTYPE;BEGIN SELECT * INTO rec FROM emp WHERE empno=text; DBMS_OUTPUT.PUT_LINE('姓名:'||rec.ename||'工资:'| ...
分类:
数据库 时间:
2017-07-24 17:35:03
阅读次数:
290
#include <iostream> #include <queue> #include <vector> using namespace std; const int N=405; struct rec { int v,w; }; vector<rec> edge[N*N]; int n,st, ...
分类:
其他好文 时间:
2017-07-19 00:11:04
阅读次数:
202