Vitalii Fedorenko

Toronto, Canada

my-dev.blogspot.com

Age: 28

Software engineer specialized in large-scale fault-tolerant distributed systems.

Github: https://github.com/zhaber?tab=repositories

15h
revised Java optional parameters
added 1 character in body
Jan
26
awarded Necromancer
Jan
21
revised Is there a destructor for Java?
deleted 69 characters in body
Jan
18
awarded Enlightened
Jan
18
awarded Nice Answer
Jan
14
answered Which is the default access specifier in Java?
Jan
1
awarded Good Answer
Dec
28
comment Sorting HashMap by values
@AquariusPower you don't need casting, just give the compiler a hint on what the generic type is: Entry.<Integer, String>comparingByValue().reversed()
Dec
28
comment Sorting HashMap by values
@AquariusPower See the reversed method at docs.oracle.com/javase/8/docs/api/java/util/… You can apply it to the comparator returned by comparingByValue()
Dec
17
awarded Great Answer
Nov
21
awarded Constituent
Nov
21
awarded Caucus
Sep
19
answered angularjs bootstrap ui 0.13 datetimepicker doesn't pop up
Aug
27
comment Compact way of writing (a + b == c or a + c == b or b + c == a)
division by 2 is simply decreasing the exponent by one, so it will be accurate for any integer that is less than 2^53 (the fraction part of a float in python), and for larger integers you can use decimal. For example, to check integers that are less than 2^30 run [x for x in range(pow(2,30)) if x != ((x * 2)/ pow(2,1))]
Aug
21
answered Compact way of writing (a + b == c or a + c == b or b + c == a)
Aug
19
comment Measure execution time for a Java method
I do not see why the number of database transactions should affect the accuracy, the only thing to keep in mind is that the time of the db query will be included in the total execution time.
Jul
3
revised HTML5 Canvas 100% Width Height of Viewport?
added 23 characters in body
May
22
awarded javascript
May
22
answered javascript - delete cookie
May
18
answered Convert ArrayList containing Strings to an array of Strings in Java?
1 2 3 4 5