SlideShare ist ein Scribd-Unternehmen logo
1 von 106
Downloaden Sie, um offline zu lesen
Google Guava

      Source code available on GitHub:
 https://github.com/tdziurko/Guava-Lessons

           Author: Tomasz Dziurko

        Blog: http://tomaszdziurko.pl

Twitter: https://twitter.com/#!/TomaszDziurko
import com.google.common.base.Functions (1)



īƒ˜   Function can be used to execute defined action
    (function) on many objects
īƒ˜   It is used to change collections into collections of
    different type
īƒ˜   Main usage with transform() method from classes
    Colllections2, Lists, Iterables, Iterators, etc.
īƒ˜   Functions class provides a few pre-defined functions
    and allows to compose them into more complicated
    ones
import com.google.common.base.Functions (2)



īƒ˜   Simple example – transforming collection of countries into
    collection of capital cities
import com.google.common.base.Functions (3)



īƒ˜   Functions.compose() – composition of two or more
    functions to use as a one
import com.google.common.base.Functions (4)



īƒ˜   Functions.forMap() – pre-defined function loading values
    from map for provided list of keys
import com.google.common.base.Functions (5)



īƒ˜   Functions.forMap() – when there is no value for a given
    key, exception is thrown. This behaviour can be changed
    to return defined default value
import com.google.common.base.Predicates (1)


īƒ˜   Predicate checks if given condition is met for passed
    object.
īƒ˜   It is mainly used to filter collections using filter()
    method from Iterables, Iterators, Collections2, etc.
īƒ˜   I can be also used to check if all elements from
    collections are satisfying defined rule - method
    Iterables.all()
īƒ˜   Predicates class provides a few utility methods to work
    use and allows to compose many Predicates in one
import com.google.common.base.Predicates (2)



īƒ˜   Simple predicate checking if country has a capital city
    defined
import com.google.common.base.Predicates (3)



īƒ˜   Predicate objects can be composed using
    Predicates.and(), Predicates.or() and Predicates.not()
import com.google.common.base.Predicates (4)



īƒ˜   Predicates.containsPattern() – used to create condition
    using regular expressions
import com.google.common.base.CharMatcher (1)



īƒ˜   It is a class similar to Predicate, but working with chars
īƒ˜   It allows to check if a sequence of characters satisfies
    given condition
īƒ˜   We can also use it to filter chars
īƒ˜   Additionaly it provides methods to modify char
    sequences: removeFrom(), replaceFrom(), trimFrom(),
    collapseFrom(), retainFrom()
import com.google.common.base.CharMatcher (2)



īƒ˜   A few simple matchers checking if different conditions are
    met
import com.google.common.base.CharMatcher (3)



īƒ˜   CharMatcher.retainFrom() – allows to keep only those
    chars that are satisfying defined matching rule
īƒ˜   Matching rules can be joined with or() or and() methods
import com.google.common.base.CharMatcher (4)



īƒ˜   CharMatcher.collapseFrom() – replaces group of chars
    satysfying matching rule with defined sequence of
    characters
īƒ˜   CharMatcher.replaceFrom() - replaces every char
    satysfying matching rule with defined sequence of
    characters
import com.google.common.base.CharMatcher (5)



īƒ˜   Another interesting methods: countIn(), indexIn() finding
    position of first match and lastIndexIn() finding position of
    last match
import com.google.common.base.CharMatcher (6)



īƒ˜   inRange() allows to define a matching rule with a range of
    characters
īƒ˜   negate() creates negated matching rule
import com.google.common.base.CharMatcher (7)



īƒ˜   Methods trimFrom(), trimLeadingFrom(), trimTrailingFrom()
    or trimAndCollapseFrom() find and trim sequences located
    at the start or end of passed element that match the rule
import com.google.common.base.Joiner(1)




īƒ˜   Class used to convert collections into single String
    object containing elements separated with a defined
    delimeter
īƒ˜   We can declare to omit nulls or replace them with a
    default value
īƒ˜   It also works with Maps
import com.google.common.base.Joiner (2)



īƒ˜   Simple example with List
import com.google.common.base.Joiner (3)



īƒ˜   If there is a null in the collection and we don’t define how
    to treat it, we will get NullPointerException
īƒ˜   Nulls can be omitted with skipNulls() or replaced with a
    default value using useForNull()
import com.google.common.base.Joiner (4)



īƒ˜   Joiner also works with Maps, we can define how to
    separate key-value pairs and what chars should be used
    as a element between a key and a value
import com.google.common.base.Objects(1)




īƒ˜   Utility class with helper method to implement equals(),
    hashcode() and toString() methods
īƒ˜   Additionally it contains useful method firstNonNull()
import com.google.common.base.Objects(2)



īƒ˜   Objects.equals() compares two objects that can be nulls
īƒ˜   Objects.hashcode() takes unlimited number of parameters
import com.google.common.base.Objects(3)



īƒ˜   Objects.toStringHelper() makes it easier to write toString()
import com.google.common.base.Objects(4)



īƒ˜   Objects.firstNonNull() returns first argument which is not
    null
import com.google.common.base.Preconditions(1)




īƒ˜   This class allows to check correctness of parameters
    passed to our method and throw an appropriate
    exception when necessary
import com.google.common.base.Preconditions(2)



īƒ˜   We can check if state of the object/parameter is correct
    and throw IllegalStateException otherwise
import com.google.common.base.Preconditions(3)



īƒ˜   We can check if passed argument is not null or if it
    satisfies defined condition
import com.google.common.base.Splitter(1)




īƒ˜   Class working in the opposite direction than Joiner
īƒ˜   It allows to split String into collection of elements
īƒ˜   Delimeter can be defined as a sequence of chars, reg
    exp or CharMatcher object
import com.google.common.base.Splitter(2)



īƒ˜   Simple example splitting String on semicolons
import com.google.common.base.Splitter(3)



īƒ˜   Split using regular expression
import com.google.common.base.Splitter(4)



īƒ˜   Split using CharMatcher
import com.google.common.base.Splitter(5)



īƒ˜   Define Splitter to omit empty elements with
    omitEmptyStrings() or trim white spaces from extracted
    elements using trimResults()
import com.google.common.base.Splitter(6)



īƒ˜   We can split given String into elements with defined length
    using fixedLength()
import com.google.common.base.Stopwatch(1)




īƒ˜   Class replacing traditional way of calculating method
    execution time using System.nanoTime()
īƒ˜   It provides methods that automatically calculate time
    between start() and stop() execution
īƒ˜   Can be easily mocked with our custom passing time
    provider
īƒ˜   Returns counted time using different units
import com.google.common.base.Stopwatch(2)



īƒ˜   Simple time counting with mocked Ticker, for real usage
    we can use default Ticker using system clock
import com.google.common.base.Stopwatch(3)



īƒ˜   Returning time using different units
import com.google.common.base.Strings(1)




īƒ˜   Helper class to work with String objects
īƒ˜   Can replace null with empty String or empty String
    with null
īƒ˜   It provides methods to pad elements to left or right
import com.google.common.base.Strings(2)



īƒ˜   Check if String is null or empty with isNullOrEmpty()
īƒ˜   Empty/null Strings convertion to null/empty ones
import com.google.common.base.Strings(3)



īƒ˜   String padding to left or right using defined character as a
    ”filler”
import com.google.common.base.Strings(4)



īƒ˜   Create new String as a n-time repetition
import com.google.common.base.Throwables(1)




īƒ˜   Helper class to work with exceptions
īƒ˜   It allows to extract root exception from the chain
īƒ˜   Converts stack trace to String
īƒ˜   Extracts list of exceptions from exceptions chain
import com.google.common.base.Throwables(2)



īƒ˜   Extract the root cause from exceptions chain
import com.google.common.base.Throwables(3)



īƒ˜   List of exceptions from chain
import com.google.common.base.Throwables(4)



īƒ˜   Convert stack trace to String
import com.google.common.collect.Collections2(1)




īƒ˜   Class to filter and transform Collections using
    functions and predicates
import com.google.common.collect.Collections2(2)



īƒ˜   transform() – transforming collection using function
import com.google.common.collect.Collections2(3)



īƒ˜   filter() – filtering collections
import com.google.common.collect.Collections2(4)



īƒ˜   Important! What we get is a ”view” of passed collection!
import com.google.common.collect.BiMap(1)




īƒ˜   BiMap is a Map with unique both keys and values
import com.google.common.collect.BiMap(2)



īƒ˜   Adding new pair with existing key will cause an exception
import com.google.common.collect.BiMap(3)



īƒ˜   If we really want to add a key-value pair with value that is
    already in BiMap we can use forcePut(). Key that was
    previously linked with added value will be re-linked to null.
import com.google.common.collect.BiMap(4)



īƒ˜   inverse() – because BiMap is bidirectional we can easily
    inverse it and use values as keys
import com.google.common.collect.Constraints(1)




īƒ˜   Constraint class defines a condition which must be
    met to add a new element to collection
īƒ˜   Constraints is a helper class used to create collections
    with added constraint
import com.google.common.collect.Constraints(2)



īƒ˜   Simple example using Constraint to create collection not
    accepting null values
import com.google.common.collect.Constraints(3)



īƒ˜   It is easy to create custom Constraint, only one method
    have to be implemented – checkElement()
import com.google.common.collect.ForwardingCollection(1)




īƒ˜   Class forwarding method calls to its internal collection
īƒ˜   Allows to override methods to e.g. automate some
    operations on collection
īƒ˜   There are similar classes for List, Set, Multiset, Queue
    and Iterator
import com.google.common.collect.ForwardingCollection(2)



īƒ˜   Only method we have to implement is delegate(). It should
    point to the internal collection on which all methods will be
    called.
import com.google.common.collect.ForwardingCollection(3)


īƒ˜   Overriding all methods from Collection interface is optional
īƒ˜   With override we can customize behaviour of our
    ForwardingCollection instance e.g. add opposite number
    for each added element
import com.google.common.collect.ForwardingCollection(4)


īƒ˜   Example from previous page in action
import com.google.common.collect.ImmutableMap(1)




īƒ˜   Class creating read-only Maps
īƒ˜   It has methods to create and initialize Maps with a few
    key ↔ value pairs
īƒ˜   There are similar classes for List, Set, Multiset etc.
import com.google.common.collect.ImmutableMap(2)


īƒ˜   Using Builder to create new Map
import com.google.common.collect.ImmutableMap(3)


īƒ˜   Creating and initializing Map using of() method with up to
    five key ↔ value pairs
import com.google.common.collect.Iterables(1)




īƒ˜   Helper class to work with classes implementing
    Iterable
īƒ˜   It contains methods transform() oraz filter() mentioned
    earlier
īƒ˜   There is a ”clone” class: Iterators with almost the same
    methods as Iterables but working with Iterators
import com.google.common.collect.Iterables(2)


īƒ˜   all() method allows to check if defined condition is satisfied
    by all elements from Collection
import com.google.common.collect.Iterables(3)


īƒ˜   any() method allows to check if defined condition is
    satisfied by at least one element from Collection
import com.google.common.collect.Iterables(4)


īƒ˜   cycle() returns Iterable which Iterator cycles indefinitely
    over its elements
import com.google.common.collect.Iterables(5)


īƒ˜   filter() method takes not only predicates but also classes
import com.google.common.collect.Iterables(6)


īƒ˜   frequency() counts number of elemens in the Collection
import com.google.common.collect.Iterables(7)


īƒ˜   getFirst(), getLast() – an easy way to get first and last
    element from collection
import com.google.common.collect.Iterables(8)


īƒ˜   partition() splits collection into sub-collections with defined
    length
import com.google.common.collect.Iterables(9)


īƒ˜   toArray() is a nicer way to convert Collection to array
import com.google.common.collect.Iterables(10)


īƒ˜   removeIf() removes from Collection only elements that
    satisfy defined predicate
import com.google.common.collect.Multiset(1)




īƒ˜   Class allowing to insert the same element multiple
    times
īƒ˜   Returns number of occurences of an element
īƒ˜   Allows to set this number without calling add() N times
import com.google.common.collect.Multiset(2)


īƒ˜   Simple example
import com.google.common.collect.Multiset(3)


īƒ˜   Multiset provides method to add/remove element multiple
    times
īƒ˜   And method setCount() to set counter to a particular value
import com.google.common.collect.Multiset(4)


īƒ˜   retainAll() allows to keep only defined keys in the collection
import com.google.common.collect.Multimap(1)



īƒ˜   Class to replace objects similar to Map<String,
    List<String>>
īƒ˜   Developer is no longer forced to check if lists exists for
    a given key before adding something
import com.google.common.collect.Multimap(2)


īƒ˜   Simple example
import com.google.common.collect.ObjectArrays(1)



īƒ˜   Utility class to operate on arrays of any type
īƒ˜   It allows to concatenate arrays and add single element
    before first or after last position
import com.google.common.collect.ObjectArrays(2)


īƒ˜   concat() – concatenate two arrays
import com.google.common.collect.ObjectArrays(3)


īƒ˜   concat() – add element to start or end of the array
import com.google.common.collect.Ranges(1)



īƒ˜   Ranges and Range classes are used to define ranges
    and then checking if a given object is contained within
    defined range
īƒ˜   They work similarly to Predicate
īƒ˜   We can define open (2,10), closed <2,10> and mixed
    <2, 10) ranges
import com.google.common.collect.Ranges(2)


īƒ˜   contains() – simple check if element is within a range
īƒ˜   Nice way to replace two if-s
import com.google.common.collect.Ranges(3)


īƒ˜   encloses(), intersection(), span() – various operations on
    ranges
import com.google.common.collect.Ranges(4)


īƒ˜   containsAll() – checks if all elements from collection are
    contained within a defined range
import com.google.common.collect.Ranges(5)


īƒ˜   asSet() – we can generate collection of all elements that
    are contained by defined range
import com.google.common.collect.Ranges(6)


īƒ˜   encloseAll() – generates range that encloses passed list of
    elements
import com.google.common.primitives.Ints(1)



īƒ˜   Util class to work with ints and array of ints
īƒ˜   primitives.* package contains similar classes for
    boolean, float, double, etc.
import com.google.common.primitives.Ints(2)


īƒ˜   contains() oraz indexOf() – quick checking for occurence of
    a given element and finding its position
import com.google.common.primitives.Ints(3)


īƒ˜   concat() and join() – arrays concatenation and conversion
    to String using defined delimeter (similarly to Joiner class)
import com.google.common.primitives.Ints(4)


īƒ˜   min(), max() – finding minimum and maximum in the array
import com.google.common.eventbus.*(1)



īƒ˜   Classes from eventbus package can be used as a
    simple tool to implement publisher – subscriber use
    case
īƒ˜   Besides standard features these classes have some
    extras:
    - checking if someone is listening for an event of given
    type
    - events hierarchy
import com.google.common.eventbus.*(2)


īƒ˜   Listener class needs only one additional element, a
    method with @Subscribe annotation. Argument of this
    method defines what type of event this class is listening for
import com.google.common.eventbus.*(3)


īƒ˜   There are no additional restrictions to be an event class. It
    can be even String or Integer.
import com.google.common.eventbus.*(4)


īƒ˜   Event publishing and receiving – a simple example
import com.google.common.eventbus.*(5)


īƒ˜   One listener can subscribe (listen for) more than one type
    of event
import com.google.common.eventbus.*(6)


īƒ˜   One listener can subscribe (listen for) more than one type
    of event (continued)
import com.google.common.eventbus.*(7)


īƒ˜   To ensure that every event type has at least one listener
    we could use pre-defined DeadEvent which is fired when
    EventBus receives an event without any listener.
īƒ˜   In such situation we can, for example, log warning
    message to log file
import com.google.common.eventbus.*(8)


īƒ˜   Example using DeadEvent and EventBus without listener
    for OurTestEvent
import com.google.common.eventbus.*(9)


īƒ˜   Events hierarchy and one listener waiting for concrete
    events (Integers) and second listening for more generic
    ones (Numbers)
import com.google.common.math.*(1)



īƒ˜   Classes from math package provides methods to
    perform some methematical calculations
īƒ˜   Available classes: IntMath, LongMath, DoubleMath
    and BigIntegerMath
īƒ˜   They saves developer from being affected by ”silent
    overflow” when for example adding numbers close to
    the Integer.MAX_INT
import com.google.common.math.*(2)


īƒ˜   Exception is thrown when we reach max allowed value for
    a given type
import com.google.common.math.*(3)


īƒ˜   factorial(), gcd(), log2(), log10() – methods to calculate
    factorial, greatest common divisor and most popular
    logarithms
import com.google.common.math.*(4)


īƒ˜   Rounding mode can be easily defined when needed for
    some calculations e.g. divide(), sqrt() and logarithms
The End

Thank you for reading!


     Source code available on GitHub:
https://github.com/tdziurko/Guava-Lessons

      Blog: http://tomaszdziurko.pl

Weitere ähnliche Inhalte

Was ist angesagt?

Light-weighted HDFS disaster recovery
Light-weighted HDFS disaster recoveryLight-weighted HDFS disaster recovery
Light-weighted HDFS disaster recovery
DataWorks Summit
 

Was ist angesagt? (20)

TiDB for Big Data
TiDB for Big DataTiDB for Big Data
TiDB for Big Data
 
What is in a Lucene index?
What is in a Lucene index?What is in a Lucene index?
What is in a Lucene index?
 
Transactional operations in Apache Hive: present and future
Transactional operations in Apache Hive: present and futureTransactional operations in Apache Hive: present and future
Transactional operations in Apache Hive: present and future
 
What's New in Apache Hive
What's New in Apache HiveWhat's New in Apache Hive
What's New in Apache Hive
 
Data Analyse Black Horse - ClickHouse
Data Analyse Black Horse - ClickHouseData Analyse Black Horse - ClickHouse
Data Analyse Black Horse - ClickHouse
 
Lessons from the Field, Episode II: Applying Best Practices to Your Apache S...
 Lessons from the Field, Episode II: Applying Best Practices to Your Apache S... Lessons from the Field, Episode II: Applying Best Practices to Your Apache S...
Lessons from the Field, Episode II: Applying Best Practices to Your Apache S...
 
Deep Dive on Amazon Redshift
Deep Dive on Amazon RedshiftDeep Dive on Amazon Redshift
Deep Dive on Amazon Redshift
 
Practical Partitioning in Production with Postgres
Practical Partitioning in Production with PostgresPractical Partitioning in Production with Postgres
Practical Partitioning in Production with Postgres
 
Garbage First Garbage Collector: Where the Rubber Meets the Road!
Garbage First Garbage Collector: Where the Rubber Meets the Road!Garbage First Garbage Collector: Where the Rubber Meets the Road!
Garbage First Garbage Collector: Where the Rubber Meets the Road!
 
Rainbird: Realtime Analytics at Twitter (Strata 2011)
Rainbird: Realtime Analytics at Twitter (Strata 2011)Rainbird: Realtime Analytics at Twitter (Strata 2011)
Rainbird: Realtime Analytics at Twitter (Strata 2011)
 
[Pgday.Seoul 2019] CitusëĨŧ ė´ėšŠí•œ ëļ„ė‚° 데ė´í„°ë˛ ė´ėŠ¤
[Pgday.Seoul 2019] CitusëĨŧ ė´ėšŠí•œ ëļ„ė‚° 데ė´í„°ë˛ ė´ėŠ¤[Pgday.Seoul 2019] CitusëĨŧ ė´ėšŠí•œ ëļ„ė‚° 데ė´í„°ë˛ ė´ėŠ¤
[Pgday.Seoul 2019] CitusëĨŧ ė´ėšŠí•œ ëļ„ė‚° 데ė´í„°ë˛ ė´ėŠ¤
 
MariaDB 10.11 key features overview for DBAs
MariaDB 10.11 key features overview for DBAsMariaDB 10.11 key features overview for DBAs
MariaDB 10.11 key features overview for DBAs
 
Parallel Query in AWS Aurora MySQL
Parallel Query in AWS Aurora MySQLParallel Query in AWS Aurora MySQL
Parallel Query in AWS Aurora MySQL
 
The evolution of Netflix's S3 data warehouse (Strata NY 2018)
The evolution of Netflix's S3 data warehouse (Strata NY 2018)The evolution of Netflix's S3 data warehouse (Strata NY 2018)
The evolution of Netflix's S3 data warehouse (Strata NY 2018)
 
Introduction to Redis
Introduction to RedisIntroduction to Redis
Introduction to Redis
 
Light-weighted HDFS disaster recovery
Light-weighted HDFS disaster recoveryLight-weighted HDFS disaster recovery
Light-weighted HDFS disaster recovery
 
Concourse webhook
Concourse webhookConcourse webhook
Concourse webhook
 
Catalogs - Turning a Set of Parquet Files into a Data Set
Catalogs - Turning a Set of Parquet Files into a Data SetCatalogs - Turning a Set of Parquet Files into a Data Set
Catalogs - Turning a Set of Parquet Files into a Data Set
 
ė›šė„œë˛„ ė •ëŗ´ 노ėļœ ë°Šė§€
ė›šė„œë˛„ ė •ëŗ´ 노ėļœ ë°Šė§€ė›šė„œë˛„ ė •ëŗ´ 노ėļœ ë°Šė§€
ė›šė„œë˛„ ė •ëŗ´ 노ėļœ ë°Šė§€
 
Apache Spark Streaming in K8s with ArgoCD & Spark Operator
Apache Spark Streaming in K8s with ArgoCD & Spark OperatorApache Spark Streaming in K8s with ArgoCD & Spark Operator
Apache Spark Streaming in K8s with ArgoCD & Spark Operator
 

Andere mochten auch

Google Guava & EMF @ GTUG Nantes
Google Guava & EMF @ GTUG NantesGoogle Guava & EMF @ GTUG Nantes
Google Guava & EMF @ GTUG Nantes
mikaelbarbero
 
201209 Lombok & Guava
201209 Lombok & Guava201209 Lombok & Guava
201209 Lombok & Guava
lyonjug
 
Modern iframe programming
Modern iframe programmingModern iframe programming
Modern iframe programming
benvinegar
 
Droidcon2013 pro guard, optimizer and obfuscator in the android sdk_eric lafo...
Droidcon2013 pro guard, optimizer and obfuscator in the android sdk_eric lafo...Droidcon2013 pro guard, optimizer and obfuscator in the android sdk_eric lafo...
Droidcon2013 pro guard, optimizer and obfuscator in the android sdk_eric lafo...
Droidcon Berlin
 

Andere mochten auch (18)

Google Guava for cleaner code
Google Guava for cleaner codeGoogle Guava for cleaner code
Google Guava for cleaner code
 
Google Guava - Core libraries for Java & Android
Google Guava - Core libraries for Java & AndroidGoogle Guava - Core libraries for Java & Android
Google Guava - Core libraries for Java & Android
 
Google Guava & EMF @ GTUG Nantes
Google Guava & EMF @ GTUG NantesGoogle Guava & EMF @ GTUG Nantes
Google Guava & EMF @ GTUG Nantes
 
Google Guava
Google GuavaGoogle Guava
Google Guava
 
Google guava
Google guavaGoogle guava
Google guava
 
201209 Lombok & Guava
201209 Lombok & Guava201209 Lombok & Guava
201209 Lombok & Guava
 
Modern iframe programming
Modern iframe programmingModern iframe programming
Modern iframe programming
 
Droidcon2013 pro guard, optimizer and obfuscator in the android sdk_eric lafo...
Droidcon2013 pro guard, optimizer and obfuscator in the android sdk_eric lafo...Droidcon2013 pro guard, optimizer and obfuscator in the android sdk_eric lafo...
Droidcon2013 pro guard, optimizer and obfuscator in the android sdk_eric lafo...
 
Natural Language Processing in Ruby
Natural Language Processing in RubyNatural Language Processing in Ruby
Natural Language Processing in Ruby
 
Introduction to rx java for android
Introduction to rx java for androidIntroduction to rx java for android
Introduction to rx java for android
 
Breaking The Cross Domain Barrier
Breaking The Cross Domain BarrierBreaking The Cross Domain Barrier
Breaking The Cross Domain Barrier
 
Google guava overview
Google guava overviewGoogle guava overview
Google guava overview
 
자바8 람다ᄉá…ĩᆨ 소ᄀá…ĸ
자바8 람다ᄉá…ĩᆨ 소ᄀá…ĸ자바8 람다ᄉá…ĩᆨ 소ᄀá…ĸ
자바8 람다ᄉá…ĩᆨ 소ᄀá…ĸ
 
java 8 람다ė‹ ė†Œę°œė™€ ė˜ë¯¸ ęŗ ė°°
java 8 람다ė‹ ė†Œę°œė™€ ė˜ë¯¸ ęŗ ė°°java 8 람다ė‹ ė†Œę°œė™€ ė˜ë¯¸ ęŗ ė°°
java 8 람다ė‹ ė†Œę°œė™€ ė˜ë¯¸ ęŗ ė°°
 
AVG Android App Performance Report by AVG Technologies
AVG Android App Performance Report by AVG TechnologiesAVG Android App Performance Report by AVG Technologies
AVG Android App Performance Report by AVG Technologies
 
OpenFlow tutorial
OpenFlow tutorialOpenFlow tutorial
OpenFlow tutorial
 
Design Beautiful REST + JSON APIs
Design Beautiful REST + JSON APIsDesign Beautiful REST + JSON APIs
Design Beautiful REST + JSON APIs
 
Building a distributed search system with Hadoop and Lucene
Building a distributed search system with Hadoop and LuceneBuilding a distributed search system with Hadoop and Lucene
Building a distributed search system with Hadoop and Lucene
 

Ähnlich wie Google guava - almost everything you need to know

Collections
CollectionsCollections
Collections
sagsharma
 
New features and enhancement
New features and enhancementNew features and enhancement
New features and enhancement
Rakesh Madugula
 
Java căn báēŖn - Chapter7
Java căn báēŖn - Chapter7Java căn báēŖn - Chapter7
Java căn báēŖn - Chapter7
Vince Vo
 
Coherence SIG: Advanced usage of indexes in coherence
Coherence SIG: Advanced usage of indexes in coherenceCoherence SIG: Advanced usage of indexes in coherence
Coherence SIG: Advanced usage of indexes in coherence
aragozin
 

Ähnlich wie Google guava - almost everything you need to know (20)

Collections
CollectionsCollections
Collections
 
New features and enhancement
New features and enhancementNew features and enhancement
New features and enhancement
 
Algorithms: I
Algorithms: IAlgorithms: I
Algorithms: I
 
Chapter 7 - Defining Your Own Classes - Part II
Chapter 7 - Defining Your Own Classes - Part IIChapter 7 - Defining Your Own Classes - Part II
Chapter 7 - Defining Your Own Classes - Part II
 
Functional Programming
Functional ProgrammingFunctional Programming
Functional Programming
 
Java design patterns
Java design patternsJava design patterns
Java design patterns
 
Java căn báēŖn - Chapter7
Java căn báēŖn - Chapter7Java căn báēŖn - Chapter7
Java căn báēŖn - Chapter7
 
Coherence SIG: Advanced usage of indexes in coherence
Coherence SIG: Advanced usage of indexes in coherenceCoherence SIG: Advanced usage of indexes in coherence
Coherence SIG: Advanced usage of indexes in coherence
 
K is for Kotlin
K is for KotlinK is for Kotlin
K is for Kotlin
 
Design patterns
Design patternsDesign patterns
Design patterns
 
Autoboxing and unboxing
Autoboxing and unboxingAutoboxing and unboxing
Autoboxing and unboxing
 
ch 2. Python module
ch 2. Python module ch 2. Python module
ch 2. Python module
 
packages.pptx
packages.pptxpackages.pptx
packages.pptx
 
Intake 38 data access 5
Intake 38 data access 5Intake 38 data access 5
Intake 38 data access 5
 
Attributes & .NET components
Attributes & .NET componentsAttributes & .NET components
Attributes & .NET components
 
Unit 3 lecture-2
Unit 3 lecture-2Unit 3 lecture-2
Unit 3 lecture-2
 
Java Advance Concepts
Java Advance ConceptsJava Advance Concepts
Java Advance Concepts
 
Opensource gis development - part 3
Opensource gis development - part 3Opensource gis development - part 3
Opensource gis development - part 3
 
Python for Beginners
Python  for BeginnersPython  for Beginners
Python for Beginners
 
Easy mock
Easy mockEasy mock
Easy mock
 

KÃŧrzlich hochgeladen

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎ī¸+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

KÃŧrzlich hochgeladen (20)

Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
đŸŦ The future of MySQL is Postgres 🐘
đŸŦ  The future of MySQL is Postgres   🐘đŸŦ  The future of MySQL is Postgres   🐘
đŸŦ The future of MySQL is Postgres 🐘
 

Google guava - almost everything you need to know