![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
SsJava
tyjhField
这个作者很懒,什么都没留下…
展开
-
Delegates in JAVA with MethodHandle
Recently, I try to rewrite a PDA client communication software, which original is in C#, in JAVA. It's very convenient as using Delegates in C#. As long time no using JAVA and not familary with it. I原创 2013-01-31 10:41:10 · 1138 阅读 · 0 评论 -
Confusion in Java 1
As seeing > by Joshua Bloch and Neal Gafter, I try what they say and write them down. You should not use "\u" as unicode type in comments, otherwise using html encoding type. It will be compiled原创 2013-03-28 22:39:38 · 738 阅读 · 0 评论 -
Confusion in Java 2
字符集的疑惑。 在《Java解惑》一书中提及默认字符集,即不指定字符集,进行类型转换所带来的“莫名其妙”。 书中示例代码: byte bytes[] = new byte[256]; for(int i = 0; i bytes[i] = (byte)i; String str = new String(bytes); for ( int i = 0; n = str.l原创 2013-03-29 00:59:42 · 547 阅读 · 0 评论 -
Custom ThreadPool in Java to Perform as ThreadPool in C# based on Singleton Model
Every process has a default ThreadPool with defalut size 25 in .Net application development. It is very convenient as writing ThreadPool.QueueUserWorkItem(CallBack); As so far, I have not found a def原创 2013-03-21 10:24:40 · 1220 阅读 · 0 评论 -
Use Complex Type 'DateTime' for .Net Webservice through KSOAP Lib
There is a DateTime type parameter in .Net Webservice. The request should be like this: ... dateTime ... If you pass a Date to the request: soapObject.addProperty("原创 2013-03-22 14:04:48 · 2729 阅读 · 1 评论 -
Use Webservice Through Primitive XML HTTP Requestion
I want to find a 3-party accessing web service lib which using in a little sentence. But the web service defindes it's custom AuthHeader object type. For passing the authentication info, it's not ea原创 2013-03-22 16:26:10 · 859 阅读 · 0 评论