User Profile

Collapse

Profile Sidebar

Collapse
odwrotnie
odwrotnie
Last Activity: Dec 23 '08, 01:56 AM
Joined: Sep 10 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • odwrotnie
    replied to SVN crazy console
    My commit messages are OK in UTF-8. The console output is wrong...
    See more | Go to post

    Leave a comment:


  • odwrotnie
    started a topic SVN crazy console

    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.
    See more | Go to post

  • odwrotnie
    started a topic How would you clone this class?!
    in Java

    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
          ...
       }
    }
    Thanks,
    Etam.
    See more | Go to post

  • odwrotnie
    replied to Templates problem
    in Java
    Maybe it is not related but RangeList<Date, Timerange> duties, has:
    Code:
    public final void crop(List<Range<T>> ranges)
    method, and I can't pass List<Timerange> there (Timerange extends Range<Date> :/.

    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);
    ...
    See more | Go to post

    Leave a comment:


  • odwrotnie
    started a topic Templates problem
    in Java

    Templates problem

    Hi,

    if there is:
    Code:
    public class Range<T extends Comparable<T>> extends Scope<T> implements Cloneable
    , can I define this one:
    Code:
    public class RangeList<T extends Comparable<T>, R extends Range<T>> extends ArrayList<R>
    without giving "T extends Comparable<T>"?

    It would be perfect to say:
    Code:
    RangeList<R extends Range<T extends Comparable<T>>>
    :).
    ...
    See more | Go to post

  • odwrotnie
    replied to Super equals
    in Java
    Do you mean:
    Code:
    if(! (this.getClass().equals(other.getClass())))
     return false;
    ?

    Isn't it ineffective?

    Thanks,
    Pawel....
    See more | Go to post

    Leave a comment:


  • odwrotnie
    started a topic Super equals
    in Java

    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;
    ...
    See more | Go to post

  • odwrotnie
    replied to Income
    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.
    See more | Go to post

    Leave a comment:


  • odwrotnie
    started a topic Income

    Income

    Hi,

    how big is the average monthly income of a Software Developer in
    • USA
    • Germany
    • Sweden
    • Norway

    ?

    Thanks,
    regards,
    Etam.
    See more | Go to post
No activity results to display
Show More
Working...