🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: pobieranie nula z hashmapy

#141709
From: Matt Z
Date: Thu, 16 Oct 2008 10:15
23 lines
1226 bytes
pluton pisze:
> Witam,

witam

> Mam hashMap<String,Double> i pobieram
> iloraz=hmFiles.get(key);

no i fajnie

> Problem w tym, że key nie istnieje. Jak zbadac
> 
> if (iloraz == null ) ?
> 
> (pokretnie to opisalem, ale mam nadzieje, ze wiadomo o co biega )

chyba nie. Co chcesz zbadać?


-- 
Pozdrawiam
Mateusz
http://na-jawie.blogspot.com
Technical Details
Message-ID: <gd7477$alt$1@news.onet.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!news.nask.pl!news.nask.org.pl!news.onet.pl!not-for-mail
References: <gd73pg$e1f$1@inews.gazeta.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!news.nask.pl!news.nask.org.pl!news.onet.pl!not-for-mail
From: Matt Z <matt_z@op.usun.koncowkie.pl>
Newsgroups: pl.comp.lang.java
Subject: Re: pobieranie nula z hashmapy
Date: Thu, 16 Oct 2008 12:15:03 +0200
Organization: Onet.pl
Lines: 23
Message-ID: <gd7477$alt$1@news.onet.pl>
References: <gd73pg$e1f$1@inews.gazeta.pl>
NNTP-Posting-Host: ip-89.171.87.200.static.crowley.pl
Mime-Version: 1.0
X-Trace: news.onet.pl 1224152104 10941 89.171.87.200 (16 Oct 2008 10:15:04 GMT)
X-Complaints-To: usenet@news.onet.pl
NNTP-Posting-Date: Thu, 16 Oct 2008 10:15:04 +0000 (UTC)
X-Sender: YTv3BAtj2/mw+n9NzwvQkw==
In-Reply-To: <gd73pg$e1f$1@inews.gazeta.pl>
User-Agent: Thunderbird 2.0.0.17 (X11/20080925)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit