java (56,118)


.net - Difference between Math.Floor() and Math.Truncate()

.net - Difference between Math.Floor() and Math.Truncate()

What is the difference between Math.Floor() and Math.Truncate() in.NET?…


Java lib or app to convert CSV to XML file?

Closed. This question is off-topic.It is not currently accepting answers. Want to improve this question? Update the question so it's…


java - How would you access Object properties from within an object method?

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, argument…


.net - Create a SQLite database based on an XSD Data Set

Does anybody know if there is a way to create a SQLite database based on an XSD DataSet? In the past I've just used a basic SQLite manager, but want to fuse things a bit more with my.NET development…


BerkeleyDB Concurrency

What's the optimal level of concurrency that the C++ implementation of BerkeleyDB can reasonably support? How many threads can I have hammering away at the DB before throughput starts to suffer beca…


c++ - Should I use nested classes in this case?

I am working on a collection of classes used for video playback and recording. I have one main class which acts like the public interface, with methods like play(), stop(), pause(), record() etc... Th…


Generate list of all possible permutations of a string

How would I go about generating a list of all possible permutations of a string between x and y characters in length, containing a variable list of characters. Any language would work, but it should b…


What is the meaning of the type safety warning in certain Java generics casts?

What is the meaning of the Java warning ? Type safety: The cast from Object to List<Integer> is actually checking against the erased type List I get this warning when I try to cast an Object to a type…


search - Lucene Score results

In Lucene if you had multiple indexes that covered only one partition each. Why does the same search on different indexes return results with different scores? The results from different servers match…



What is the difference between an int and an Integer in Java and C#?

I was reading More Joel on Software when I came across Joel Spolsky saying something about a particular type of programmer knowing the difference between an int and an Integer in Java/C#(Object Orient…




how example and with from string for python class using