The Artima Developer Community
Sponsored Link

Java Answers Forum
2 quick ones

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
cBin

Posts: 13
Nickname: cbb
Registered: Mar, 2005

2 quick ones Posted: Mar 24, 2005 6:55 AM
Reply to this message Reply
Advertisement
does anyone know what e.consume(); does? e is an event.
I couldn't find it in the java documentation.

does anyone know how to include all the java.lang.Math methods in a .java file? I tried

import java.lang.Math.*; [java]
 
but it complains when I write something like sqrt(50.0);
as opposed to Math.sqrt(50.0);
 
it is just annoying to have to type Math.xxx in front of every Math method when you are using a lot of them

Topic: why not public? Previous Topic   Next Topic Topic: selection list

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use