码迷,mamicode.com
首页 >  
搜索关键字:tco    ( 5870个结果
Jscraft 使用 Shell 与预先加载别名混合使用
Session session = a.getSessionShell("user", "pwd", "host"); Channel channel = session.openChannel("shell"); OutputStream outS = channel.getOutputStrea... ...
分类:Web程序   时间:2017-02-19 12:11:08    阅读次数:471
Spring 注解
转自 Spring注解详解 http://blog.csdn.net/xyh820/article/details/7303330/ 这篇文章不错 但没说清楚一些问题 概述 注释配置相对于 XML 配置具有很多的优势: 它可以充分利用 Java 的反射机制获取类结构信息,这些信息可以有效减少配置的工 ...
分类:编程语言   时间:2017-02-19 10:57:21    阅读次数:259
[LeetCode] 88. Merge Sorted Array
1 class Solution { 2 public: 3 void merge(vector& nums1, int m, vector& nums2, int n) { 4 int i = m - 1; 5 int j = n - 1; 6 int k = m + n - 1; 7 while... ...
分类:其他好文   时间:2017-02-19 10:40:37    阅读次数:168
120. Triangle
Problem Statement: Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below. For ex ...
分类:其他好文   时间:2017-02-19 10:34:02    阅读次数:205
Java编程基础-反射
一、java反射 1、反射:动态获取类的信息,以及动态调用对象的方法的功能。可以理解为动态看透类的能力。 2、主要功能:在运行时判断任意一个对象所属的类;在运行时构造任意一个类的对象;在运行时判断任意一个类所具有的成员变量和方法;在运行时调用任意一个对象的方法;生成动态代理。 通过Java反射机制, ...
分类:编程语言   时间:2017-02-18 19:59:21    阅读次数:302
LeetCode | HouseCode 算法题
题目: You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only constraint stoppin ...
分类:编程语言   时间:2017-02-18 18:45:00    阅读次数:162
leetcode 513. Find Bottom Left Tree Value
Given a binary tree, find the leftmost value in the last row of the tree. Example 1: Example 2: Note: You may assume the tree (i.e., the given root no ...
分类:其他好文   时间:2017-02-18 18:16:26    阅读次数:119
C#将一个枚举里面所有描述和value绑定到下拉列表的方法
/// <summary> /// 获取枚举值的描述,如果没有描述,则返回枚举名称 /// </summary> /// <param name="en">枚举值</param> /// <returns>描述</returns> public static string GetEnumDescri ...
分类:Windows程序   时间:2017-02-17 14:49:59    阅读次数:241
自定义注解
它类似于新创建一个接口文件,但为了区分,我们需要将它声明为@interface,如下例: ...
分类:其他好文   时间:2017-02-17 00:14:52    阅读次数:128
C# socket获取对等方mac地址
注意这种方式,很多大公司都有不同的防火墙,这种方式用arp攻击来实现的,但是有的防火墙会屏蔽arp攻击,这种方式不是很稳定 ...
分类:Windows程序   时间:2017-02-16 22:40:15    阅读次数:389
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!