Class Index.Z<Target>

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static Index.Z<?> INSTANCE  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private Z()  
    • Field Detail

      • INSTANCE

        private static final Index.Z<?> INSTANCE
    • Constructor Detail

      • Z

        private Z()
    • Method Detail

      • set

        public <L extends HList.HCons<Target,​?>> L set​(Target newElement,
                                                             L hList)
        Description copied from class: Index
        Set a new value of the same type at this index in an HList.
        Specified by:
        set in class Index<Target,​HList.HCons<Target,​?>>
        Type Parameters:
        L - the inferred tail type of the HList
        Parameters:
        newElement - the new value
        hList - the HList
        Returns:
        the updated HList
      • instance

        public static <Target> Index.Z<Target> instance()