/** * 获取服务器IP地址 * @return */ @SuppressWarnings("unchecked") public static String getServerIp(){ String SERVER_IP = null; try { Enumeration netInterfac ...
分类:
编程语言 时间:
2018-02-01 00:24:55
阅读次数:
109
Remarks The Symbol enumeration is typically used to set the value of the AppBarButton.Icon property or the SymbolIcon.Symbol property. For more info a ...
分类:
编程语言 时间:
2018-01-20 22:50:23
阅读次数:
221
package com.xfm.utils;import org.apache.tools.zip.ZipEntry;import org.apache.tools.zip.ZipFile;import java.io.*;import java.util.Enumeration;/** * 解压Z ...
分类:
其他好文 时间:
2018-01-10 14:48:34
阅读次数:
215
1 package com.gta.yyyf.commons.utils; 2 3 import java.io.UnsupportedEncodingException; 4 import java.net.URLDecoder; 5 import java.util.Enumeration; 6... ...
分类:
Web程序 时间:
2018-01-09 16:57:25
阅读次数:
193
【CF908E】New Year and Entity Enumeration 题意:给定$M=2^m-1$,我们称一个集合S是好的,当且仅当它满足:1.$\forall a\in S,a \mathrm{xor} M \in S$,2.$\forall a,b\in S,a \mathrm{and ...
分类:
编程语言 时间:
2018-01-07 12:02:43
阅读次数:
257
【题目】E. New Year and Entity Enumeration 【题意】给定集合T包含n个m长二进制数,要求包含集合T且满足以下条件的集合S数:长度<=m,非和与的结果都在集合中。(详细的题意见原题) 【算法】数学(贝尔数) 【题解】这道题确实不太能理解这种做法,所以就简单写写了。 先 ...
分类:
编程语言 时间:
2018-01-05 20:46:36
阅读次数:
324
servlet 下 11. 和属性相关的方法: 1). 方法 void setAttribute(String name, Object o): 设置属性 Object getAttribute(String name): 获取指定的属性 Enumeration getAttributeNames( ...
分类:
编程语言 时间:
2017-12-30 19:56:48
阅读次数:
144
Java 数据结构 Java工具包提供了强大的数据结构。在Java中的数据结构主要包括以下几种接口和类: 枚举(Enumeration) 位集合(BitSet) 向量(Vector) 栈(Stack) 字典(Dictionary) 哈希表(Hashtable) 属性(Properties) 以上这些 ...
分类:
编程语言 时间:
2017-12-09 18:04:28
阅读次数:
96
今天来介绍把树形结构存入数据库的第二种方法——路径枚举法。 还是借用上一篇的栗子,为了方便大家查阅,我把图又原样搬过来了。 需要回答的问题依旧是这样几个: 1.查询小天的直接上司。 2.查询老宋管理下的直属员工。 3.查询小天的所有上司。 4.查询老王管理的所有员工。 方案二、 Path Enume ...
分类:
数据库 时间:
2017-12-09 14:58:05
阅读次数:
317
import java.io.*;import java.util.Enumeration;import java.util.Properties;/** * 关于Properties类常用的操作 * @author xfm * @version 1.0.0 */public class Prope ...
分类:
其他好文 时间:
2017-12-08 14:02:31
阅读次数:
153