User Profile
Collapse
-
My commit messages are OK in UTF-8. The console output is wrong... -
SVN crazy console
Hi!
Why my svn client makes that strange encoding:
etam:djangofram e etam$ svn update
Pomini?\196?\15 3to '.'
?!
It should be 'Pominięto'. The ?\196?\153 = ę :/.
Thanks in advance,
Etam. -
How would you clone this class?!
Code:class Asdf<T extends Cloneable> implements Cloneable { public T t; protected Object clone() throws CloneNotSupportedException { ... t.clone(); // The method is not visible ... } }
Etam. -
Maybe it is not related but RangeList<Date, Timerange> duties, has:Code:public final void crop(List<Range<T>> ranges)
I have to do this:Code:List<Timerange> list = dateType.filter(starts, ends); List<Range<Date>> l = new ArrayList<Range<Date>>(); Collections.copy(l, list);
Leave a comment:
-
Templates problem
Hi,
if there is:Code:public class Range<T extends Comparable<T>> extends Scope<T> implements Cloneable
Code:public class RangeList<T extends Comparable<T>, R extends Range<T>> extends ArrayList<R>
It would be perfect to say:Code:RangeList<R extends Range<T extends Comparable<T>>>
... -
Do you mean:
Code:if(! (this.getClass().equals(other.getClass()))) return false;
Isn't it ineffective?
Thanks,
Pawel....Leave a comment:
-
Super equals
Hi,
I have a class Range with 2 fields (starts and ends), it overrides equals() method:
Code:public boolean equals(Object o) { if(this == o) return true; if(o == null) return false; if(! (o instanceof Range)) return false; Range r = (Range) o; if(this.starts.equals(r.starts) && this.ends.equals(r.ends)) return true; return false;
-
Yes, I expect you give me that information.
I don't know if google is right or wrong. I'd like fresh information, and talk about it, not only read.Leave a comment:
-
Income
Hi,
how big is the average monthly income of a Software Developer in- USA
- Germany
- Sweden
- Norway
?
Thanks,
regards,
Etam.
No activity results to display
Show More
Leave a comment: