Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Java is a high-level, platform-independent, object-oriented programming language originally developed by Sun Microsystems. Java is currently owned by Oracle, which purchased Sun in 2010.
4
votes
Accepted
Passing an inputStream vs String
It would generally be better for the parser to accept an InputStream, as this makes it more versatile and allows it to be used in more situations. It doesn't matter whether the data to be parsed is co …
5
votes
Testing a private method in Java
I'm having a hard time understanding exactly what it is that you're asking but it seems like your question is more to do with removing the usage of an actual HTTP request than anything to do with priv …
0
votes
What are the relevant design patterns to perform validations on an object?
Well the most obvious improvement would be that instead of the Filter class just being a bag of properties, and your single long method doing the filtering bases on these properties, "Filter" would be …
1
vote
How do I compare parameter- and returntypes at runtime?
A, B, and C should be different types, then you know which format you have by the type you are passed. There's no need for reflection or generics or any kind of run-time checks, you just have separate …