Matthias

United Kingdom

Age: 31

Post-doctoral researcher at University College London.

1d
awarded Announcer
Feb
24
awarded Yearling
Feb
24
awarded Yearling
Feb
4
comment When to use LinkedList over ArrayList?
I think that, similarly to ArrayList<E>#remove(int index) being O(n - index), you could also argue that LinkedList<E>#remove(int index) is in fact O(index + 1). To see why, consider that removing the first element in a LinkedList could only really be O(1). Who (dis)agrees? [Note that this doesn't mean it is wrong to say that LinkedList<E>#remove(int index) is O(n), because the order of magnitude of index is of course n].
Jan
13
revised How can I normalize the EOL character in Java?
Added the actual code
Jan
13
answered How can I normalize the EOL character in Java?
Jan
7
awarded Notable Question
Jan
6
awarded Popular Question
Nov
20
comment Is there a way to simulate the C++ 'friend' concept in Java?
Very nicely explained, and +1 for poetic coding!
Nov
19
awarded Announcer
Nov
7
comment how do I change my AndroidManifest as it's being packaged by maven
It not necessarily wrong. In some cases modifying the original XML file is exactly what one wants to happen.
Nov
3
reviewed Approve suggested edit on How to resolve a library conflict (apache commons-codec)
Nov
3
awarded Custodian
Oct
29
revised How to resolve a library conflict (apache commons-codec)
Improved version of pom.xml, without explicit dependency on commons-codec
Oct
24
awarded Teacher
Oct
24
comment NoSuchMethodError using commonc codec in Android application
Consider this answer (using maven): stackoverflow.com/a/26548748/1084488
Oct
24
comment NoSuchMethodError using commonc codec in Android application
Consider this: stackoverflow.com/a/26548748/1084488
Oct
24
comment Method not found using DigestUtils in Android
Consider this: stackoverflow.com/a/26548748/1084488
Oct
24
answered How to resolve a library conflict (apache commons-codec)
Oct
23
comment How to use library with different version then one bundled with Android?
I haven't been able to get the maven-shade-plugin and the android-maven-plugin (new name of the maven-android-plugin) to properly work together. There is some talk about a related patch for the android-maven-plugin (code.google.com/p/maven-android-plugin/issues/detail?id=170), but as far as I can tell this never made into a mainline/released version. Were you able to get it working? And if so, can you provide some sample pom.xml code? Thanks.
1 2 3 4 5