69
I Use This!
High Activity

Commits : Listings

Analyzed about 18 hours ago. based on code collected about 18 hours ago.
Jun 11, 2024 — Jun 11, 2025
Commit Message Contributor Files Modified Lines Added Lines Removed Code Location Date
Create PriorityQueue with internal capacity 2 instead of estimating the size from the number of inputs. This is simpler, and it might be faster than iterating twice. It might be slower if the input (a) is a Collection (so that size() is available) and (b) is larger than size 2 (so that growing the array is necessary), but I'm not too concerned. Only 2 of ~8 callers have a chance of passing in more than 2 inputs, anyway. ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=25641457 More... over 13 years ago
Remove @Beta from QueuesTests (we never mark tests as @Beta). ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=25588377 More... over 13 years ago
Making Queues#drain calls timeouts more accurate, by potentially adding a System.nanoTime() call. ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=25588185 More... over 13 years ago
Reference Futures.get from CheckedFuture ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=25577062 More... over 13 years ago
Tests for several newDataInput.readFoo methods ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=25574201 More... over 13 years ago
Mark the Queues methods that deal with ArrayDeque and LinkedBlockingDeque as internal only (they are JDK6 only). ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=25554993 More... over 13 years ago
Clear interrupt at end of test so as not to interfere with subsequent tests. I have vague plans to run all tests that call interrupt() in a fresh, non-main thread so that this sort of problem can't occur, but naturally I haven't gotten around to it. ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=25527509 More... over 13 years ago
Use Uninterruptibles.awaitUninterruptibly() instead of a hand-rolled version or an abort-on-interrupt version. Reuse DelayingIdentityLoader instead of reimplementing. ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=25523974 More... over 13 years ago
Make c.g.c.collect.Queues @Beta. Remove old TODO from Optional (unrelated change, but combined for TAP's sake). ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=25522897 More... over 13 years ago
Test that finalize deletes the backing file. This required refactoring the model code to make finalize accessible from tests. ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=25515639 More... over 13 years ago
Remove GuavaAsserts, replacing all calls with calls to Assert. ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=25472533 More... over 13 years ago
Use iterator().next() in FilteredSortedSet#first ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=25472467 More... over 13 years ago
documentation enhancements to Cache, LoadingCache, and CacheBuilder ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=25472243 More... over 13 years ago
Document the relationship between Multiset and AtomicLongMap. ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=25472109 More... over 13 years ago
test when resetOnFinalize==true ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=25434366 More... over 13 years ago
Replace custom TestAssertionFailure with JUnit AssertionFailedError. ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=25397711 More... over 13 years ago
Add Ordering.min(Iterator) and Ordering.max(Iterator). ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=25397156 More... over 13 years ago
Add Builder#put(Entry) to ImmutableMultimap, ImmutableListMultimap, and ImmutableSetMultimap. ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=25396013 More... over 13 years ago
Added filter(SortedSet) to allow for the creation of a filtered SortedSet ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=25393046 More... over 13 years ago
Add ImmutableMap.Builder#put(Entry) overload. ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=25392198 More... over 13 years ago
Throw an IAE if source and destination files are the same in Files#copy ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=25364042 More... over 13 years ago
Delete GuavaAsserts.checkEqualsAndHashCodeMethods, replacing its one use with EqualsTester. ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=25351800 More... over 13 years ago
Move SortedMaps.filter* to Maps. Copy tests for SortedMaps.transform* to MapsTest. Test the filter* methods under GWT, and make them available under GWT. ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=25351048 More... over 13 years ago
Add tests for interruption while waiting. ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=25335633 More... over 13 years ago
Improve initial approximation to sqrt(x) when x.doubleValue() == Double.POSITIVE_INFINITY (x >= 2^1024). Louis's: http://code.google.com/r/wassermanlouis-guava/source/detail?r=6ea966f033aead7adc3aba9f74c05b115b37f83b&name=big-sqrt ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=25315505 More... over 13 years ago
Change the implementation of AbstractFuture.Sync#complete to guarantee that the future is complete before exiting, even if the current thread is not the thread actually completing the future. More... over 13 years ago
Javadoc improvements: - Emphasize that an empty SetMultimap and an empty ListMultimap are equal. - ListenableFuture listeners can also run in the thread that cancels the future (hat tip to <https://plus.google.com/114212977194801425439/posts/eFxZv6ibkM9>, which tipped me off to this by describing a related bug)... plus other minor improvements. - ListeningExecutorService can throw RejectedExecutionException. - Subclasses of AbstractListeningExecutorService must implement execute() and the shutdown/termination methods. Also, fix a comment in AbstractListeningExecutorServiceTest. ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=25284749 More... over 13 years ago
be more accomodating of slow gc reference enqueuing ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=25267574 More... over 13 years ago
have CacheLoader.reload return ListenableFuture ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=25264832 More... over 13 years ago
@Beta, @since, and hard-coded test seed ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=25248940 More... over 13 years ago