cpw.mods.fml.common.functions

## Class TypeCastFunction<T>

- java.lang.Object
- - cpw.mods.fml.common.functions.TypeCastFunction<T>

- All Implemented Interfaces:
    com.google.common.base.Function<java.lang.Object,T>

      public class TypeCastFunction<T>
      extends java.lang.Object
      implements com.google.common.base.Function<java.lang.Object,T>

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `TypeCastFunction(java.lang.Class<T> type)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `T` | `apply(java.lang.Object input)`

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

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

    - ### Methods inherited from interface com.google.common.base.Function

      `equals`

- - ### Constructor Detail

    - #### TypeCastFunction

          public TypeCastFunction(java.lang.Class<T> type)

  - ### Method Detail

    - #### apply

          public T apply(java.lang.Object input)

      Specified by:
        `apply` in interface `com.google.common.base.Function<java.lang.Object,T>`