$Gson$Preconditions
Date: 2016-11-03

com.google.gson.internal

## Class $Gson$Preconditions

- java.lang.Object
- - com.google.gson.internal.$Gson$Preconditions

-     public final class $Gson$Preconditions
      extends java.lang.Object

  A simple utility class used to check method Preconditions.

       public long divideBy(long value) {
         Preconditions.checkArgument(value != 0);
         return this.value / value;
       }

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static void` | `checkArgument(boolean condition)`
    `static <T> T` | `checkNotNull(T obj)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### checkNotNull

          public static <T> T checkNotNull(T obj)

    - #### checkArgument

          public static void checkArgument(boolean condition)