Skip to main content

Questions tagged [collections]

Collections APIs provide developers with a set of classes and interfaces that make it easier to handle collections of objects.

collections
-1 votes
0 answers
23 views

Java add method is not working during arraylist iteration [duplicate]

Add method is not working in Iteration of arraylist but remove method is working in iteration of arraylist. package thread; import java.util.ArrayList; import java.util.Iterator; import java.util....
Santhosh Kumar's user avatar
0 votes
1 answer
19 views

Fetch Textures From a Collection

Hello everyone who's reading. I'm trying to create a website where I can mouse scroll through "cards" that are all in a single line, seen with a iso view from the side. I've set up the scene ...
jamfury's user avatar
0 votes
1 answer
56 views

.Net collection performance for special use case

I am looking for a good starting point for my use case. My use case is somewhat special so a simple performance test with all the collections available will not do it. Performance is everything. ...
Iaman Swtrse's user avatar
-3 votes
0 answers
23 views

How to create collections block loop in shopify [closed]

{% if section.blocks.size > 0 %} <div class="collections-list"> {% for block in section.blocks %} {% if block.type == 'collections_block' %} {% assign collection ...
Akshar Makwana's user avatar
0 votes
0 answers
38 views

PowerApps: Storing all values from a multiple choice column into a collection

I have a choice column in SharePoint which allows multiple values from a separate lookup. When linking this to a PowerApp, is there a way to store all the values into a collection, so that when I ...
Jameel's user avatar
  • 11
0 votes
1 answer
60 views

Convert List<Task<T>>> to List<T> [duplicate]

I have this variable that should project and return a list of AttachmentRequestModel as follows : var mappedAttachments = recordAction .PPAttachments .Select(async x => new ...
Voice Of The Rain's user avatar
0 votes
0 answers
36 views

C# - Looking for an efficient way to add a range of numbers to a collection only replacing null elements

I would like to add a range of numbers to a collection but only replacing null elements. True would be returned if elements have been replaced, otherwise false. For example let's say I have a ...
user1423893's user avatar
0 votes
1 answer
19 views

Collection.Count shows zero even though Collection.GetEnumerator.Current contains a reference after MoveNext()

Note: An answer in either VB.NET or C# will be fine. I have no preference for this Q&A. I'm trying to test my networking code and I'm running into a very strange problem: the GatewayAddresses ...
InteXX's user avatar
  • 6,299
2 votes
1 answer
40 views

RavenDb - getting name of a collection

It seems RavenDb pluralizes object names when storing them. So a PhoneBook becomes PhoneBooks, and PhoneBookCategory becomes PhoneBookCategories. For any ByQueryOperation, if I write the query, I have ...
Stephan Steiner's user avatar
0 votes
0 answers
10 views

Swiperjs breaks when setting up Conditional Layouts on a Webflow CMS Page

I have a Webflow CMS Collection page that I'm using for my blog. In the design, I had two different swiper.js slider types (defined individually in codesandbox) that were working perfectly until I ...
Jill Gustaferri's user avatar
0 votes
1 answer
110 views

MVVM: How to handle a List of Models in the ViewModel?

I'm trying to create a MindMap programm using WPF with MVVM. I have a Model called "NodeModel" that has a list of Child NodeModels. public class NodeModel { public string Content { get; ...
Fleacon's user avatar
  • 17
0 votes
2 answers
53 views

Which method to use for Laravel Collection to find a Date between two DateTime

$period = new DatePeriod( new DateTime('2024-03-20 00:00:00'), new DateInterval('P1D'), new DateTime('2024-03-28 23:59:59') ); $suppliersInfo = OrderProduct::whereNotNull('brand') -...
Ferhat Nalbant's user avatar
-3 votes
1 answer
58 views

Cannot override method retainAll() of java Collection Interface [closed]

I am trying to implement the Collection interface of the java.util package by class ImplementCollectionInterface. Here the java compiler is giving an error: ImplementCollectionInterface is not ...
Prickriti's user avatar
0 votes
1 answer
83 views

How to combine multiple Collections (Queue or List) element by element?

I have 3 queues of records (of idential size and datetime order) and want to combine them record by record. It is similar to below: record BuyOrder(String date, String product, double buyPx) {}; ...
limestreetlab's user avatar
0 votes
1 answer
103 views

Java Generics Warnings

I've been studying generics in Java, and after learning from various sources, I attempted to build a generic class that accepts a Number or its subclass during instantiation. This class includes a ...
GOURAB MUKHERJEE's user avatar

15 30 50 per page
1
2 3 4 5
1607