Specific Implementations Almost every programming language provides support for list data structures. They are particularly common in functional languages, because their inductive properties lend themselves to elegant iterative and recursive abstractions. In Python, a list is what is referred to as ...

learn more… | top users | synonyms (1)

1
vote
0answers
7 views

WPF : Design Datatemplate for List

I have a List with a DataTempalte that shows the text and a "x" button next to it. I want the "X" btn to be shown at the extreme right, so they all appear in same place. The XML I use is : ...
5
votes
1answer
33 views

Java Syntax for a list of comparable objects

I'm writing a method that takes as its only parameter a list of comparable objects and doesn't return anything. I am uncertain as to the syntax that it should have: public static void ...
0
votes
0answers
50 views

Why is the F# list a linked list rather than an array list? [closed]

Possible Duplicate: Why does F# prefer lists over arrays? It strikes me as odd that F#'s List module is implemented as a linked list rather than an array-based one (such as ...
0
votes
3answers
43 views

C# Hastable of Objetcs

I have objects in hashtable, in that object I have a list, how to access it? ls.cs class lh { public string name; public ...
4
votes
5answers
81 views

Best way to print list output in python

I have a list and a list of list like this >>> list2 = [["1","2","3","4"],["5","6","7","8"],["9","10","11","12"]] >>> list1 = ["a","b","c"] I zipped the above two list so that i ...
1
vote
0answers
17 views

Drag elements into a droppable list, into the proper position

Is there any way to drag elements onto a sortable (droppable) list? And have them added into the proper position in the list? At first I thought I could just do this with a function using a ...
0
votes
1answer
17 views

SWI-Prolog CGI cgi_get_form(Arguments) web hidden form

I have a problem passing the input type="hidden" form with the CGI library of SWI-Prolog. Specifically I do: <form id="frmCGIPrologIni" name="frmCGIPrologIni" method="post" ...
0
votes
2answers
13 views

Varying size list

My problem is I have a bunch of 'objects'. These objects can have a list of words of up to 3 words and can also have none. For mysql I already have a row per each object and im trying to figure out ...
0
votes
1answer
27 views

Android Fragment Re-size

I am developing an application Android to have the option to reduce the size of a fragment is possible? Example: Min width = 200 Max width= 500 View: Fragment 1 - CLIENT LIST ...
2
votes
2answers
70 views

Convert a unicode string to its original format

I have a list with the following format after storing in a file list_example = [ u"\u00cdndia, Tail\u00e2ndia &amp; Cingapura", u"Lines through the days 1 (Arabic) ...
1
vote
2answers
48 views

Update Generic list<T> using LINQ

I am looking a way to update index property of generic list Item. For example I have a class: public class ItemInfo { public int SRNO { get; set } public Name{ get; set } } now I ...
1
vote
3answers
52 views

Wrong Checkbox selection in Android?

In my Apps, I am selecting the Items to Order. My Problem here is If I check the Checkbox to Order even another Checkbox is also has been checked. Means If I select single Item , two Items are getting ...
0
votes
0answers
31 views

DeferRefresh Error in C#

When I'm binding my list to data grid after updating of data grid it gives me error like "DeferRefresh' is not allowed during an AddNew or EditItem transaction" so how can i overcome my problem ...
3
votes
5answers
71 views

Why does the + operator not change a list while .append() does?

I'm working through Udacity and Dave Evans introduced an exercise about list properties list1 = [1,2,3,4] list2 = [1,2,3,4] list1=list1+[6] print(list1) list2.append(6) print(list2) list1 = ...
0
votes
2answers
20 views

How to pass a list/menu value as a class to an element?

I have a dropdown list/menu and each option has a value. I would like that value to be passed to an element to determine the desired styling. Here is my raw html, hoping jquery is capable of doing ...

1 2 3 4 5 762
15 30 50 per page