🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: pobieranie nula z hashmapy

#141711
From: pluton
Date: Thu, 16 Oct 2008 11:22
27 lines
1702 bytes
>> No wlasnie czytalem tylko helpa :(
>
> a co to jest help? :)

no taki dziadowski podpowiadaczek.

>
>> A wogole to dla czystosci zmienilem double na Double i problem zniknal.
>
> Tylko pozornie :)
> jeszcze doczytaj dokladnie co jest napisane w dokumentcji metody get()
>

>  Returns null if the map contains no mapping for this key.

i to jest ok.

> A return value of null does not necessarily indicate that the map contains 
> no mapping for the key;
>it's also possible that the map explicitly maps the key to null.

a to mi nie grozi akurat, bo w mapie zbieram nazwy plikow i ich dlugosci..

dzieki
pozdrawiam
pluton
Technical Details
Message-ID: <gd785s$dcm$1@inews.gazeta.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail
References: <gd73pg$e1f$1@inews.gazeta.pl> <slrn.pl.gfe56l.gsc.usunto.brzezi@localhost.localdomain> <gd76j6$5tb$1@inews.gazeta.pl> <slrn.pl.gfe7l1.gsc.usunto.brzezi@localhost.localdomain>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail
From: "pluton" <zielonadupa@gazeta.pl>
Newsgroups: pl.comp.lang.java
Subject: Re: pobieranie nula z hashmapy
Date: Thu, 16 Oct 2008 13:22:56 +0200
Organization: "Portal Gazeta.pl -> http://www.gazeta.pl"
Lines: 29
Message-ID: <gd785s$dcm$1@inews.gazeta.pl>
References: <gd73pg$e1f$1@inews.gazeta.pl> <slrn.pl.gfe56l.gsc.usunto.brzezi@localhost.localdomain> <gd76j6$5tb$1@inews.gazeta.pl> <slrn.pl.gfe7l1.gsc.usunto.brzezi@localhost.localdomain>
NNTP-Posting-Host: 137.122.225.195.static.bait.pl
X-Trace: inews.gazeta.pl 1224156157 13718 195.225.122.137 (16 Oct 2008 11:22:37 GMT)
X-Complaints-To: usenet@agora.pl
NNTP-Posting-Date: Thu, 16 Oct 2008 11:22:37 +0000 (UTC)
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
X-Priority: 3
X-RFC2646: Format=Flowed; Original
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-User: zielonadupa
X-MSMail-Priority: Normal
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit