Questions tagged as 'objeto'

3
answers

How to declare a list of objects and then assign data? C #

I tried to find information about it and found that I can declare the list as follows: var list= new List"object"; but I do not take well the different types of syntax I find from examples on the Internet. How should I declare the list?...
asked by 17.05.2018 / 16:05
1
answer

Problem does not work setOnChildClickListener in ExpandableListView

I have an ExpandebleListView as a menu in a navigationDrawer, I need to add event listenes to the child items, however I do exercise for each parent and child group, in the parent groups you can get the position with setOnGroupClickListener fo...
asked by 27.10.2017 / 17:42
1
answer

Difference between iterable objects, iterator and containers in Python 3

I have seen that in Python 3 there are iterable objects, objects iterator and there are also containers . My questions are: What is the difference? Can everyone walk in a loop? In all of them can its elements be accessed through indexes?...
asked by 08.07.2017 / 02:40
2
answers

Convert URL to Object (JavaScript)

I am working on a personal project (using node.js) where I need to get the route of the GET request, for example "/path/to/content" , transform it into an Object and make it look like this: { "path": { "to": { "content":[...
asked by 27.12.2018 / 17:49
1
answer

Drawable image in java object

How can I introduce a drawable element (in this case an image) into a java object? In this case here: public Receta(String nombre, String elaboracion, String dificultad, String ingredientes, Drawable imagen) { this.nombre = nombre;...
asked by 26.10.2018 / 12:44
1
answer

Variable in object path

I'm doing a personal project where I try to recover JavaScript Objects through URL, a kind of RESTful service so I need to convert the routes of my URL in JSON routes to recover the object in question, I do this from the following way:    Tur...
asked by 27.12.2018 / 21:27
2
answers

How to search for an object in Array?

What I want to achieve is, look for an object in array . Always return -1 whatever you want to say that you can not find any match in array to get your index and then delete that element. I print the array twice, the first...
asked by 01.03.2018 / 16:45
1
answer

Get the name of an object in C #

Can I get the name with which I have instantiated an object and save it in a string? float[] objeto1 = new float[4]; float[] objeto2 = new float[5]; new Vectores().MejoresAlumnos(objeto1 , objeto2); class Vectores...
asked by 02.11.2017 / 18:41
2
answers

Because in the console it indicates an arrangement of 3 objects, but when displaying its information, it only has 2 objects?

I have this situation: in this image I print an arrangement that as you will see it says 3 objects but when displaying its information it only has 2 objects and when crossing it effectively it returns the information of 3 objects. Which may be?...
asked by 10.10.2018 / 00:38
4
answers

Obtain object type in c #

Suppose the following code: public struct Result { public object objectResult public Type objectType; } Result resultado = CualquierFuncion(); The CualquierFuncion function would be something like this: public Result Cualq...
asked by 26.05.2017 / 15:56