|
JavaTM Platform Standard Ed. 6 |
|||||||||
Á°¤Î¥¯¥é¥¹ ¼¡¤Î¥¯¥é¥¹ | ¥Õ¥ì¡¼¥à¤¢¤ê ¥Õ¥ì¡¼¥à¤Ê¤· | |||||||||
³µÍ×: Æþ¤ì»Ò | ¥Õ¥£¡¼¥ë¥É | ¥³¥ó¥¹¥È¥é¥¯¥¿ | ¥á¥½¥Ã¥É | ¾ÜºÙ: ¥Õ¥£¡¼¥ë¥É | ¥³¥ó¥¹¥È¥é¥¯¥¿ | ¥á¥½¥Ã¥É |
public interface Serializable
¥¯¥é¥¹¤ÎľÎó²½²ÄǽÀ¤Ï¡¢java.io.Serializable ¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤ò¼ÂÁõ¤¹¤ë¥¯¥é¥¹¤Ë¤è¤Ã¤Æ͸ú¤Ë¤Ê¤ê¤Þ¤¹¡£¤³¤Î¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤ò¼ÂÁõ¤·¤Æ¤¤¤Ê¤¤¥¯¥é¥¹¤Ç¤Ï¡¢¤½¤Î¾õÂÖ¤¬Ä¾Î󲽤ޤ¿¤ÏľÎó²½Éü¸µ¤µ¤ì¤ë¤³¤È¤Ï¤¢¤ê¤Þ¤»¤ó¡£Ä¾Îó²½²Äǽ¥¯¥é¥¹¤Î¥µ¥Ö¥¿¥¤¥×¤Ï¡¢¤¹¤Ù¤Æ¤½¤ì¼«ÂΤ¬Ä¾Îó²½²Äǽ¤Ç¤¹¡£Ä¾Îó²½¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤Ï¥á¥½¥Ã¥É¤Þ¤¿¤Ï¥Õ¥£¡¼¥ë¥É¤¬¤Ê¤¯¡¢Ä¾Îó²½²Äǽ¤Ç¤¢¤ë¤È¤¤¤¦°ÕÌ£¤ò¼±Ê̤¹¤ëµ¡Ç½¤À¤±¤òÈ÷¤¨¤Æ¤¤¤Þ¤¹¡£
ÈóľÎó²½²Äǽ¥¯¥é¥¹¤Î¥µ¥Ö¥¿¥¤¥×¤òľÎó²½²Äǽ¤Ë¤¹¤ë¤¿¤á¤Ë¡¢¥¹¡¼¥Ñ¡¼¥¿¥¤¥×¤Î public ¥Õ¥£¡¼¥ë¥É¡¢protected ¥Õ¥£¡¼¥ë¥É¡¢¤ª¤è¤Ó¥¢¥¯¥»¥¹²Äǽ¤Ê¾ì¹ç¤Ï package ¥Õ¥£¡¼¥ë¥É¤Î¾õÂÖ¤òÊݸ¤ª¤è¤ÓÉü¸µ¤¹¤ëÌò³ä¤ò¥µ¥Ö¥¿¥¤¥×¤¬Ã´¤¦¤³¤È¤¬¤Ç¤¤Þ¤¹¡£¤¿¤À¤·¡¢¥µ¥Ö¥¿¥¤¥×¤¬¤³¤ÎÌò³ä¤òô¤¦¤³¤È¤¬¤Ç¤¤ë¤Î¤Ï¡¢¥µ¥Ö¥¿¥¤¥×¤Ë¤è¤Ã¤Æ³ÈÄ¥¤µ¤ì¤ë¥¯¥é¥¹¤Ë¡¢¥¯¥é¥¹¤Î¾õÂÖ¤ò½é´ü²½¤¹¤ë¤¿¤á¤Î°ú¿ô¤Ê¤·¤Î¥¢¥¯¥»¥¹²Äǽ¤Ê¥³¥ó¥¹¥È¥é¥¯¥¿¤¬¤¢¤ë¾ì¹ç¤À¤±¤Ç¤¹¡£¤½¤¦¤Ç¤Ê¤¤¾ì¹ç¤ËľÎó²½²Äǽ¥¯¥é¥¹¤òÀë¸À¤¹¤ë¤È¥¨¥é¡¼¤Ë¤Ê¤ê¤Þ¤¹¡£¥¨¥é¡¼¤Ï¼Â¹Ô»þ¤Ë¸¡½Ð¤µ¤ì¤Þ¤¹¡£
ľÎó²½Éü¸µ¤ÎºÝ¤Ï¡¢ÈóľÎó²½²Äǽ¥¯¥é¥¹¤Î¥Õ¥£¡¼¥ë¥É¤Ï¡¢¤½¤Î¥¯¥é¥¹¤Î public ¤Þ¤¿¤Ï protected ¤Î°ú¿ô¤Ê¤·¤Î¥³¥ó¥¹¥È¥é¥¯¥¿¤ò»È¤Ã¤Æ½é´ü²½¤µ¤ì¤Þ¤¹¡£°ú¿ô¤Ê¤·¤Î¥³¥ó¥¹¥È¥é¥¯¥¿¤Ï¡¢Ä¾Îó²½²Äǽ¥µ¥Ö¥¯¥é¥¹¤«¤é¥¢¥¯¥»¥¹²Äǽ¤Ç¤¢¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£Ä¾Îó²½²Äǽ¥µ¥Ö¥¯¥é¥¹¤Î¥Õ¥£¡¼¥ë¥É¤Ï¡¢¥¹¥È¥ê¡¼¥à¤«¤éÉü¸µ¤µ¤ì¤Þ¤¹¡£
¥°¥é¥Õ¤Î½ä²óÃæ¤Ë¡¢Ä¾Îó²½²Äǽ¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Ê¤¤¥ª¥Ö¥¸¥§¥¯¥È¤ËÁø¶ø¤¹¤ë¤³¤È¤¬¤¢¤ê¤Þ¤¹¡£¤³¤Î¾ì¹ç¤Ï¡¢NotSerializableException ¤¬¥¹¥í¡¼¤µ¤ì¡¢¤³¤ÎÎã³°¤Ë¤è¤Ã¤ÆÈóľÎó²½²Äǽ¥ª¥Ö¥¸¥§¥¯¥È¤Î¥¯¥é¥¹¤¬ÆÃÄꤵ¤ì¤Þ¤¹¡£
ľÎ󲽤ÈľÎó²½Éü¸µ¤ÎºÝ¤ËÆüì¤Ê°·¤¤¤¬É¬Íפʥ¯¥é¥¹¤Ç¤Ï¡¢Àµ³Î¤Ë¼¡¤Î¤è¤¦¤Ê¥·¥°¥Ë¥Á¥ã¡¼¤ò»ý¤ÄÆüì¤Ê¥á¥½¥Ã¥É¤ò¼ÂÁõ¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£
private void writeObject(java.io.ObjectOutputStream out) throws IOException private void readObject(java.io.ObjectInputStream in) throws IOException, ClassNotFoundException; private void readObjectNoData() throws ObjectStreamException;
writeObject ¥á¥½¥Ã¥É¤Ï¡¢¤½¤ÎÆÃÄê¤Î¥¯¥é¥¹¤Î¥ª¥Ö¥¸¥§¥¯¥È¤Î¾õÂÖ¤ò½ñ¤¹þ¤ó¤Ç¡¢Âбþ¤¹¤ë readObject ¥á¥½¥Ã¥É¤¬¥ª¥Ö¥¸¥§¥¯¥È¤Î¾õÂÖ¤òÉü¸µ¤Ç¤¤ë¤è¤¦¤Ë¤¹¤ëÌò³ä¤òô¤¤¤Þ¤¹¡£out.defaultWriteObject ¤ò¸Æ¤Ó½Ð¤¹¤³¤È¤Ë¤è¤Ã¤Æ¡¢¥ª¥Ö¥¸¥§¥¯¥È¤Î¥Õ¥£¡¼¥ë¥É¤òÊݸ¤¹¤ë¤¿¤á¤Î¥Ç¥Õ¥©¥ë¥È¤Îµ¡¹½¤ò¸Æ¤Ó½Ð¤¹¤³¤È¤¬¤Ç¤¤Þ¤¹¡£¤³¤Î¥á¥½¥Ã¥É¤Ï¡¢¤½¤Î¥¹¡¼¥Ñ¡¼¥¯¥é¥¹¤ä¥µ¥Ö¥¯¥é¥¹¤Ë°¤¹¤ë¾õÂ֤˴ØÍ¿¤¹¤ëɬÍפϤ¢¤ê¤Þ¤»¤ó¡£¾õÂÖ¤òÊݸ¤¹¤ë¤Ë¤Ï¡¢writeObject ¥á¥½¥Ã¥É¤ò»È¤Ã¤Æ¸Ä¡¹¤Î¥Õ¥£¡¼¥ë¥É¤ò ObjectOutputStream ¤Ë½ñ¤¹þ¤à¤«¡¢¤Þ¤¿¤Ï DataOutput ¤¬¥µ¥Ý¡¼¥È¤¹¤ë´ðËܥǡ¼¥¿·¿ÍѤΥ᥽¥Ã¥É¤ò»ÈÍѤ·¤Þ¤¹¡£
readObject ¥á¥½¥Ã¥É¤Ï¡¢¥¹¥È¥ê¡¼¥à¤«¤é¤ÎÆɤ߹þ¤ß¤È¥¯¥é¥¹¥Õ¥£¡¼¥ë¥É¤ÎÉü¸µ¤ò¹Ô¤¦Ìò³ä¤òô¤¤¤Þ¤¹¡£¤³¤Î¥á¥½¥Ã¥É¤Ï¡¢in.defaultReadObject ¥á¥½¥Ã¥É¤ò¸Æ¤Ó½Ð¤·¤Æ¡¢¥ª¥Ö¥¸¥§¥¯¥È¤ÎÈó static ¥Õ¥£¡¼¥ë¥É¤ª¤è¤ÓÈó transient ¥Õ¥£¡¼¥ë¥É¤òÉü¸µ¤¹¤ë¤¿¤á¤Î¥Ç¥Õ¥©¥ë¥È¤Îµ¡¹½¤ò¸Æ¤Ó½Ð¤¹¤³¤È¤¬¤Ç¤¤Þ¤¹¡£defaultReadObject ¥á¥½¥Ã¥É¤Ï¡¢¥¹¥È¥ê¡¼¥à¤Î¾ðÊó¤ò»ÈÍѤ·¤Æ¡¢¸½ºß¤Î¥ª¥Ö¥¸¥§¥¯¥ÈÆâ¤ÇÂбþ¤¹¤ë¤è¤¦¤Ë»ØÄꤵ¤ì¤¿¥Õ¥£¡¼¥ë¥É¤È¤È¤â¤Ë¡¢¥¹¥È¥ê¡¼¥à¤ËÊݸ¤µ¤ì¤Æ¤¤¤ë¥ª¥Ö¥¸¥§¥¯¥È¤Î¥Õ¥£¡¼¥ë¥É¤ò³ä¤êÅö¤Æ¤Þ¤¹¡£¤³¤ì¤Ç¡¢¿·¤·¤¤¥Õ¥£¡¼¥ë¥É¤òÄɲäǤ¤ë¤è¤¦¤Ë¥¯¥é¥¹¤¬³ÈÄ¥¤µ¤ì¤ë¥±¡¼¥¹¤¬½èÍý¤µ¤ì¤Þ¤¹¡£¤³¤Î¥á¥½¥Ã¥É¤Ï¡¢¤½¤Î¥¹¡¼¥Ñ¡¼¥¯¥é¥¹¤ä¥µ¥Ö¥¯¥é¥¹¤Ë°¤¹¤ë¾õÂ֤˴ØÍ¿¤¹¤ëɬÍפϤ¢¤ê¤Þ¤»¤ó¡£¾õÂÖ¤òÊݸ¤¹¤ë¤Ë¤Ï¡¢writeObject ¥á¥½¥Ã¥É¤ò»È¤Ã¤Æ¸Ä¡¹¤Î¥Õ¥£¡¼¥ë¥É¤ò ObjectOutputStream ¤Ë½ñ¤¹þ¤à¤«¡¢¤Þ¤¿¤Ï DataOutput ¤¬¥µ¥Ý¡¼¥È¤¹¤ë´ðËܥǡ¼¥¿·¿ÍѤΥ᥽¥Ã¥É¤ò»ÈÍѤ·¤Þ¤¹¡£
readObjectNoData ¥á¥½¥Ã¥É¤Ï¡¢¤¢¤ë¥¯¥é¥¹¤¬Ä¾Îó²½Éü¸µ¤µ¤ì¤ë¥ª¥Ö¥¸¥§¥¯¥È¤Î¥¹¡¼¥Ñ¡¼¥¯¥é¥¹¤È¤·¤ÆľÎó²½¥¹¥È¥ê¡¼¥à¤Ë»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤¤È¤¤Ë¡¢¤½¤Î¥¯¥é¥¹¤Ë¤Ä¤¤¤Æ¤½¤Î¥ª¥Ö¥¸¥§¥¯¥È¤Î¾õÂÖ¤ò½é´ü²½¤·¤Þ¤¹¡£¤³¤ì¤Ï¡¢¼õ¤±¼è¤ê¦¤¬¡¢Á÷¤ê¦¤È¤Ï°Û¤Ê¤ë¥Ð¡¼¥¸¥ç¥ó¤ÎľÎó²½Éü¸µ¤µ¤ì¤¿¥¤¥ó¥¹¥¿¥ó¥¹¤Î¥¯¥é¥¹¤ò»ÈÍѤ·¡¢¼õ¤±¼è¤ê¦¤Î¥Ð¡¼¥¸¥ç¥ó¤¬Á÷¤ê¦¤Î¥Ð¡¼¥¸¥ç¥ó¤Ë¤è¤Ã¤Æ·Ñ¾µ¤µ¤ì¤Ê¤¤¥¯¥é¥¹¤ò·Ñ¾µ¤¹¤ë¾ì¹ç¤ËȯÀ¸¤¹¤ë²ÄǽÀ¤¬¤¢¤ê¤Þ¤¹¡£¤Þ¤¿¡¢Ä¾Îó²½¥¹¥È¥ê¡¼¥à¤¬²þÊѤµ¤ì¤¿¾ì¹ç¤Ë¤âȯÀ¸¤¹¤ë¤³¤È¤¬¤¢¤ê¤Þ¤¹¡£¤·¤¿¤¬¤Ã¤Æ¡¢readObjectNoData ¤Ï¡¢¡Ö°°Õ¤Î¤¢¤ë¡×¤Þ¤¿¤ÏÉÔÀµ¤Ê¥½¡¼¥¹¥¹¥È¥ê¡¼¥à¤Ç¤¢¤Ã¤Æ¤â¡¢Ä¾Îó²½Éü¸µ¤µ¤ì¤¿¥ª¥Ö¥¸¥§¥¯¥È¤òÀµ¤·¤¯½é´ü²½¤¹¤ë¤Î¤ËÌòΩ¤Á¤Þ¤¹¡£
¥¹¥È¥ê¡¼¥à¤Ë¥ª¥Ö¥¸¥§¥¯¥È¤ò½ñ¤¹þ¤à¤È¤¤Ë»È¤¦ÂåÂØ¥ª¥Ö¥¸¥§¥¯¥È¤ò»ØÄꤹ¤ëɬÍפ¬¤¢¤ëľÎó²½²Äǽ¥¯¥é¥¹¤Ç¤Ï¡¢¼¡¤Î¥·¥°¥Ë¥Á¥ã¡¼¤òÀµ³Î¤Ë»ØÄꤷ¤Æ¡¢¤³¤ÎÆÃÊ̤ʥ᥽¥Ã¥É¤ò¼ÂÁõ¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£
ANY-ACCESS-MODIFIER Object writeReplace() throws ObjectStreamException;
¤³¤Î writeReplace ¥á¥½¥Ã¥É¤¬Ä¾Î󲽤ˤè¤Ã¤Æ¸Æ¤Ó½Ð¤µ¤ì¤ë¤Î¤Ï¡¢Â¸ºß¤·¤Æ¤¤¤Æ¡¢¤·¤«¤âľÎ󲽤µ¤ì¤ë¥ª¥Ö¥¸¥§¥¯¥È¤Î¥¯¥é¥¹Æâ¤ÇÄêµÁ¤µ¤ì¤Æ¤¤¤ë¥á¥½¥Ã¥É¤«¤é¥¢¥¯¥»¥¹²Äǽ¤Ê¾ì¹ç¤Ç¤¹¡£¤½¤Î¤¿¤á¡¢¤³¤Î¥á¥½¥Ã¥É¤Ç¤Ï¡¢private¡¢protected¡¢¤ª¤è¤Ó package-private ¤Ç¥¢¥¯¥»¥¹¤¹¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¡£¤³¤Î¥á¥½¥Ã¥É¤ËÂФ¹¤ë¥µ¥Ö¥¯¥é¥¹¤Î¥¢¥¯¥»¥¹¤Ï¡¢java ¤Î¥¢¥¯¥»¥¹²ÄǽÀµ¬Â§¤Ë½àµò¤·¤Þ¤¹¡£
ÂåÂØ¥ª¥Ö¥¸¥§¥¯¥È¤Î¥¤¥ó¥¹¥¿¥ó¥¹¤ò¥¹¥È¥ê¡¼¥à¤«¤éÆɤ߹þ¤à¤È¤¤Ë¤½¤Î¥ª¥Ö¥¸¥§¥¯¥È¤ò»ØÄꤹ¤ëɬÍפΤ¢¤ë¥¯¥é¥¹¤Ç¤Ï¡¢¼¡¤Î¥·¥°¥Ë¥Á¥ã¡¼¤òÀµ³Î¤Ë»ØÄꤷ¤Æ¡¢¤³¤ÎÆÃÊ̤ʥ᥽¥Ã¥É¤ò¼ÂÁõ¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£
ANY-ACCESS-MODIFIER Object readResolve() throws ObjectStreamException;
¤³¤Î readResolve ¥á¥½¥Ã¥É¤Ï¡¢writeReplace ¤ÈƱ¤¸¸Æ¤Ó½Ð¤·µ¬Â§¤È¥¢¥¯¥»¥¹²ÄǽÀµ¬Â§¤Ë½àµò¤·¤Þ¤¹¡£
ľÎó²½¥é¥ó¥¿¥¤¥à¤Ï¡¢³ÆľÎó²½²Äǽ¥¯¥é¥¹¤Ë¥Ð¡¼¥¸¥ç¥óÈÖ¹æ serialVersionUID ¤ò´ØÏ¢ÉÕ¤±¤Þ¤¹¡£¤³¤ì¤Ï¡¢Ä¾Îó²½Éü¸µÃæ¤Ë¡¢Ä¾Îó²½¥ª¥Ö¥¸¥§¥¯¥È¤ÎÁ÷¿®Â¦¤È¼õ¿®Â¦¤¬¡¢Ä¾Î󲽤˴ؤ·¤Æ¸ß´¹À¤Î¤¢¤ë¥ª¥Ö¥¸¥§¥¯¥È¤Î¥¯¥é¥¹¤ò¥í¡¼¥É¤·¤¿¤«¤É¤¦¤«¤ò³Îǧ¤¹¤ë¤¿¤á¤Ë»È¤ï¤ì¤Þ¤¹¡£Âбþ¤¹¤ëÁ÷¿®Â¦¤Î¥¯¥é¥¹¤È¤Ï°Û¤Ê¤ë serialVersionUID ¤ò»ý¤Ä¥ª¥Ö¥¸¥§¥¯¥È¤Î¥¯¥é¥¹¤ò¼õ¿®Â¦¤¬¥í¡¼¥É¤·¤¿¾ì¹ç¡¢Ä¾Îó²½Éü¸µ¤Ç¤Ï InvalidClassException
¤¬È¯À¸¤·¤Þ¤¹¡£¥Õ¥£¡¼¥ë¥É̾ "serialVersionUID"
¤òÀë¸À¤¹¤ë¤³¤È¤Ë¤è¤Ã¤Æ¡¢Ä¾Îó²½²Äǽ¥¯¥é¥¹¤ÏÆȼ«¤Î serialVersionUID ¤òÌÀ¼¨Åª¤ËÀë¸À¤Ç¤¤Þ¤¹¡£¤³¤Î¥Õ¥£¡¼¥ë¥É̾¤Ï¡¢¼¡¤Î¤è¤¦¤Ë static¡¢final¡¢¤ª¤è¤Ó long
·¿¤Ç¤¢¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£
ANY-ACCESS-MODIFIER static final long serialVersionUID = 42L;ľÎó²½²Äǽ¥¯¥é¥¹¤¬ serialVersionUID ¤òÌÀ¼¨Åª¤ËÀë¸À¤·¤Ê¤¤¾ì¹ç¡¢Ä¾Îó²½¥é¥ó¥¿¥¤¥à¤Ï¡ÖJava(TM) ¥ª¥Ö¥¸¥§¥¯¥ÈľÎó²½»ÅÍ͡פÇÀâÌÀ¤µ¤ì¤Æ¤¤¤ë¤è¤¦¤Ë¡¢¥¯¥é¥¹¤Î¤µ¤Þ¤¶¤Þ¤Ê¦Ì̤˴ð¤Å¤¤¤Æ¡¢¥¯¥é¥¹¤Î serialVersionUID ¤Î¥Ç¥Õ¥©¥ë¥ÈÃͤò·×»»¤·¤Þ¤¹¡£¤¿¤À¤·¡¢¤¹¤Ù¤Æ¤ÎľÎó²½²Äǽ¥¯¥é¥¹¤¬ serialVersionUID ÃͤòÌÀ¼¨Åª¤ËÀë¸À¤¹¤ë¤³¤È¤ò¶¯¤¯¤ª´«¤á¤·¤Þ¤¹¡£¤³¤ì¤Ï¡¢¥Ç¥Õ¥©¥ë¥È¤Î serialVersionUID ¤Î·×»»¤¬¡¢¥³¥ó¥Ñ¥¤¥é¤Î¼ÂÁõ¤Ë¤è¤Ã¤Æ°Û¤Ê¤ë²ÄǽÀ¤Î¤¢¤ë¥¯¥é¥¹¤Î¾ÜºÙ¤Ë¤¤ï¤á¤Æ±Æ¶Á¤ò¼õ¤±¤ä¤¹¤¯¡¢Ä¾Îó²½Éü¸µÃæ¤Ëͽ´ü¤·¤Ê¤¤
InvalidClassException
¤¬È¯À¸¤¹¤ë²ÄǽÀ¤¬¤¢¤ë¤¿¤á¤Ç¤¹¡£¤·¤¿¤¬¤Ã¤Æ¡¢java ¥³¥ó¥Ñ¥¤¥é¤Î¼ÂÁõ¤¬°Û¤Ê¤Ã¤Æ¤â serialVersionUID Ãͤΰì´ÓÀ¤ò³ÎÊݤˤ¹¤ë¤Ë¤Ï¡¢Ä¾Îó²½²Äǽ¥¯¥é¥¹¤¬ serialVersionUID ÃͤòÌÀ¼¨Åª¤ËÀë¸À¤·¤Ê¤±¤ì¤Ð¤¤¤±¤Þ¤»¤ó¡£¤Þ¤¿¡¢serialVersionUID ¤ÎÌÀ¼¨Åª¤ÊÀë¸À¤Ç¤Ï private
½¤¾þ»Ò¤ò»ÈÍѤ¹¤ë¤³¤È¤ò¶¯¤¯¤ª´«¤á¤·¤Þ¤¹¡£¤³¤Î¤è¤¦¤ÊÀë¸À¤ÏľÀÜŪ¤ËÀë¸À¤¹¤ë¥¯¥é¥¹¤Ë¤Î¤ßŬÍѤµ¤ì¤ë¤¿¤á¤Ç¤¹¡£¤Ä¤Þ¤ê¡¢serialVersionUID ¥Õ¥£¡¼¥ë¥É¤Ï·Ñ¾µ¤µ¤ì¤ë¥á¥ó¥Ð¡¼¤Î¤è¤¦¤Ë»È¤¤¤ä¤¹¤¯¤¢¤ê¤Þ¤»¤ó¡£ÇÛÎ󥯥饹¤Ï serialVersionUID ¤òÌÀ¼¨Åª¤ËÀë¸À¤Ç¤¤Ê¤¤¤¿¤á¡¢¾ï¤Ë¥Ç¥Õ¥©¥ë¥È¤Î·×»»Ãͤò»ý¤Á¤Þ¤¹¤¬¡¢ÇÛÎ󥯥饹¤Ë´Ø¤·¤Æ¤Ï serialVersionUID ÃͤΰìÃ×Í×·ï¤ÏŬÍѤµ¤ì¤Þ¤»¤ó¡£
ObjectOutputStream
,
ObjectInputStream
,
ObjectOutput
,
ObjectInput
,
Externalizable
|
JavaTM Platform Standard Ed. 6 |
|||||||||
Á°¤Î¥¯¥é¥¹ ¼¡¤Î¥¯¥é¥¹ | ¥Õ¥ì¡¼¥à¤¢¤ê ¥Õ¥ì¡¼¥à¤Ê¤· | |||||||||
³µÍ×: Æþ¤ì»Ò | ¥Õ¥£¡¼¥ë¥É | ¥³¥ó¥¹¥È¥é¥¯¥¿ | ¥á¥½¥Ã¥É | ¾ÜºÙ: ¥Õ¥£¡¼¥ë¥É | ¥³¥ó¥¹¥È¥é¥¯¥¿ | ¥á¥½¥Ã¥É |
Copyright 2009 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy ¤â»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£