I can't seem to find the nextVal method in
the StreamTokenizer class. What version of
Java are you refering to?
-----Original Message-----
From: Jason Carlamere [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 09, 2002 1:14 PM
To: JDJList
Subject: [jdjlist] Re: StreamTokenizer
just off the top of my head i would say
Obect value = st.nextVal();
if(value instanceof Integer)
return true;
if(value instanceof Float)
return true
"Saler, Jeff"
<jsaler To: JDJList <[EMAIL PROTECTED]>
@ball.com> cc:
Subject: [jdjlist] StreamTokenizer
05/09/2002
01:08 PM
Please
respond to
JDJList
Does anyone have an idea as to how to tell whether a number read using a
StreamTokenizer� (st.nval) is an integer or a floating-point number?
To change your membership options, refer to:
http://www.sys-con.com/java/list.cfm
To change your membership options, refer to:
http://www.sys-con.com/java/list.cfm
http://www.sys-con.com/java/list.cfm
