Questions tagged as 'interface'

1
answer

PyQT calling file created by QtDesigner

I developed a dialog in PyQt with Dialog with Buttons Right template, but when calling in my main class it returns an attribute error. I saw in the YT video that the guy used the Main Window as a template and he just installed Main_principal cla...
asked by 08.02.2017 / 16:30
1
answer

Get a class that has a certain interface implemented in generics [closed]

Hello. I want to do something like metodo(Class<? extends ClasseAbstrata> classe) , except that an abstract class, I want to use a interface , but if I change from extends to implements eclipse starts to point...
asked by 24.06.2016 / 23:51
1
answer

How to create the docker file of a maven java SE program?

Actually I wrote a maven java SE application using netbeans and made a CRUD for some entities that are persisted in the bank through JPA. I would like to know if it is possible to run a textual interface of this program in DOCKER A web applicat...
asked by 12.08.2016 / 22:03
1
answer

How can I make my code with fewer rows?

I currently have a large number of lines in my code: Below the player insertion part, these players will have the names searched from the bank and sent by cmb box. private void Verificar() { String jogadores = JOptionPane.showInputDialo...
asked by 10.08.2016 / 02:06
1
answer

What is the Traversable interface used in PHP?

In the PHP Manual we can see that some classes that can be iterated with foreach implement an interface called Traversable . For example, the class DatePeriod Then, when I have implement an interface object with Tr...
asked by 04.02.2016 / 14:30
1
answer

How to assign a Json source from an interface

   I'm trying to generate an interface from a Json file but this one   giving error, what would be the error in my code? export interface Compra { event: string; timestamp: number; custom_data: number; value:...
asked by 11.09.2018 / 19:09
1
answer

Duvida Interface asp.net mvc [closed]

Good evening, I have a doubt, I chose to work with generic interface and my doubt is: Does every entity need to have an interface inheriting from the generic interface? Ex: public interface IPessoaRepositorio : IRepositorio<Pessoa> Or...
asked by 29.01.2018 / 01:19
1
answer

Duvida Exercises Collections - Interface Queue

Personal I have a question in this exercise about Collections where I should use the Queue interface: Write a program that simulates control of an airplane runway at an airport. In this program, the user must be able to perform the following...
asked by 12.09.2017 / 21:38
1
answer

JAVA Attributes Handling

Good afternoon, I have a college job and it's the first semester I'm learning java. The work basically is: Make an interface that would represent any geometric shape, specify area and perimeter methods; Make an abstract class that would...
asked by 11.03.2017 / 20:53
1
answer

c ++ - How to pass parameters between windows in Qt? [closed]

Hello, I'm trying to pass a Mat parameter from one window to another, being activated by the click of a button. The program normally compiles and executes, but when clicking the button that activates the event, the program of a chrash in the exe...
asked by 28.08.2016 / 00:54