interface
Any type and implementing generic list in go programming language
I\'m trying a little of go programming language. I\'m a excited about the simplicity of the Go, but after playing with it I met some troubles.[详细]
2023-04-12 07:59 分类:问答PHP: Passing Interface as Parameter
In .NET I have done that I passed Interfaces as parameters in class methods. I want to know is it possible in PHP?[详细]
2023-04-12 07:37 分类:问答How to add collections together that implement a common interface
I have setup my classes as below. So both collections implement a common interface - IChild. Is there a way for a method on the parent to return the common parts of each collection please?[详细]
2023-04-12 06:53 分类:问答Safe way in Delphi for a Form to distribute interface objects tied to its lifetime?
I have a Delphi Form that provides the functionality behind an interface object that other parts of the code get references too via a property belonging to the Form.I can\'t delegate the interface fun[详细]
2023-04-12 06:34 分类:问答variable declaration: why interface
I\'ve been doing some sax parsing in Java recently. I noticed the initialization for namespace mappings[详细]
2023-04-12 06:26 分类:问答Why does my call to a VB6 ActiveX DLL from C# app fail with "No such interface supported"?
I have a VB6 Active DLL that I\'m trying to call from C#. I\'ve converted it using tblimp and imported it into VS 2010.[详细]
2023-04-12 02:00 分类:问答Interface inside Class
Q1. Can I have an interface insi开发者_运维知识库de a class in java? Q2. Can I have an class inside an interface?[详细]
2023-04-12 00:14 分类:问答Abstracting objects between description and implementation
I feel like I know design patterns, but this is escaping me. I have two separate projects, one as a library for the other. The library reads XML files and parses them into data structures. It is only[详细]
2023-04-11 21:31 分类:问答Why would you declare an Interface and then instantiate an object with it in Java?
A friend and I are studying Java. We were looking at interfaces today and we got into a bit of an discussion about how interfaces are used.[详细]
2023-04-11 20:12 分类:问答How to design the interface for the Model in Model-View-Controller?
I understand how the MVC pattern works, but I\'ve always had this question. If you have a big Model with many functions delegated to various classes, do you have to define a big monolithic interface w[详细]
2023-04-11 19:24 分类:问答