Class CastMapper<T,R>

java.lang.Object
com.arpnetworking.utility.CastMapper<T,R>
Type Parameters:
T - Input type
R - Output type
All Implemented Interfaces:
Function<T,R>

public class CastMapper<T,R> extends Object implements Function<T,R>
Map method that just casts to another class.
Author:
Brandon Arp (brandon dot arp at inscopemetrics dot com)
  • Constructor Details

    • CastMapper

      public CastMapper()
  • Method Details

    • apply

      public R apply(T parameter)
      Specified by:
      apply in interface Function<T,R>