Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

Java±ä³¤²ÎÊý

ÔÚJava5ÖÐÌṩÁ˱䳤²ÎÊý£¬Ò²¾ÍÊÇÔÚ·½·¨¶¨ÒåÖпÉÒÔʹÓøöÊý²»È·¶¨µÄ²ÎÊý£¬¶ÔÓÚͬһ·½·¨¿ÉÒÔʹÓò»Í¬¸öÊýµÄ²ÎÊýµ÷Óã¬ÀýÈ磺print("hello");print("hello","lisi");print("hello","ÕÅÈý");ÏÂÃæ½éÉÜÈçºÎ¶¨Òå¿É±ä³¤²ÎÊýÒÔ¼°ÈçºÎʹÓÿɱ䳤²ÎÊý¡£
1¡¢¿É±ä³¤²ÎÊý·½·¨µÄ¶¨Òå
ʹÓÃ...±íʾ¿É±ä³¤²ÎÊý£¬ÀýÈç
print(String... args){
   ...
}
ÔÚ¾ßÓпɱ䳤²ÎÊýµÄ·½·¨ÖпÉÒ԰ѲÎÊýµ±³ÉÊý×éʹÓã¬ÀýÈç¿ÉÒÔÑ­»·Êä³öËùÓеIJÎÊýÖµ¡£
print(String... args){
   for(String temp:args)
      System.out.println(temp);
}
2¡¢¿É±ä³¤²ÎÊýµÄ·½·¨µÄµ÷ÓÃ
µ÷ÓõÄʱºò¿ÉÒÔ¸ø³öÈÎÒâ¶à¸ö²ÎÊý£¬ÀýÈ磺
print("hello");
print("hello","lisi");
print("hello","ÕÅÈý");
3¡¢×¢ÒâÊÂÏî
3.1 ÔÚµ÷Ó÷½·¨µÄʱºò£¬Èç¹ûÄܹ»ºÍ¹Ì¶¨²ÎÊýµÄ·½·¨Æ¥Å䣬ҲÄܹ»Óë¿É±ä³¤²ÎÊýµÄ·½·¨Æ¥Å䣬ÔòÑ¡Ôñ¹Ì¶¨²ÎÊýµÄ·½·¨¡£¿´ÏÂÃæ´úÂëµÄÊä³ö£º
package ch6;
import static java.lang.System.out;
public class VarArgsTest {
 public static void main(String[] args) {
  VarArgsTest test = new VarArgsTest();
  test.print("hello");
  test.print("hello","zhangsan");
 }
 
 public void print(String... args){
  for(int i=0;i<args.length;i++){
   out.println(args[i]);
  }
 }
 
 public void print(String test){
  out.println("----------");
 }
}
3.2 Èç¹ûÒªµ÷Óõķ½·¨¿ÉÒÔºÍÁ½¸ö¿É±ä²ÎÊýÆ¥Å䣬Ôò³öÏÖ´íÎó£¬ÀýÈçÏÂÃæµÄ´úÂ룺
package ch6;
import static java.lang.System.out;
public class VarArgsTest {
 public static void main(String[] args) {
  VarArgsTest test = new VarArgsTest();
  test.print("hello");
  test.print("hello","zhangsan");
 }
 
 public void print(String... args){
  for(int i=0;i<args.length;i++){
   out.println(args[i]);
  }
 }
 
 public void print(String test,String...args ){
  out.println("----------");
 }
}
¶ÔÓÚÉÏÃæµÄ´úÂ룬main·½·¨ÖеÄÁ½¸öµ÷Óö¼²»ÄܱàÒëͨ¹ý¡£
3.3 Ò»


Ïà¹ØÎĵµ£º

IBM FileNet Content Java API ¼ò½é

2008 Äê 6 ÔÂ 24 ÈÕ
Ô­ÎĵØÖ·£º http://www.ibm.com/developerworks/cn/data/library/techarticles/dm-0806wangys/
±¾ÎĽéÉÜ IBM FileNet P8 4.0 Platform ÌṩµÄ Content Java API¡£Ê×ÏÈ¶Ô FileNet P8 Content Engine ºÍ API ½øÐиÅÒª½éÉÜ, ²¢ËµÃ÷ÁËһЩ»ù±¾¸ÅÄî£¬ËæºóÏêϸ½éÉÜÁË FileNet Content EngineÌṩµÄ»ùÓÚ EJB ......

java ¾²Ì¬´úÂë¿é

                      £¨Ò»£©java ¾²Ì¬´úÂë¿é ¾²Ì¬·½·¨Çø±ð
Ò»°ãÇé¿öÏÂ,Èç¹ûÓÐЩ´úÂë±ØÐëÔÚÏîÄ¿Æô¶¯µÄʱºò¾ÍÖ´ÐеÄʱºò,ÐèҪʹÓþ²Ì¬´úÂë¿é,ÕâÖÖ´úÂëÊÇÖ÷¶¯Ö´ÐеÄ;ÐèÒªÔÚÏîÄ¿Æô¶¯µÄʱºò¾Í³õʼ»¯,ÔÚ²»´´½¨¶ÔÏ ......

JavaÖи÷ÀàCache»úÖÆÊµÏÖ½â¾ö·½°¸

ÔÚJavaÖУ¬²»Í¬µÄÀà¶¼ÓÐ×Ô¼ºµ¥¶ÀµÄCache»úÖÆ£¬ÊµÏֵķ½·¨Ò²¿ÉÄÜÓÐËù²»Í¬£¬ÎÄÕÂÁоÙÁËJavaÖг£¼ûµÄ¸÷ÀàCache»úÖÆµÄʵÏÖ·½·¨£¬Í¬Ê±½øÐÐÁË×ۺϵıȽϡ£
OSCache
OSCacheÊǸöÒ»¸ö¹ã·º²ÉÓõĸßÐÔÄܵÄJava EE»º´æ¿ò¼Ü£¬OSCacheÄÜÓÃÓÚÈκÎJavaÓ¦ÓóÌÐòµÄÆÕͨµÄ»º´æ½â¾ö·½°¸¡£
OSCacheÓÐÒÔÏÂÌØµã£º»º´æÈκζÔÏó£¬Äã¿ÉÒÔ²»ÊÜÏÞÖÆµ ......

Javaµ÷ÓÃSybase´æ´¢¹ý³Ì

ÕªÖÁSybase¹ÙÍø:
The caller( ) method calls the stored procedure inoutproc:
create proc inoutproc @id int, @newname varchar(50), @newhome Address,
@oldname varchar(50) output, @oldhome Address output as

select @oldname = name, @oldhome = home from xmp where id=@id
update xmp set name ......

javaÓëģʽ ¶ÁÊé±Ê¼Ç£¨×ªÔØ£©

ÖйúÊÇÒ»¸öº¬ÐîµÄÃñ×壬´¦¶ÔÏóÒ»°ã¶¼µÃͨ¹ýÒ»¸ö½éÉÜÈË¡£
ÕâÊÇÒ»±¾²ûÊö΢¹ÛÉè¼ÆµÄÊ飬¶ø²»ÊDzûÊöºê¹ÛÉè¼ÆµÄÊé¡£
¡¶JavaÓëģʽ¡·Ê×ÏȲûÊöÁË´úÂëµÄÉè¼ÆÔ­Ôò£¬ÓÖÃèÊöÁËÔõÑùÀ´´´½¨Ò»¸öÀà»ò¶ÔÏ󣬽ô½ÓןæËß´ó¼ÒÔõÑùÀ´×éÖ¯ÕâЩÀàºÍ¶ÔÏóÀ´ÊµÏÖ¹¦ÄÜ¡£ËüÊÇÉè¼ÆÄ£Ê½£¬¶ø²»ÊǼܹ¹Ä£Ê½¡£
OO
ÃæÏò¶ÔÏó±à³Ì£¬ÊµÖÊÉÏÊÇÃæÏò³éÏó±à³Ì£¬¼´ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ