Re: How to Implement Lazy Loading for Faster Web Portals Programming Web Development by gediminas.bukauskas.7 … into bundles and don't use one huge bundle: create collection of bundles. Switch on JavaScript type=module and load software… Re: Collection ? <?> Programming Software Development by ceyesuma …; All Implemented Interfaces: Iterable<E>, Collection<E> Direct Known Subclasses: AbstractList, AbstractQueue… AbstractCollection<E> extends Object implements Collection<E> This class provides a … implement this interface. To implement an unmodifiable collection, the programmer needs only to extend this… Re: Collection ? <?> Programming Software Development by ceyesuma Here is another helpful example given: The collection contains the same type of objects as …example, if the returned list contains Integers, then the Collection will also contain Integers. In this case the declaration … look something like this... import java.util.Collection; Collection<Integer> search = searchQuery1.getResultList(); Collection ? <?> Programming Software Development by ceyesuma If I have this line in the code[icode]java.util.Collection search = searchQuery1.getResultList();[/icode] Is this a collection of <list>? and can I find out if search should be named"Search" or does it have to be instantiated of something? Re: Collection ? <?> Programming Software Development by Ezzaral Thanks for posting generic information on a Collection for whoever might randomly need such, but it doesn't …change the fact that the actually return type of that collection can only be ascertained by the api itself. Perhaps you… Re: Collection ? <?> Programming Software Development by Ezzaral There is absolutely no way to tell the type of the collection from that line of code. The return type of that method will be documented by whatever API describes the class of "searchQuery1". The question about "search" vs "Search" doesn't make any sense - it's your variable declaration, call it whatever you want. Collection Programming Software Development by dinilkarun i have the things listed below dim col_values as new collection dim var_list(100) as variant i want to add var_list1 to col_values under a key say"k" i try using this col_values.add var_list1,"k" but this is throwing up an error. Please help me........ Re: Collection Programming Software Development by QVeen72 Hi, the problem is, you have not mentioned Array's Index , Try this : col_values.add var_list1(2), "k" Also check Key (k) should be Unique in the Collection. What is the error..? Regards Veena Collection problem Programming Software Development by OffbeatPatriot …} } } return result; } public boolean removeAll(Collection c) { boolean result = actorList.removeAll(c); for…} } } return result; } public boolean retainAll(Collection c) { return actorList.retainAll(c); } public void… Collection glitch Programming Software Development by Start4me …on the Math item, I want a new collection of items to be added to the listbox after…the "MathDep" - previous collection of items before importing the collection of items again. Here is the code…;, "Utkin, Boris"}) 'Adds the new collection of items Dim str As String For Each str In… Collection Comparison Problem Programming Software Development by lrh9 …, in my problem equal elements are significant. E.g. the collection of "foo", "bar", "baz&…;foo", "bar", "baz". However, the collection of "baz", "foo", "bar"…;, "baz" would be the same as the collection of "bar", "baz", "foo&… Re: Collection problem Programming Software Development by OffbeatPatriot Something I didn't mention, actors is an instance of Cast, and location is a map with Actors for keys. I'm looking at the documentation for removeAll and it takes a collection, and removes all elements in that collection. Re: Collection problem Programming Software Development by javaAddict … tried to declare the method like this: [CODE] boolean removeAll(Collection<Actor> c) [/CODE] Also in order for the… the elements in your list with the ones in the Collection in order to remove them. I order to compare them… Re: Collection problem Programming Software Development by javaAddict … didn't notice but that method takes as argument a collection and removes those elements that are inside the… Re: Collection problem Programming Software Development by BestJewSinceJC … that method takes as argument a collection and removes those elements that are inside the collection.[/QUOTE] Yeah, I was confused because… Re: Collection glitch Programming Software Development by deceptikon > I can't figure out how to clear the "MathDep" - previous collection of items before importing the collection of items again. MathDep.Clear() Since you're using a hardcoded collection, you can just clear `MathDep` when you clear `ListBox1.Items`. Re: Collection problem Programming Software Development by javaAddict Because the toRemove, doesn't have an Element actors: [CODE]toRemove.removeAll(actors);[/CODE] Look the API, it removes the element you put as input. I assumed that added Actor instances, not Collection instances. Also look at the API for a better description Re: Collection problem Programming Software Development by OffbeatPatriot … as occupying space on the grid, and yet the central collection of actors doesn't contain it, it is no longer… Collection Index Error Programming Software Development by chamnab Dim aa, bb As New Collection For Each user As User In allUser Dim character As … for find first letter (a-b) and add it to collection (aa,bb) but when i run , i get error "…;System.IndexOutOfRangeException: Collection index must be in the range 1 to the size… Re: Collection Index Error Programming Software Development by Reverend Jim … and clearer Dim aa As New Collection Dim bb As New Collection For Each user As String In … names.ContainsKey(firstLetter) Then names.Add(firstLetter, New Collection) End If names(firstLetter).Add(user) Next For Each… Re: Collection items will not update Programming Software Development by Start4me … project properties, and in the settings, where I have the collection, I go there to add more items manually, but the… save changes" or something like that. That way, the collection updates with the edits I've made, so the next… time I add the collection to the listbox, my changes I've done previously to… Re: Collection object with flexgrid Programming Software Development by pinkyguru … wat is the need of storing in collection.. i am trying to store in collection with the row number i placed in… grid.. if the same item comes again to collection. it will… check with collection and get the row number.. then send the… collection of beans Programming Web Development by paski … (add actual bean to a some sort of collection or do something with collection of previously created beans). The form page looks… form and add it to some sort of array or collection" [/code] Does anybody have an idea? Collection object with flexgrid Programming Software Development by pinkyguru hi, I am having a prob in collection object...My prob is Server sends a data and i … data comes.i just want to refer the collection and if exists in collection , using the row number i want to replace… Collection of FileFilter objects Programming Software Development by Mitja Bonca … load I specified the filter available: [CODE]Collection<FileFilter> filters = new Collection<FileFilter>(); filters.Add(new FileFilter("… to know how can I fill the comboBox with the Collection of FileFilter objects (with "Word Documents" and "… Re: Collection object with flexgrid Programming Software Development by vb5prgrmr … considered as your row numbers. [code] Dim C As New Collection, FoundItem As Boolean, ForLoopCounter As Integer C.Add "Info… the loop counter. Just remember to add them to the collection the say way you added them to the grid. Then… Re: Collection Index Error Programming Software Development by tinstaafl Just from a glance it looks like you're not referencing your collection right, try changing b.Add(user) to bb.Add(user) and a.Add(user) to aa.Add(user) You might want to think about making option explicit it'll catch errors like this. Re: collection of beans Programming Web Development by paski … instance of bean... formList.add(fc); ... and add it to collection, but it seems too complicated (especially when form has about… Collection items will not update Programming Software Development by Start4me … button and a listbox. After clicking on the radiobutton, a collection of items will be added into the listbox. I'm… trying to go back to the collection I've started working on to edit a System.Collections… Re: Collection items will not update Programming Software Development by G_Waddell Hi, I don't see where you are removing items from your collection. I only see you adding and removing from your listbox.