diff --git a/mug/src/main/java/com/google/mu/collect/Sequence.java b/mug/src/main/java/com/google/mu/collect/Sequence.java index 3f2ffced76..61ffa9511e 100644 --- a/mug/src/main/java/com/google/mu/collect/Sequence.java +++ b/mug/src/main/java/com/google/mu/collect/Sequence.java @@ -27,10 +27,10 @@ /** * Immutable {@link List} implementation that supports O(1) concatenation. * - *

At high level, this class provides similar behavior as {@link Stream#concat} or {@link - * com.google.common.collect.Iterables#concat}, except it's not recursive. - * That is, if your Sequence is the result of 1 million concatenations, you won't run into stack - * overflow error because under the hood, it's a heap-allocated immutable tree structure. + *

At high level, this class provides similar behavior as {@link Stream#concat Stream.concat()} + * or {@link com.google.common.collect.Iterables#concat Guava Iterables.concat()}, except it's not + * recursive. That is, if your Sequence is the result of 1 million concatenations, you won't run + * into stack overflow error because under the hood, it's a heap-allocated immutable tree structure. * *

The expected use case is to perform frequent concatenations using the {@code concat()} * methods. O(n) materialization cost will be (lazily) paid before the first time accessing the