It looks like you’re using an ad blocker.

Would you like to support LEO?

Disable your ad blocker for LEO or make a donation.

  • Forum home

    Language lab

    Frage über that im Nebensatz


    Frage über that im Nebensatz



    Bezieht sich that auf TreeSet oder auf auf SortedSet?

    TreeSet is one of the implementations of the SortedSet interface in Java that uses a Red-black tree for storage. 

    Gibt's eine Regel, that stets die erste bzw. die zweite Alternative gemeint ist?

    Hier die Textquelle:


    Author wani (641043) 24 Apr 21, 11:32
    Doesn't it refer to 'implementations'? Or 'one of the implementations'?

    ... one of the implementations ... that uses ...

    Of course, in German, you might have to be more careful with / specific about singular and plural. /-:

    ... eine der(jenigen) ________ , ... die _____ verwenden (???)

    Sorry, maybe I'm missing something at this late hour. /-:
    #1Author hm -- us (236141)  24 Apr 21, 12:06

    If the relative clause referred to the SortedSet interface, there would normally be a comma before the "that", since the relative clause would be non-defining. I think it would also be more usual to use "which" rather than "that" in that case too.

    I am fairly sure the relative clause relates to "implementions" and that the verb should in fact be "use" (plural).

    #2Author RTH01 (932829) 24 Apr 21, 15:34

    ... and that the verb should in fact be "use" (plural).

    Das auf jeden Fall – ein überraschend häufiger Fehler (sowohl im Englischen als auch entsprechend im Deutschen).

    #3Author Stravinsky (637051) 24 Apr 21, 18:03

    No, uses could well be correct, agreeing in number with "one".

    Let's make the sentence simpler, and get away from the software jargon.

    A. Sally is one of the friends who enjoys black coffee.

    B. Sally is one of the friends who enjoy black coffee.

    Both are possible. In (A), there are a group of friends at the coffee shop, and most take their coffee with sugar and cream, but Sally is one (maybe the only one) who enjoys it black. In (B), all the friends take their coffee black.

    It works either way.

    #4Author Martin--cal (272273) 24 Apr 21, 18:10

    But in case A surely the relative clause is non-defining and should be preceded by a comma.

    #5Author RTH01 (932829)  24 Apr 21, 18:45

    I think I mostly agree with #4.

    By using "uses", this "TreeSet" is using "a Red-black tree for storage".

    If it had used "use", then the all implementations would use "a Red-black tree for storage".

    The coffee example is much nicer without the technical jargon.

    But I disagree with #4 on (A). (A) says little or nothing about the other friends.

    And so, I have a (C) and (D):

    (C) Sally is the only one of the friends who enjoys black coffee. (Sally and only Sally likes black coffee)


    (D) Sally is one of the only friends who enjoys black coffee. (Very few enjoy black coffee, but Sally likes black coffee)

    #6AuthorKevin_7 (1308576) 24 Apr 21, 22:58

    Very few enjoy black coffee. Sally enjoys black coffee. Therefore Sally belongs to the set comprising the very few who enjoy black coffee. She is one of the few who enjoy black coffee.

    #7Author RTH01 (932829) 25 Apr 21, 01:09

    Unless she is the only one of the friends who enjoys black coffee.

    #8Author Martin--cal (272273) 25 Apr 21, 02:06
 ­ automatisch zu ­ ­ umgewandelt