We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Internal change RELNOTES=n/a PiperOrigin-RevId: 342889196
Begin tweaking Guava sources to satisfy Copybara. - Change from http to https (and from github.io links to guava.dev/truth.dev while I'm at it). - Remove go/ links. - Add whitespace around MOE directives. - Put MOE stripping directives alone in comments, moving other comment text to a separate comment. - One particular case of that: Put MOE intracomment stripping into HTML comments... even when it happens in non-Javadoc comments (i.e., /* */). It seems that Copybara wants for intracomment directives to stand alone in *some* kind of comment? - Add @GoogleInternal to some files that are currently omitted from Guava simply by not being in MOE filegroup targets. This is surely not a complete set of changes, but it's enough to get me started. RELNOTES=n/a ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=334840448
Add Double.max(doubleA, doubleB) example to common.math docs. RELNOTES=n/a ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=315272101
Add Stream support to Stats and StatsAccumulator. This adds: - A static method Stats.toStats() that returns a Collector<Number, StatsAccumulator, Stats>. - Stats.of overloads and StatsAccumulator.addAll overloads that take DoubleStream, IntStream, and LongStream. - A StatsAccumulator.addAll overload that takes StatsAccumulator. (In passing, this also improves the tests in a couple of ways. It removes the use of static initializer blocks in StatsTesting, which is contrary to best practice. And it fixes some tolerances on the assertions: the min() and max() ones should use exact equality, and the ones with INTEGER_MANY_VALUES and LONG_MANY_VALUES should scale up the tolerance to match the order of magnitude of the values. This latter change fixes the ErrorProne warnings that, in some cases, the tolerance was actually less than the difference between the expected value and the next nearest double. It just happened that everything was close enough before.) RELNOTES=Add Stream support to Stats and StatsAccumulator. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=274998178
Side effect of internal change. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=188108042
Fix "link" anchor to "links". (The previous CL copied the name correctly, but the fragment that's used at the top of the page is "#links" and not "#link".) ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=172503844
Replace header link construct that doesn't work in wiki with regular anchors. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=172497216
Prepare stats doc for sync to Guava wiki. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=172477916