Skip to main content

Questions tagged [object]

An object is any entity that can be manipulated by commands in a programming language. An object can be a value, a variable, a function, or a complex data-structure. In object-oriented programming, an object refers to an instance of a class.

object
-2 votes
1 answer
39 views

In JavaScript, how do I check if there are objects with the same value in an array? (a little different) [closed]

How do I check if there are objects with the same value "name" in an array? Input: [ { "name": "blabla", "value": "537,52" }, ...
eyuq's user avatar
  • 1
-3 votes
0 answers
33 views

How could I filter out a text file to add instances of an object?

I'm currently doing an assignment where I create a takeaway shop. People can load their own text files that has menus for different takeaway shops, for example one text file has the menu for one ...
Legois's user avatar
  • 1
0 votes
0 answers
6 views

YamlDotNet - how to handle versioning after object update?

I'm using YamlDotNet in my projects for quite a while, though I could use your help with the following issue I'm facing as one of the projects is evolving. Imagine I'm serialising the following ...
Mike's user avatar
  • 1,300
0 votes
0 answers
14 views

Vscode not importing System.Object or any other library

I am encountering an issue with Visual Studio Code where it is not recognizing inherited files correctly. Initially, I had a problem where, in multiple places, class A inherits from class B, but VS ...
Condor mitnick 's user avatar
-1 votes
0 answers
20 views

Output an object's value without looping [duplicate]

I'm trying to var_dump the guid value in this object without setting up a foreach loop. I think the ["2"] key is throwing me off. This data is coming from the Toast API. Any help would be ...
Rob Myrick's user avatar
0 votes
1 answer
50 views

R Class Method Without Object Creation

In R Reference class, it seems a class object must be created before using any of its methods. Is there a way to avoid object creation, like in Python, at least for cases which the reference class has ...
温泽海's user avatar
  • 344
4 votes
1 answer
91 views

Assign base object without changing inherited ones?

How valid is it to assign a new object to a base one, without changing the inherited ones? The example below works as expected, but is it by chance? This example is simple, but is there any situation ...
T.L's user avatar
  • 684
0 votes
0 answers
26 views

How do get search filter data in es6

// Filter rows based on string values and exclude from whiteList const whiteList = rows.map(sel => sel.RuleAutoID); // Array of IDs to exclude console.log('whiteList', whiteList); // Assuming you'...
user1931511's user avatar
-2 votes
0 answers
75 views

Are there objects for primitive data types? [duplicate]

If the object represents a data type, is the variable for a primitive data type like an integer also an object representing this type, or do objects not represent primitive data types? // Let's assume ...
Ahmed Hamed's user avatar
0 votes
0 answers
43 views

Python multiprocessing pool with class objects

This code is runnable I get an empty array "link" although I should get an array with objects in it, when I print link in func_b it is not empty Self should refer to the object, but I guess ...
logn's user avatar
  • 150
0 votes
0 answers
11 views

What kind of Rest APIs used to upload file into the Object Storage in Oracle APEX. Note : No PAR URL/API [closed]

I need to find wat kind of Javascript API's used to upload files into the Object storage in Oracle APEX technology. And good to have JavaScript optimized code for this. I need only source code or name ...
Yogesh Jagtap 's user avatar
-2 votes
2 answers
42 views

I want to return a key using Lodash when it contains a particular value

I have an object like this: const obj = { 'MONEY-OUT': { USD: ['a', 'b', 'c'], EUR: ['d', 'e', 'f'], }, 'MONEY-IN': { USD: ['g', 'h', 'i'], EUR: ['j', 'k', 'l'], }, }; and I ...
testerJuan's user avatar
3 votes
2 answers
58 views

Traverse over tree type structured data uing JavaScript

I have a data set having parent and nested children in it. The purpose of this data is to traverse over parent to -> child1 to-> Child1Child ..... -> child2 to -> child1 to -> child2 ...
vikas dhiman's user avatar
0 votes
0 answers
11 views

How do I create a gating function for a CNN-based object detection model

I was following this tutorial (https://tree.rocks/a-simple-way-to-understand-and-implement-object-detection-from-scratch-by-pure-cnn-36cc28143ca8) and tried to implement a gating function for my own ...
Ryan's user avatar
  • 1
-1 votes
0 answers
20 views

understanding json_decode data [duplicate]

When I use json_decode and look at the results, I get a list of objects and arrays. I specifically want to retrieve one piece of information, but I'm not sure how to get it. I seem to have a stdClass ...
kenwat's user avatar
  • 1

15 30 50 per page
1
2 3 4 5
4344