Class DefaultTmaKeyProcessingService

java.lang.Object
de.hybris.platform.b2ctelcoservices.services.impl.DefaultTmaKeyProcessingService
All Implemented Interfaces:
TmaKeyProcessingService

public class DefaultTmaKeyProcessingService extends Object implements TmaKeyProcessingService
Default implementation for TmaKeyProcessingService.
Since:
2302
  • Constructor Details

    • DefaultTmaKeyProcessingService

      public DefaultTmaKeyProcessingService()
  • Method Details

    • distinctByKey

      public <T> Predicate<T> distinctByKey(Function<? super T,?> keyExtractor)
      Description copied from interface: TmaKeyProcessingService
      Returns collection having unique values of the given attribute of the object.
      Specified by:
      distinctByKey in interface TmaKeyProcessingService
      Parameters:
      keyExtractor - the attribute whose unique values are required in the collection.
      Returns:
      a collection having unique values of the given attribute of the object.