Search:

Type: Posts; User: javabuddy

Search: Search took 0.18 seconds.

  1. Replies
    4
    Views
    1,640

    Re: Java Wrapper Classes

    well Immutability offer several advantages :

    1) Immutable object like String and wrapper can be used as key in HashMap (those are most used keys anyway)
    2) Immutability enable them to be reused...
  2. Re: Run a jar file inside a batch file with Windows 7 Task schduler

    1. first run your command from command prompt, if success than create batch file
    2. check Java is in path
    3. Check ExportPDFTool.jar has main class or not

    If you are running Java program from...
  3. Re: Question on HashMap internal implementation

    You can see How HashMap works in Java an interesting article.
  4. Thread: Heap Memory

    by javabuddy
    Replies
    3
    Views
    642

    Re: Heap Memory

    You can increase heap size in Java by using parameter -Xmx and -Xms . for example see my post 10 points on Java heap Space
  5. Replies
    10
    Views
    1,470

    Re: Next step in Java

    Nothing can beat a real world experience , build something which can be used by some one else and if not than at least build which you can use. Real world application brings lot of small points and...
  6. Replies
    6
    Views
    831

    Re: How do i limit the input time

    isn't reading from InputStream e.g. System.in is a blocking call ?
  7. Replies
    13
    Views
    902

    Re: HELP BEGINNERS

    If you don't have PC then how are you posting ? just curious :)
  8. Replies
    4
    Views
    414

    Re: A little help please =D

    On General note whenever you write Game there is suppose to be a Game thread which is an while loop continuously running until game is over or stopped, in this loop you check condition, take action...
  9. Replies
    6
    Views
    1,633

    Re: Event Handling - Best Practice?

    It depends if listener has to be used by multiple object than making it a full fleged class make sense but if its only attached to one element than having them as inner class is ok.
  10. Re: Help me understand when to use static on functions/methods

    Static in Java means it all related to class , nothing at instance level.

    1) static method or field can be accessed by using Class name and that's the recommended way.
    2) non static field can...
  11. Thread: immutable

    by javabuddy
    Replies
    2
    Views
    375

    Re: immutable

    see this link Why String is immutable or final in Java
  12. Replies
    1
    Views
    394

    ConcurrentHashMap doubt

    Hi All,

    I beleive ConcurrenthashMap is optimized for multiple reader and single writer and it achieved it by locking portion of map defined by some constant like "ConcurrencyLevel" in...
  13. Does garbage collection occurs in PERM Area of Java Heap ?

    Hi Guys,

    I am a relative new member in this form , My name is Javin Paul and I am Java programmer. I have question related to garbage collection in Java

    Does garbage collection occurs in PERM...
  14. Replies
    3
    Views
    2,206

    Re: How to create submenu?

    You can use List to create a Menu and Menu items in J2ME.

    e.g.

    List simpleMenu = new List("MyListMenu", Choice.IMPLICIT);
    menu.append("File", null);
    menu.append("View", null);
    ...
  15. Thread: hi

    by javabuddy
    Replies
    2
    Views
    375

    Re: hi

    welcome buddy I am new too and looking forward some good time here

    Cheers
Results 1 to 15 of 15