Skip to content

Commit

Permalink
rewording javadoc a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
fluentfuture committed Jun 9, 2024
1 parent 18f0788 commit 71c753c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions mug/src/main/java/com/google/mu/collect/Sequence.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@
/**
* Immutable {@link List} implementation that supports O(1) concatenation.
*
* <p>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.
* <p>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.
*
* <p>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
Expand Down

0 comments on commit 71c753c

Please sign in to comment.