上一页 1 ··· 84 85 86 87 88 89 90 91 92 ··· 114 下一页
摘要: 在编程语言中都有某种方式,告知编译器一块数据是恒定不变的。有两个需求 1. 一个永不改变的编译器常量 2. 一个在运行时被初始化的值,而这个值不会被改变 在Java中,使用final修饰变量实现这两个需求 private final int valueOne = 9; private static 阅读全文
posted @ 2017-06-06 16:27 甜菜波波 阅读(173) 评论(0) 推荐(0)
摘要: winmerge 阅读全文
posted @ 2017-06-01 14:42 甜菜波波 阅读(124) 评论(0) 推荐(0)
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Threading;namespace 线程同步{ 阅读全文
posted @ 2017-05-25 15:40 甜菜波波 阅读(4619) 评论(0) 推荐(1)
摘要: using System; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace UnitTestProject1 { [TestClass] public class UnitTest1 { [TestMethod] public void TestMethod1()... 阅读全文
posted @ 2017-05-25 10:01 甜菜波波 阅读(507) 评论(0) 推荐(0)
摘要: 和AutoEvent相似是处理同步关系的,但是AutoEvent是跨进程的,而Monitor是针对线程的。 以下是MSDN的代码示例,调试起来很容易看出来两个函数的作用了,因为尽管是多线程程序,但是是同步操作,所以代码始终是单步执行的。 using System; using System.Thre 阅读全文
posted @ 2017-05-22 15:52 甜菜波波 阅读(13196) 评论(0) 推荐(1)
摘要: 参考 http://blog.csdn.net/zhengguanxiong/article/details/52517127 阅读全文
posted @ 2017-05-21 16:53 甜菜波波 阅读(6397) 评论(0) 推荐(0)
摘要: var a=function(){ this.msg="aa"; } a.prototype.say=function(){ alert('this is say');} 1.只有 Object.prototype Array.prototype String.prototype Date.prot 阅读全文
posted @ 2017-05-18 12:06 甜菜波波 阅读(206) 评论(0) 推荐(0)
摘要: CF_DEPTUCORGANIZATION INSERT UPDATE DELETE 触发器CREATE OR REPLACE TRIGGER tr_del_CF_DEPTUCORGANIZATIONBEFORE INSERT OR UPDATE OR DELETE ON CF_DEPTUCORGA 阅读全文
posted @ 2017-05-16 16:24 甜菜波波 阅读(522) 评论(0) 推荐(0)
摘要: create or replace procedure p_test(p_cur out sys_refcursor)asbegin open p_cur for select * from F_RELATION;end p_test;DECLARE test_cur sys_refcursor ; 阅读全文
posted @ 2017-05-16 15:37 甜菜波波 阅读(789) 评论(0) 推荐(0)
摘要: 1.无参存储过程 create or replace procedure test_procasv_total number(10);begin select count(*) into v_total from F_RELATION; DBMS_OUTPUT.put_line('总人数:'||v_ 阅读全文
posted @ 2017-05-16 15:00 甜菜波波 阅读(2431) 评论(0) 推荐(0)
上一页 1 ··· 84 85 86 87 88 89 90 91 92 ··· 114 下一页