From: Vasyl Vavrychuk <vvavrychuk@gmail.com>
To: git@vger.kernel.org
Subject: jgit, MutableInteger vs AtomicInteger
Date: Tue, 25 Nov 2008 13:54:35 +0000 (UTC) [thread overview]
Message-ID: <loom.20081125T134459-650@post.gmane.org> (raw)
Hi,
I've just started browsing jgit sources and an obvious question arise.
I didn't found such question in mail list and decided to ask the community.
I don't see reason behind creating own mutable integer container because we
have java.util.concurrent.atomic.AtomicInteger with methods
public final int get()
public final void set(int i)
And that is what we want.
Regards,
V. V.
next reply other threads:[~2008-11-25 13:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-25 13:54 Vasyl Vavrychuk [this message]
2008-11-25 19:19 ` jgit, MutableInteger vs AtomicInteger Shawn O. Pearce
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=loom.20081125T134459-650@post.gmane.org \
--to=vvavrychuk@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.