After defining variables and checking to see if the video interface is available, a display surface is initialized that USES hardware video memory.
定义变量且检查视频接口是否可用之后,使用硬件视频内存的显示表面初始化。
2
By extending the PasswordHandler interface, a developer can create a class to implement the password-checking logic.
通过扩展PasswordHandler接口,开发人员可以创建一个类来实现密码检查逻辑。
3
Please also note that in my original code we are doing type checking (on the object I am trying to mock) so I don't think that Interface mocking can help me in anyway.