Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
300 views

Referenceable<T>: A Java Generic Class Used for Creating Objects That can be Mutated

...
Captain Hatteras's user avatar
10 votes
3 answers
4k views

"Suspicious comparison of integer references" while checking for a monotonically increasing sequence

I have the following code which iterates on an Integer[] and makes sure that the the values in the array are in ascending order and that there are no neighbouring ...
Rich's user avatar
  • 237
2 votes
2 answers
4k views

Writing a class for common block of code used in many other classes

In this I have written the setAnalyticsInfo() method. The code inside this is common to almost all other (30) classes, so I have created ...
Programmer's user avatar
4 votes
4 answers
226 views

Reference type and constructors [closed]

Code in Java but should be readable also for c#... Let's assume I have a class with some reference types. Example: ...
radekEm's user avatar
  • 944