Search:

Type: Posts; User: Sharmeen

Search: Search took 0.14 seconds.

  1. [SOLVED] Re: How to create a Java generic method, similar to a C++ template method?

    I think I will go to the traditional way by Copy/paste the method as I only need to check the equality of integers and doubles.
    Thanx
  2. [SOLVED] Re: How to create a Java generic method, similar to a C++ template method?

    This is really appreciated. I will give it a try and will let you know about the results.
    Thanks.
  3. [SOLVED] How to create a Java generic method, similar to a C++ template method?

    Hi all,
    I'm new to Java and I used to program in C++. Now I know that there is a way in C++ to use the templates to create generic methods that can take different types of variable as input. Is this...
Results 1 to 3 of 3