Guava

Guava – Throwables Class

  • Post author:
  • Post category:Guava
  • Post comments:0 Comments

Throwables class provides utility methods related to Throwable interface. Class Declaration Following is the declaration for com.google.common.base.Throwables class − public final class Throwables extends Object Class Methods Sr.NoMethod & Description1static List<Throwable> getCausalChain(Throwable…

Continue ReadingGuava – Throwables Class

Guava – Objects Class

  • Post author:
  • Post category:Guava
  • Post comments:0 Comments

Objects class provides helper functions applicable to all objects such as equals, hashCode, etc. Class Declaration Following is the declaration for com.google.common.base.Objects class − @GwtCompatible public final class Objects extends Object Class…

Continue ReadingGuava – Objects Class

Guava – Ordering Class

  • Post author:
  • Post category:Guava
  • Post comments:0 Comments

Ordering class can be seen as an enriched comparator with enhanced chaining functionality, multiple utility methods, multi-type sorting capability, etc. Class Declaration Following is the declaration for com.google.common.collect.Ordering<T> class − @GwtCompatible public…

Continue ReadingGuava – Ordering Class