Class IdentMapper<E>

  • Type Parameters:
    E - element type
    All Implemented Interfaces:
    java.io.Serializable, java.util.function.Function<E,​E>

    public class IdentMapper<E>
    extends java.lang.Object
    implements java.util.function.Function<E,​E>, java.io.Serializable
    Identity mapper.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static IdentMapper INSTANCE
      Singleton instance
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private IdentMapper()
      Prevent construction.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      E apply​(E v)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.function.Function

        andThen, compose
    • Field Detail

      • INSTANCE

        public static final IdentMapper INSTANCE
        Singleton instance
    • Constructor Detail

      • IdentMapper

        private IdentMapper()
        Prevent construction.
    • Method Detail

      • apply

        public E apply​(E v)
        Specified by:
        apply in interface java.util.function.Function<E,​E>