🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.java
Article #153884

Re: Po co jest interfejs Serializable?

#153884
From: Piotr Rezmer
Date: Tue, 17 Sep 2013 12:42
13 lines
1334 bytes
Borneq pisze:
> W Delphi było coś takiego jak klasa TPersistent, która umożliwiała
> trzymanie komponentów w DFM, tutaj w Javie nie ma formularzy, a poza tym
> interfejs Serializable jest całkiem pusty? Kiedy użyć Seiraliable do
> własnych klas?

Niektore interfejsy sa wykorzystywane wylacznie jako flaga. W tym 
przypadku oznaczasz dana klase jako taka ktora chcesz serializowac.

-- 
pozdrawiam
Piotr
XLR250&bmw_f650_dakar
Technical Details
Message-ID: <l19inn$crh$1@node2.news.atman.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!.POSTED!not-for-mail
References: <l198rv$2nt$1@node2.news.atman.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!.POSTED!not-for-mail
From: Piotr Rezmer <p.r@bezBzdur.pl>
Newsgroups: pl.comp.lang.java
Subject: Re: Po co jest interfejs Serializable?
Date: Tue, 17 Sep 2013 14:42:23 +0200
Organization: ATMAN - ATM S.A.
Lines: 13
Message-ID: <l19inn$crh$1@node2.news.atman.pl>
References: <l198rv$2nt$1@node2.news.atman.pl>
NNTP-Posting-Host: apn-77-113-31-25.dynamic.gprs.plus.pl
Mime-Version: 1.0
X-Trace: node2.news.atman.pl 1379421751 13169 77.113.31.25 (17 Sep 2013 12:42:31 GMT)
X-Complaints-To: usenet@atman.pl
NNTP-Posting-Date: Tue, 17 Sep 2013 12:42:31 +0000 (UTC)
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8
In-Reply-To: <l198rv$2nt$1@node2.news.atman.pl>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit