S
stef
Hello...
With that kind of function :
public static Date testDate(String StrDate)
{
SimpleDateFormat fmt;
f = new SimpleDateFormat("MM/dd/yyyy");
f.setLenient(false);
try
{
return fmt.parse(StrDate);
}
catch(ParseException e)
{
return null;
}
}
I suppose fmt will be destroyed by the garbage collector when I will
get out of the function.
But, Do you know a method to "see" when the garbage do this ?
Overall, do you know How can I just really see what's free and what is
not ?
May be with finalize, but not very cool...
Thanks...
With that kind of function :
public static Date testDate(String StrDate)
{
SimpleDateFormat fmt;
f = new SimpleDateFormat("MM/dd/yyyy");
f.setLenient(false);
try
{
return fmt.parse(StrDate);
}
catch(ParseException e)
{
return null;
}
}
I suppose fmt will be destroyed by the garbage collector when I will
get out of the function.
But, Do you know a method to "see" when the garbage do this ?
Overall, do you know How can I just really see what's free and what is
not ?
May be with finalize, but not very cool...
Thanks...