Package com.complexible.common.inject

# Class Providers

java.lang.Object
com.complexible.common.inject.Providers

public final class Providers extends Object

Since:
  2.1
Version:
  2.1
Author:
  Michael Grove

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static <T> com.google.common.base.Function<com.google.inject.Provider<T>,T>`
  `get()`
  `static <T> T`
  `or(com.google.inject.Provider<T> theProvider, T theDefault)`
  `static <T> T`
  `orNull(com.google.inject.Provider<T> theProvider)`

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

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

- ## Method Details

  - ### orNull

    public static <T> T orNull(com.google.inject.Provider<T> theProvider)

  - ### or

    public static <T> T or(com.google.inject.Provider<T> theProvider, T theDefault)

  - ### get

    public static <T> com.google.common.base.Function<com.google.inject.Provider<T>,T> get()