Rafael T

Hamburg, Germany

Age: 29

Jul
23
comment is the Java compile-time dispatch of parameters broken?
so would it help to be a Hashmap<String, T> where T ins declared as <T extends Object>?
Jul
23
accepted is the Java compile-time dispatch of parameters broken?
Jul
23
comment is the Java compile-time dispatch of parameters broken?
Thanks a lot for the insides, but I'm really confused by now. But does it make sense, if ANY T is (at least) an Object? These Generics in Java are sucking so badly... They never work as expected!
Jul
23
comment is the Java compile-time dispatch of parameters broken?
You arent't even allowed to compile you program (at least in eclipse). But mine did compile!
Jul
23
revised is the Java compile-time dispatch of parameters broken?
edited title
Jul
23
comment is the Java compile-time dispatch of parameters broken?
@markspace exactly! I don't even ask for "runtime dispatching"! I got the feeling that user28... don't even read my question, but just the subject (in which I admit I had a mistake)
Jul
23
comment is the Java compile-time dispatch of parameters broken?
I cannot change Methods from the Foo class, because it belongs to an API I use (ElasticSearch). I even don't wanted to have a working solution (had it solved through casting), but only was interested, WHY this is not working. I feel like it cannot be the Generic, because they are erased. You aren't even allowed to write two methods in the same class like this: void bar(List<String> strings) and void bar(List<Integer> integers) because for java its the same at runtime: void bar(List<Object> list).
Jul
23
asked is the Java compile-time dispatch of parameters broken?
Jul
22
asked Yaml fixtures of java playframework doesn't work as expected
Jul
17
awarded Popular Question
Jul
11
awarded Good Answer
Jul
11
comment Validating email locally using regular expression
Don't do validating Email-adresses with regex! davidcel.is/blog/2012/09/06/…. If you want to have an RFC compliant Email Regex, you are forced to use this : ex-parrot.com/pdw/Mail-RFC822-Address.html
Jul
10
comment Validating email locally using regular expression
downvoting without clearification is not helpfull for SO beginners!
Jul
9
comment how to transmit modulated voice over a call in android?
@Urgo of course, you can do that. Its the ROM that provides calling mechanisms, so one is able to change all of it. There is also a chance to use XPosedFramework forum.xda-developers.com/xposed/… on a standart (rooted) rom to change internal API calls and redirect them over to your Xposed-module
Jul
2
awarded Inquisitive
Jul
2
awarded Curious
Jul
2
awarded Curious
Jul
2
awarded Popular Question
Jun
20
awarded Nice Question
Jun
17
accepted How to implement python method with signature like ([start ,] stop [, step]), i.e. default keyword argument on the left
1 2 3 4 5