From 71c753cc628e7afc5a520b1126f4d317293e783d Mon Sep 17 00:00:00 2001 From: Ben Yu Date: Sat, 8 Jun 2024 19:27:29 -0700 Subject: [PATCH] rewording javadoc a bit --- mug/src/main/java/com/google/mu/collect/Sequence.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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