query stringlengths 1 74.9k | positive stringlengths 0 174k | negative stringlengths 1 174k | label float64 1 1 | task_name stringclasses 33
values |
|---|---|---|---|---|
How to split string by ± in java | How to split a string in Java | how split string in java | 1 | stackoverflowdupquestions |
How to override the default JVM arguments in Eclipse? | How can I specify the default JVM arguments for programs I run from eclipse? | Running java with arguments from file in Eclipse | 1 | stackoverflowdupquestions |
Java WebDAV client side library | How to have my webdav client/server go faster? | How can I write a WebDAV server with Delphi? | 1 | stackoverflowdupquestions |
cURL equivalent in JAVA | How to use cURL in Java? | Android cUrl api | 1 | stackoverflowdupquestions |
Java NetBeans IDE - Animation Flickering in JPanel | Java flickering JPanel | Flickering in Java awt (how to use a buffer?) | 1 | stackoverflowdupquestions |
JavaFX Minimizing Undecorated Stage | How to Minimize undecorated stage when taskbar icon is clicked | creating undecorated stage in javafx 2.0 | 1 | stackoverflowdupquestions |
Question about decorator pattern and the abstract decorator class? | Why do we need the decorator in the decorator design pattern? | Decorator Pattern with operation pass-through? | 1 | stackoverflowdupquestions |
In Java, is the "finally" block guaranteed to be called (in the main method)? | Does a finally block always run? | Effect of "finally" block on return values from "try" block | 1 | stackoverflowdupquestions |
JFreeChart different colors in different regions for the same dataSeries | How can i assign different colors to each dot in scatter plot using jfreechart in java? | jfreechart - setTicklabelFont is not working | 1 | stackoverflowdupquestions |
Why cast null to Object? | Why using a null cast as parameter? | Cast Object to Array | 1 | stackoverflowdupquestions |
resettable timeout in Java | Resettable Java Timer | Set a firefoxWebDriver.get(...) timeout | 1 | stackoverflowdupquestions |
Inherit method with unrelated return types | How to rectify? -- "both define getObjectCopy(), but with unrelated return types" -- but it's *one* function | Cannot inherit from Exception | 1 | stackoverflowdupquestions |
Understanding cluster state update | How does node know which nodes have seen the cluster current state? | Understanding Code in Java | 1 | stackoverflowdupquestions |
Circular dependency in Spring injection - Is this bad design? | Circular dependency in Spring | array dependency injection in spring? | 1 | stackoverflowdupquestions |
Struts 2 convention plugin - upload a file of more than 2 MB | Change default error message for upload files on struts 2 | How to do for each in Struts 2 | 1 | stackoverflowdupquestions |
Java Wrapper equality test | java object equality not working | How can this equality statement be false? | 1 | stackoverflowdupquestions |
404 when calling Jersey 2 REST endpoint on Glassfish | rest service url not working (404) -Glassfish | Difference com.sun.jersey and org.glassfish.jersey | 1 | stackoverflowdupquestions |
Set the Background Color for JTabbedPane | How can i change jtabbedpane selected tab background color | Issue with JTabbedPane | 1 | stackoverflowdupquestions |
Comparing the values of two generic Numbers | Comparing Numbers in Java | I need help Comparing two list in Java | 1 | stackoverflowdupquestions |
JSF vs Facelets vs JSP | Java EE vs JSP vs JSF | RuntimeBeanNameReference vs RuntimeBeanReference | 1 | stackoverflowdupquestions |
Java, StaX simple code but get parse error, premature end of file | Error while parsing XML file with StAx | StAX not returning all characters in a string | 1 | stackoverflowdupquestions |
Java Mouse Event Right Click | java : right click event | Getting the location of a mouse click event from a JButton | 1 | stackoverflowdupquestions |
AsyncTask in a simple class or in Activity? | AsyncTask neasted or own class? | After ASyncTask.execute() do x() from Activity | 1 | stackoverflowdupquestions |
403 error while getting the google result using jsoup | JSoup.connect throws 403 error while apache.httpclient is able to fetch the content | Java jsoup print class's text | 1 | stackoverflowdupquestions |
What is the meaning of "static synthetic"? | Synthetic Class in Java | What is the format of Synthetic Attributes in java? | 1 | stackoverflowdupquestions |
How many String objects will be created | How many string objects this program will create | How many string objects are created for the following? | 1 | stackoverflowdupquestions |
Standalone JavaFX application | Is JavaFX a choice for Dynamic GUI for desktop or standalone applications? | Package for standalone program | 1 | stackoverflowdupquestions |
Spring Boot Error: java.lang.NoSuchMethodError: org.apache.tomcat.util.scan.StandardJarScanner.setJarScanFilter | Spring Boot exception: java.lang.NoSuchMethodError: StandardJarScanner.setJarScanFilter(Lorg/apache/tomcat/JarScanFilter;)V | java.lang.NoSuchMethodError: com.google.common.collect.Sets.newConcurrentHashSet | 1 | stackoverflowdupquestions |
Get key press without pressing enter in console | Read character from keyboard (console) without pressing Enter | pressing ENTER key do not work for JTextField in applet | 1 | stackoverflowdupquestions |
Working with OAuth with Java | Implement OAuth in Java | JOAuth, a java-based OAuth 1 (final) and OAuth 2 (draft 10) library. How do I use it? | 1 | stackoverflowdupquestions |
Programmatically evaluate a bean expression with Spring Expression Language | How to customize the programmatically evaluation of a bean expression with Spring Expression Language | Java Expression Evaluate | 1 | stackoverflowdupquestions |
Digest authentication in Android using HttpURLConnection | HttpURLConnection authentication mode | JAVA HttpURLConnection I/O Not working | 1 | stackoverflowdupquestions |
Where to close java PreparedStatements and ResultSets? | Quick fixes for closing ResultSets and PreparedStatements | Set a column alias with Java PreparedStatements | 1 | stackoverflowdupquestions |
Spring Security AuthenticationCredentialsNotFoundException, SecurityContextHolder.getContext is null | Spring's SecurityContextHolder.getContext().getAuthentication() returns null after RedirectView is used in HTTPS/SSL | Android View.getContext() on null object error when pressing back button | 1 | stackoverflowdupquestions |
Handling several implementations of one Spring bean/interface | Handling several implementations of one Spring bean/interface in one class field | What is the bean ID of spring bean implements an interface | 1 | stackoverflowdupquestions |
Send a file from JSP to controller which calls a method of interface -How do I upload a file from that request? | How to upload files to server using JSP/Servlet? | JSP and send object | 1 | stackoverflowdupquestions |
Java : Cartesian Product of a List of Lists | Get a Cartesian product? | Stream of cartesian product of other streams, each element as a List? | 1 | stackoverflowdupquestions |
java class using jaxb api failing in jira with : Provider com.sun.xml.bind.v2.ContextFactory not found | JDK 1.8 JAXB: Provider com.sun.xml.bind.v2.ContextFactory not found | converting jira json string to java object | 1 | stackoverflowdupquestions |
Load my own Xalan implementation where an older Xalan is loaded to the parent classloader | How to prevent xalan.jar that has META-INF\services\javax.xml.transform.TransformerFactory from taking over JDK 1.6 built in Xalan implementation? | Xalan problem with simple XSL trasformation | 1 | stackoverflowdupquestions |
Hibernate config file is incorrect? | How to fix config file of Hibernate? | Why is the following method incorrect in Java? | 1 | stackoverflowdupquestions |
How to programmatically rename a method using JDT | Use JDT to get full method name | Why I got no super classes with getAllSuperclasses() in JDT API? | 1 | stackoverflowdupquestions |
JAXB - Property "Value" is already defined. Use <jaxb:property> to resolve this conflict | Property "Any" is already defined. Use <jaxb:property> to resolve this conflict | Jaxb 2 mapping different element to the same property | 1 | stackoverflowdupquestions |
How to add values in a multi map | In multi map add duplicate values only (setting sum variable) | JOptiopane multi select | 1 | stackoverflowdupquestions |
Use of the Iterable and Iterator interface | What is the Iterable interface used for? | Why can't the java Iterable interface take a generics wildcard? Or: why can't I an overriding iterator() method return an Iterator for a subclass? | 1 | stackoverflowdupquestions |
remote debugging a jnlp application with IntelliJ | remote debugging a jnlp application with eclipse | ejbAccessException when starting JNLP java application | 1 | stackoverflowdupquestions |
Cannot find jni.h | jni.h: no such file or directory | Java Objects on JNI | 1 | stackoverflowdupquestions |
Algorithm negotiation fail SSH in Jenkins | JSchException: Algorithm negotiation fail | Jenkins-Traub algorithm open-source java port? | 1 | stackoverflowdupquestions |
What is the Most Efficient Java-Based streaming XSLT Processor? | What XSLT processor should I use for Java transformation? | How to set Saxon as the Xslt processor in Java? | 1 | stackoverflowdupquestions |
Filter Keyboard TextField Java FXML | Control keyboard input into javafx TextField | Setting the URL to my .fxml | 1 | stackoverflowdupquestions |
how to accept self-signed certificates for JNDI/LDAP connections? | How can I use different certificates on specific connections? | How to show all objectclasses description of ldap directory using jndi | 1 | stackoverflowdupquestions |
AbstractMethodError on resultset.getObject | Is there really `ResultSet.getObject(String, Class<T>) in JDK7? | java.lang.AbstractMethodError: org.apache.commons.dbcp.PoolingDataSource$PoolGuardConnectionWrapper.getClientInfo()Ljava/util/Properties; | 1 | stackoverflowdupquestions |
How to convert JSON array to java object | Convert a JSON string to object in Java ME? | How do I convert String array into Json Array | 1 | stackoverflowdupquestions |
How to reference a different Java project in Eclipse | Reference Output JAR Of Project In Another Project Eclipse | import from another java project in eclipse | 1 | stackoverflowdupquestions |
Is there a Java library for unsigned number type wrappers? | unsigned short in java | How to convert 'unsigned long' to string in java | 1 | stackoverflowdupquestions |
MBROLA voices with FreeTTS - Windows | text to speech in java using freetts | Can I use freetts to detect a specific sound from audio input? | 1 | stackoverflowdupquestions |
private static final fields | Why should data fields be static and final | The value of some fields is not used when i add private method | 1 | stackoverflowdupquestions |
Apache Commons FTPClient.storeFile() error Caused by: java.net.SocketException: Connection reset | Speed up Apache Commons FTPClient transfer | How to create a commons-net FTPClient from a URL | 1 | stackoverflowdupquestions |
JDBC MySQL connection using Unix Socket | UNIX socket implementation for Java? | JDBC MYSQL connection issue | 1 | stackoverflowdupquestions |
Convert Hex String to Binary String - Java | Convert hex string to binary string | How to convert a hex integer to string | 1 | stackoverflowdupquestions |
GXT 3.x : Dynamic freeze/lock columns. Autosize the grids | How to implement freeze column in GXT 3.x? | How to add a click event to the header of the GXT FramedPanel | 1 | stackoverflowdupquestions |
Populating a List with a contiguous range of integers | Populating a List with a contiguous range of shorts | Any Library For Populating Sample Data In Java Object | 1 | stackoverflowdupquestions |
Java String.indexOf and empty Strings | Java String IndexOf behaviour for empty string | Using indexOf in Java | 1 | stackoverflowdupquestions |
Getting first parent's fields via reflection | How to get fields of parent class using reflection | Getting value of int[] via reflection | 1 | stackoverflowdupquestions |
Hibernate exception PropertyNotFoundException when using Transformer | org.hibernate.PropertyNotFoundException: Could not find setter for 0 | Java XML Transformer | 1 | stackoverflowdupquestions |
Cassandra DataStax Driver NoHostAvailableException during large batch insert | How to efficiently use Batch writes to cassandra using datastax java driver? | NoHostAvailableException with 1000 concurrent request to Cassandra with DataStax Java Driver | 1 | stackoverflowdupquestions |
iText/BouncyCastle ClassNotFound org.bouncycastle.asn1.DEREncodable and org.bouncycastle.tsp.TimeStampTokenInfo | bouncycastle and iText versions | Timestamp Response is Incorrect - BouncyCastle | 1 | stackoverflowdupquestions |
How to Upload a file in GWT | How to Upload a file using GWT | gwt: How to use setEventListener? | 1 | stackoverflowdupquestions |
Reading wav file in Java | Problem with reading wav file with Java | writing double[] as WAV file in Java | 1 | stackoverflowdupquestions |
How to remove common values from two array list | Java Remove common elements between 2 ArrayList of objects | Most common values in an array | 1 | stackoverflowdupquestions |
safe publication and the advantage of being immutable vs. effectively immutable | Different between immutable and effectively immutable objects? | Why do we need immutable class? | 1 | stackoverflowdupquestions |
Grails and Google App Engine - Should I use them together? | Grails - Class "org.grails.tomcat.TomcatLoader" was not found in the CLASSPATH | help with grails map | 1 | stackoverflowdupquestions |
Benchmarking Java programs | Benchmarking inside Java code | How do I run Java programs (with what) | 1 | stackoverflowdupquestions |
Prefuse Toolkit: dynamically adding nodes and edges | Removing nodes from a Prefuse graph | How to visualize a Prefuse (Java) Table correctly? | 1 | stackoverflowdupquestions |
How does Integer.parseInt(string) actually work? | Does Integer.parseInt(String) creates object? | Integer parseInt method not found | 1 | stackoverflowdupquestions |
Why do you need to redefine serialVersionUID if you extends a class which implements Serializable "down the line"? | What is a serialVersionUID and why should I use it? | Does it matter what I choose for serialVersionUID when extending Serializable classes in Java? | 1 | stackoverflowdupquestions |
Inject PersistenceContext with CDI | @PersistenceContext is always null | CDI @Inject won't work, object stays null | 1 | stackoverflowdupquestions |
install rJava - "configure: error: One or more JNI types differ from the corresponding native type" | Trouble installing rJava on Mac ; trouble with JNI data types | Java Wrapper using rJava in R | 1 | stackoverflowdupquestions |
Mac.getInstance() for HmacSHA1 taking ages to execute | Java Mac.getInstance for HmacSHA1 slow | Eclipse 'loading descriptor' takes ages | 1 | stackoverflowdupquestions |
random unique number in java | How to have unique random number? | Generate Random & Unique Number and Insert into Database | 1 | stackoverflowdupquestions |
no enclosing instance of type... in scope | Android - "No enclosing instance of type 'some.abstract.class.name' class is in scope" error when extended | Java compiler gives error - No enclosing instance of type | 1 | stackoverflowdupquestions |
How to fix config file of Hibernate? | Hibernate config file is incorrect? | Do I need to register all the model class in hibernate config file | 1 | stackoverflowdupquestions |
Proper usage of Interface and Abstract classes | When to use abstract class or interface? | Are Interface and Abstract Methods similar in usage? | 1 | stackoverflowdupquestions |
Using Stacks for a Non-Recursive MergeSort? | Java MergeSort using stacks | Use MergeSort to process user input | 1 | stackoverflowdupquestions |
Find or initialize the keystore needed to solve "hostname in certificate didn't match" | How to initialize the Keystore | SSL certificate in keystore not working | 1 | stackoverflowdupquestions |
Hibernate Criteria equivalent to HQL | Hibernate Criteria API equivalent to HQL select clause? | Convert this HQL to Criteria | 1 | stackoverflowdupquestions |
FileOutputStream.close is really slow when writing large file | FileOutputstream.close() is not always writing bytes to file system? | Close a file created with FileOutputStream, for a next delete | 1 | stackoverflowdupquestions |
Why IntStream.range(0,n) in Java 8 shouldn't be parallel? | Why does IntStream.range(0, 100000).parallel.foreach take longer then normal for loop | Java 8 IntStream for an int range? | 1 | stackoverflowdupquestions |
java.lang.IllegalMonitorStateException on notifyAll() method | Why does notifyAll() raise IllegalMonitorStateException when synchronized on Integer? | NotifyAll, IllegalMonitorStateException | 1 | stackoverflowdupquestions |
Populate JFreechart TimeSeriesCollection from Mysql DB? | Why is the data in a timeseriescollection chart don't appear correctly? | JFreeChart MeterPlot | 1 | stackoverflowdupquestions |
Java generics compile in Eclipse, but not in javac | Java generics with wildcard compile in Eclipse, but not in javac | Using javac with import | 1 | stackoverflowdupquestions |
How to test DAO with DataSource in Java Web Application? | How to use jndi datasource in dao? | DataSource properties | 1 | stackoverflowdupquestions |
BreakIterator not working correctly with Chinese text | How does BreakIterator work in Android? | IText - Generating PDF with Chinese characters (Chinese Simplified) | 1 | stackoverflowdupquestions |
How to remove duplicate white spaces in string using Java? | How to remove spaces in between the String | Is it possible create column name with white spaces using hibernate? | 1 | stackoverflowdupquestions |
Is JAI closing file handles too early? | JAI create seems to leave file descriptors open | Reading TIFF file using JAI | 1 | stackoverflowdupquestions |
How to box double array to Double array when adding to Map? | How do I convert Double[] to double[]? | double + double = String? | 1 | stackoverflowdupquestions |
applet fails to load class from jar | Applet class loader cannot find a class in the applet's jar | How do I load and display a remote jar applet in my applet? | 1 | stackoverflowdupquestions |
HashMap and int as key | java: HashMap<String, int> not working | How can I use an int as a HashMap key? | 1 | stackoverflowdupquestions |
How to check if collection contains items in given order using Hamcrest | Hamcrest compare collections | Java Spring: JUnit Hamcrest: Expecting Collection | 1 | stackoverflowdupquestions |
Check if file exists based on partial file name in Java | How do I check if a file exists in Java? | Java if else on partial match | 1 | stackoverflowdupquestions |
Calling gnuplot from java? (ubuntu) | How do I run Gnuplot Scripts from a Java environment? | Using JavaPlot/Gnuplot for 3D graphing | 1 | stackoverflowdupquestions |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.