开发者交流平台
开发者交流平台

通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。

bj
登录
  • 友情链接
站内
generics

generics

go

C# 泛型结构的隐式转换

英文: C# implicit cast for generic struct 问题 I have a generic class that acts as some wrapper for my o...
huangapple 2023年4月4日132评论c# generics
go

通用函数,无法以匿名形式定义吗?

英文: Generic function, can't be defined in form of anonymous? 问题 func f[T any](t T) T { var resul...
huangapple 2023年4月3日156评论generics go
go

How to wrap a class that has generic type methods with a class that has a generic type and no generic type arguments on the methods?

英文: How to wrap a class that has generic type methods with a class that has a generic type and no ge...
huangapple 2023年4月1日117评论generics typescript
go

Why does this show error when I write MyConsumer<String> implements Consumer<String>?

英文: Why does this show error when I write MyConsumer<String> implements Consumer<String>...
huangapple 2023年3月31日130评论java string
go

在TypeScript中根据泛型ResultType进行翻译。

英文: Depending Generic ResultType in Typescript 问题 Hi everyone! interface Data { date: Date; message?...
huangapple 2023年3月31日144评论javascript typescript
go

一个通用的值是一个集合

英文: A generic which is value is a collection 问题 我希望能够创建一个具有通用类型的类,并创建一个扩展,用于处理通用类型为Dictionary的情况。 例如...
huangapple 2023年3月31日113评论generics swift
go

如何动态创建一个结构体并将其用作泛型函数中的类型参数

英文: How to dynamically create a struct and use it as type parameter in a generic function 问题 这是一个可用的...
huangapple 2023年3月31日152评论generics go
go

在golang中为泛型函数编写单元测试

英文: Writing unit tests for generics function in golang 问题 我有这个简单的通用函数,用于从map中检索键: // getMapKeys 返回一个...
huangapple 2023年3月21日150评论go unit-testing
go

从接口约束的通用函数返回nil?

英文: Return nil from generic func constrained to interface? 问题 我即将将现有的代码迁移到使用Go泛型。这个非常基本的示例展示了问题: // ...
huangapple 2023年3月17日166评论generics go
go

如何在Scala中正确实现多态的函数式树数据结构?

英文: How to correctly implement a polymorphic functional Tree data structure in Scala? 问题 我正在尝试找出实现多态...
huangapple 2023年3月15日124评论generics scala
63

文章导航

1 … 12 13 14 15 16 17 18 19 20 … 63
name
开发者交流平台
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
文章117266 留言 4 访客17114372

热门标签

spring-boot javascript typescript html java spring css json android reactjs python c++ arrays node.js flutter c# r sql pandas go

悟已往之不谏,知来者之可追!

今日
00%
已00小时
本周
00%
已过00天
本月
00%
已过00天
今年
00%
已是00月

Copyright ©  开发者交流平台 版权所有.

闽 ICP 备 2022019110 号 - 1
  • 开发者交流平台

    本页二维码