Questions tagged as 'object'

1
answer

Generate a result for each document.getElementById

I have the following code js that does the following: Shows in an orderly fashion what it recovers from an array in a select but I do not know how to make print on it if the selected product is solid or liquid .. I have blocked, and therefore...
asked by 03.02.2018 / 21:42
2
answers

Can a boolean be modified in a serializable binary file?

As I read on some websites, you can not modify the object, but you can change the value of a Boolean variable. The point is that I do it in the following way and it does not show any error, but when I make the modification and print the object i...
asked by 25.01.2018 / 22:30
3
answers

Contructor of an array of objects - Angular 2

I am using typescript to program in Angular2. I have an object car.ts the is as follows: export class Car{ name: String; door: { position: String; id: Number; }; } I have initialized the object in t...
asked by 17.01.2018 / 16:45
0
answers

How to get specific data of a node in Firebase, or the specific Data of a Java Object

I have these nodes, each of these nodes contains data, They are structured in this way In the "MainActivity" I have a map, on the map there are three markers Each one of these markers contains data which are so I rescue the dat...
asked by 05.05.2017 / 04:47
1
answer

Work with a serialized object extracted from a file.ser in Java

Good afternoon. I am a beginner in Java and I am working right now with the storage of objects in serialized files using the methods of class Object ( ObjectInput and ObjectOutput ). When I save the object I do not have...
asked by 07.02.2017 / 19:57
1
answer

How can I delete an object from a vector, and then rearrange the vector? [duplicate]

I need to delete an object from a vector, regardless of the position, and if the object leaves an empty space, the vector must be re-accommodated until the last empty space is left, this is what I have: public void remove(short pos){ boo...
asked by 22.10.2016 / 05:59
2
answers

Difference between HTML object and JAVASCRIPT object and how to access and give attributes to javascript objects

// //GLOBAL VARIABLES var box = document.getElementById('game-board'); var cardElement; var cardsInPlay= []; var cardNodes = []; var random; var cards = [ { rank: 'king', pic: 'images/king-of-diamonds.png', }, {...
asked by 07.12.2017 / 17:14
2
answers

return array of php objects [closed]

Hi, I have a function in php that returns an array of objects but when doing a var_dump it shows me this: object(ArrayObject)#8 (1) { ["storage":"ArrayObject":private]=> array(0) { } } $conductor=new Conductor($fila['dni'],...
asked by 08.02.2018 / 21:55
1
answer

Problem sending objects by Java socket

I have to create two client-server applications to send a person type object from the server to the client. The problem is that reading it in the client gives error because it has not found the class. I put the code, the truth that I do not give...
asked by 11.05.2018 / 09:43
2
answers

calling a class from another without a StackOverFlowError occurring

Greetings, I have a program divided by packages and I also divide the logic of the interface, I am using the DAO and Factory models. I have some Get methods within a JFrame - I'll call it Class A - that refer to text fields, access t...
asked by 12.06.2016 / 18:11