Getting Started with Google Guava
This course has been retired. Check out the alternatives below
-
What do you get with a Packt Subscription?
- Instant access to this title and 7,500+ eBooks & Videos
- Constantly updated with 100+ new titles each month
- Breadth and depth in over 1,000+ technologies
-
Getting Started
- Getting Started
- Introducing Google Guava
- The case for using Guava
- What is this book about?
- Installing Guava
- Using Guava with Maven or Gradle
- Summary
-
Basic Guava Utilities
- Basic Guava Utilities
- Using the Joiner class
- Using the Splitter class
- Working with strings in Guava
- Using the CharMatcher class
- Using the Preconditions class
- Object utilities
- Summary
-
Functional Programming with Guava
- Functional Programming with Guava
- Using the Function interface
- Using the Functions class
- Using the Predicate interface
- Using the Predicates class
- Using the Supplier interface
- Using the Suppliers class
- Summary
-
Working with Collections
- Working with Collections
- The FluentIterable class
- Lists
- Sets
- Maps
- Multimaps
- BiMap
- Table
- Range
- Immutable collections
- Ordering
- Summary
-
Concurrency
- Concurrency
- Synchronizing threads
- Monitor
- ListenableFuture
- FutureCallback
- SettableFuture
- AsyncFunction
- FutureFallback
- Futures
- RateLimiter
- Summary
-
Guava Cache
- Guava Cache
- MapMaker
- Guava caches
- CacheBuilder
- CacheBuilderSpec
- CacheLoader
- CacheStats
- RemovalListener
- Summary
-
The EventBus Class
- The EventBus Class
- EventBus
- Subscribe – An example
- Event Publishing – An example
- Finer-grained subscribing
- Unsubscribing to events
- AsyncEventBus
- DeadEvents
- Dependency injection
- Summary
-
Working with Files
- Working with Files
- Copying a file
- Moving/renaming a File
- Working with files as strings
- Hashing a file
- Writing to files
- InputSupplier and OutputSupplier
- ByteSource
- ByteSink
- Copying from a ByteSource class to a ByteSink class
- ByteStreams and CharStreams
- Closer
- BaseEncoding
- Summary
-
Odds and Ends
- Odds and Ends
- Creating proper hash functions
- BloomFilter
- Optional
- Throwables
- Summary