int to char

Hello,How can I convert an int variable representing a character to a char variable?Thanks.
[112 byte] By [JavaWisdoma] at [2007-10-1 7:12:34]
# 1
You try casting?
Adeodatusa at 2007-7-9 18:19:16 > top of Java-index,Java Essentials,Java Programming...
# 2
Your question is ambiguious since you don't define a mapping from integers to chars but it may be as simple aschar yourIntegerAsChar = (char)yourInteger;
sabre150a at 2007-7-9 18:19:16 > top of Java-index,Java Essentials,Java Programming...
# 3

> Your question is ambiguious since you don't define a

> mapping from integers to chars but it may be as simple as

>

> char yourIntegerAsChar = (char)yourInteger;

Shouldn't you be working on that humongous two's complement application? ;-)

kind regards,

Jos

JosAHa at 2007-7-9 18:19:16 > top of Java-index,Java Essentials,Java Programming...
# 4
> Shouldn't you be working on that humongous two's> complement application? ;-)I'm well ahead of my self imposed deadline and I felt the need for a break!
sabre150a at 2007-7-9 18:19:16 > top of Java-index,Java Essentials,Java Programming...
# 5

> > Shouldn't you be working on that humongous two's complement application? ;-)

>

> I'm well ahead of my self imposed deadline and I felt the need for a break!

Ok, granted, but only if you're definitely absolutely positively sure that that jdbc

connection pooling scheme is two's complement compatible ;-)

kind regards,

Jos (multi tier two's complement project manager)

JosAHa at 2007-7-9 18:19:16 > top of Java-index,Java Essentials,Java Programming...
# 6

> Ok, granted, but only if you're definitely absolutely

> positively sure that that jdbc

> connection pooling scheme is two's complement

> compatible ;-)

I'm using the Snark approach as defined by Lewis and Caroll. I then don't require a two's complement connection pool. I can make do with one's complement which, as you are aware, has no negative connotation.

sabre150a at 2007-7-9 18:19:16 > top of Java-index,Java Essentials,Java Programming...
# 7

> > Ok, granted, but only if you're definitely

> absolutely

> > positively sure that that jdbc

> > connection pooling scheme is two's complement

> > compatible ;-)

>

> I'm using the Snark approach as defined by Lewis and

> Caroll. I then don't require a two's complement

> connection pool. I can make do with one's complement

> which, as you are aware, has no negative connotation.

Uh, I think that is the Lewis and Clark approach, defined by their native American guide, Jabberwocky, as they approached the Pacific Ocean.

Get it straight.

World spins

RD-R

?{?

sharkuraa at 2007-7-9 18:19:16 > top of Java-index,Java Essentials,Java Programming...
# 8

> > > Ok, granted, but only if you're definitely absolutely

> > > positively sure that that jdbc

> > > connection pooling scheme is two's complement

> > > compatible ;-)

> >

> > I'm using the Snark approach as defined by Lewis and

> > Caroll. I then don't require a two's complement

> > connection pool. I can make do with one's complement

> > which, as you are aware, has no negative connotation.

>

> Uh, I think that is the Lewis and Clark

> approach, defined by their native American guide,

> Jabberwocky, as they approached the Pacific Ocean.

>

> Get it straight.

Nononono; you must get it straight: as everybody well knows the Lewis/Clark

approach suffers from negative zeros in their one complement scheme; that's

why the latest JTCAPI abondoned it in their final draft proposed at the JCP#56632

sabre and I are right and you are dead wrong; so there :-P

kind regards,

Jos

JosAHa at 2007-7-9 18:19:16 > top of Java-index,Java Essentials,Java Programming...
# 9

> Nononono; you must get it straight: as everybody well

> knows the Lewis/Clark

> approach suffers from negative zeros in their one

> complement scheme; that's

> why the latest JTCAPI abondoned it in their final

> draft proposed at the JCP#56632

>

> sabre and I are right and you are dead wrong; so

> there :-P

>

> kind regards,

>

> Jos

I'll never never never never never never never believe you, no matter how many times you **** oligarchs post the truth, no matter how many times you back it up with supporting references. NA NA NA NA NA NA NA I CAN'T HEEEAAAR YOUUUU!

World spins

RD-R

?{?

sharkuraa at 2007-7-9 18:19:16 > top of Java-index,Java Essentials,Java Programming...
# 10

> I'll never never never never never never never believe you, no matter how many

> times you **** oligarchs post the truth, no matter how many times you back it

> up with supporting references. NA NA NA NA NA NA NA I CAN'T HEEEAAAR YOUUUU!

How typical; just wait 'till Sabre finishes his multi-tier, multi-user, multi-threaded,

pre-emptive, highly scalable two's complement operating system wrapper.

It'll be finished this Tuesday morning; under my strict supervision that is :-P

kind regards,

Jos (project manager)

JosAHa at 2007-7-9 18:19:16 > top of Java-index,Java Essentials,Java Programming...
# 11
> It'll be finished this Tuesday morning; under my> strict supervision that is :-PTypical project manager! Ready to take all the credit if I succeed but I bet I get the blame if I fail!
sabre150a at 2007-7-9 18:19:16 > top of Java-index,Java Essentials,Java Programming...
# 12
Just a thought. Should one write two's complement, twos complement or twos' complement? All seem wrong!
sabre150a at 2007-7-9 18:19:16 > top of Java-index,Java Essentials,Java Programming...
# 13

> > It'll be finished this Tuesday morning; under my strict supervision that is :-P

>

> Typical project manager! Ready to take all the credit if I succeed but I bet I get the blame if I fail!

Nononono, don't be afraid; I'm different, i.e. if you don't fail I take the blame and

if you don't succeed you can have all the credit. And vice versa of course ;-)

Now chopchop, we both have work to do, I need my power point presentation

to be finished by this Tuesday morning too you know! ;-)

kind regards,

Jos (new age project people manager)

JosAHa at 2007-7-9 18:19:16 > top of Java-index,Java Essentials,Java Programming...
# 14
> Just a thought. Should one write two's complement,> twos complement or twos' complement? All seem wrong!After further thought. Since it can be thought of as possessive (belonging to two) it is probably two's.
sabre150a at 2007-7-9 18:19:16 > top of Java-index,Java Essentials,Java Programming...
# 15

> > Just a thought. Should one write two's complement,

> > twos complement or twos' complement? All seem

> wrong!

>

> After further thought. Since it can be thought of as

> possessive (belonging to two) it is probably two's.

The majority of Google's (sic) hits came up with "two's complement" or "2's complement".

An incidental "twos complement" was just a minority. It, indeed, is the genitivus

the 'belonging to' form, hence the apostrophe-s form.

kind regards,

Jo's'

JosAHa at 2007-7-20 4:38:24 > top of Java-index,Java Essentials,Java Programming...
# 16

> > > Just a thought. Should one write two's

> complement,

> > > twos complement or twos' complement? All seem

> > wrong!

> >

> > After further thought. Since it can be thought of

> as

> > possessive (belonging to two) it is probably

> two's.

>

> The majority of Google's (sic) hits came up with

> "two's complement" or "2's complement".

> An incidental "twos complement" was just a minority.

> It, indeed, is the genitivus

> the 'belonging to' form, hence the apostrophe-s

> form.

>

> kind regards,

>

> Jo's'

Well, we'll just see what Strunk and White has to say about that!

World spins

RD-R

{

sharkuraa at 2007-7-20 4:38:24 > top of Java-index,Java Essentials,Java Programming...
# 17
> > It, indeed, is the genitivus> Well, we'll just see what Strunk and White has to say about that!Them Whunk and Strike folks know where they can stick their opinion! :-Pkind regards,Jos's
JosAHa at 2007-7-20 4:38:24 > top of Java-index,Java Essentials,Java Programming...