query stringlengths 1 74.9k | positive stringlengths 0 174k | negative stringlengths 1 174k | label float64 1 1 | task_name stringclasses 33
values |
|---|---|---|---|---|
How to run a specific junit test in ant with parameter? | How to run only specific JUnit tests in Ant? | Let Ant say more about failed JUnit test | 1 | stackoverflowdupquestions |
How to display NaN in Java? | Float.NaN == Float.NaN | Android Text input always give me NaN value | 1 | stackoverflowdupquestions |
Unable to store and retrieve image data from database via jdbc in struts2 | Upload the image path to database using Struts2 | create two button in one line in struts2 | 1 | stackoverflowdupquestions |
Inlining in Java | What is inlining? | Does Proguard remove methods used in only one place? [method inlining] | 1 | stackoverflowdupquestions |
how to load libsvm model in java after serialVersionUID has changed | What is a serialVersionUID and why should I use it? | How to import LibSVM into my Java code | 1 | stackoverflowdupquestions |
Swing vs JavaFx for desktop applications | Java user interface with SWING vs JavaFX | Is JavaFX a choice for Dynamic GUI for desktop or standalone applications? | 1 | stackoverflowdupquestions |
Convert Java Object to JsonNode in Jackson | How to parse a JSON string into JsonNode in Jackson? | Jackson JsonNode to string with sorted keys | 1 | stackoverflowdupquestions |
Could not load library: xuggle; version: 5; Using POM | ERROR com.xuggle.ferry.JNILibraryLoader - Could not load library: xuggle-xuggler; version: 3; | What do I do with the pom.xml file? | 1 | stackoverflowdupquestions |
Idiomatic way to use for-each loop given an iterator? | Idiomatic Collection iteration in Java 8 | for in loop or iterator? | 1 | stackoverflowdupquestions |
Implementation difference between Aggregation and Composition in Java | Difference between dependency and composition? | Is this an aggregation? | 1 | stackoverflowdupquestions |
How to write a Singleton in proper manner? | How to create a singleton class | When to use proper version of singleton thread-safe implementation? | 1 | stackoverflowdupquestions |
Freemarker and hashmap. How do I get key-value | Freemarker - access value at a particular key in map | Freemarker HashMap loop having pojos | 1 | stackoverflowdupquestions |
Is there a Java method that encodes a collection of parameters as a URL query component? | Java URL encoding of query string parameters | Something like Query on a collection | 1 | stackoverflowdupquestions |
Is there any Java version manager? | JVM version manager | Task manager with Java | 1 | stackoverflowdupquestions |
Java "lambda expressions not supported at this language level" | intellij with Android SDK : lambda expressions are not supported in -source 1.7 | Java IntelliJ 13.1.4 "Lambda expressions are not supported at this language level." | 1 | stackoverflowdupquestions |
How to handle return value from AsyncTask | Return a value from AsyncTask in Android | Return List in asynctask Android | 1 | stackoverflowdupquestions |
Request header is too large | JAVA -tomcat- Request header is too large | Error: Code too large | 1 | stackoverflowdupquestions |
How to save the file from HTTPS url in JAVA? | HTTPS web request in Java | Find out if an HTTPS url is online | 1 | stackoverflowdupquestions |
Java SSL code throwing NoSuchAlgorithException | JAVA - SSL - Client Certifcates | Throwing exception error | 1 | stackoverflowdupquestions |
Inter-threads communication | inter thread communication in java | Unable to start the Activity(Contains inter-fragment communication) | 1 | stackoverflowdupquestions |
Poor performance of Java's Math.pow(x, 2) when x = 0 | x*x vs Math.pow(x,2) java performance | Using Math.pow() function | 1 | stackoverflowdupquestions |
JPL for java\prolog | How to use JPL (bidirectional Java/Prolog interface) on windows? | Reference is not allowed in prolog | 1 | stackoverflowdupquestions |
Windows 8.1. - Java - ODBC Driver - NetBeans | JDBC ODBC Driver Connection | MS ACCESS jdbc.odbc connection. data source name not found/No default driver specified? | 1 | stackoverflowdupquestions |
How to prevent xalan.jar that has META-INF\services\javax.xml.transform.TransformerFactory from taking over JDK 1.6 built in Xalan implementation? | Load my own Xalan implementation where an older Xalan is loaded to the parent classloader | Saxon Xalan JSP | 1 | stackoverflowdupquestions |
Question about sizeof. I want to reverse bits in number | Is there any sizeof-like method in Java? | Reverse a method? | 1 | stackoverflowdupquestions |
Spring WS web service. Adding an attachment to the response using SAAJ - No adapter for endpoint | How do I add an attachment to a response payload in Spring-WS? | Joining SAAJ and JAXB | 1 | stackoverflowdupquestions |
How to change the contrast and brightness of an image stored as pixel values | Adjust brightness and contrast of BufferedImage in Java | How to change brightness of image in JLabel? | 1 | stackoverflowdupquestions |
What is the main difference between Inheritance and Polymorphism? | Is polymorphism possible without inheritance? | Inheritance and polymorphism in Java | 1 | stackoverflowdupquestions |
How can i Make an .exe file from jar file | How can I convert a JAR file to an EXE file? | What does sendsignal.exe do? | 1 | stackoverflowdupquestions |
What is the difference between ArrayList.clear() and ArrayList.removeAll()? | ArrayList remove vs removeAll | What is the difference between ArrayList<?>, ArrayList, ArrayList<Object>? | 1 | stackoverflowdupquestions |
Create jar file from maven | Maven cannot create a jar file | Add file to jar during maven build | 1 | stackoverflowdupquestions |
Is Java 100% object oriented? | Every java program is Object Oriented | object oriented programming in android | 1 | stackoverflowdupquestions |
invalid target release: 1.7 | Fatal error compiling: invalid target release: 1.8 -> [Help 1] | Maven fails to compile ("invalid target release") | 1 | stackoverflowdupquestions |
Eclipse RCP Project Unable to Reference Regular Java Project | Eclipse RCP with project dependency | Eclipse RCP - how to export eclipse RCP Preference pages to a database? | 1 | stackoverflowdupquestions |
Short form for Java if statement | Compere if statement short form | Convert Object to Short | 1 | stackoverflowdupquestions |
java equivalent to php's hmac-SHA1 | How to create OAuth HMAC-SHA1 signature on GAE/J? | php and java hmac_sha1 hashing are not the same | 1 | stackoverflowdupquestions |
Library to integrate Google's OAuth/OpenID hybrid in Java Web App? | developing and testing hybrid google openid + oauth with openid4java on localhost | Using Oauth2.0 / OpenId Hybrid to authenticate Android app and a Web Application (Backend Server) | 1 | stackoverflowdupquestions |
LocalDate to java.util.Date and vice versa simplest conversion? | Convert java.time.LocalDate into java.util.Date type | Convert Java Object to Json and Vice versa? | 1 | stackoverflowdupquestions |
How to call the overridden method of a superclass? | Superclass method needing to refer to its another (although overridden) method | Why use <T extends Superclass> instead of just Superclass? | 1 | stackoverflowdupquestions |
how to write and read from bytebuffer passing from java to jni | How to send Java ByteBuffer to C using JNI? | JNI ByteBuffer put bytes | 1 | stackoverflowdupquestions |
Netbeans with JAXB Random ClassCastException ..cannot be cast to com.sun.xml.bind.v2.runtime.reflect.Accessor | ClassCastException: Cannot be cast to com.sun.xml.internal.bind.v2.runtime.reflect.Accessor | Why is ClassCastException a runtime error? | 1 | stackoverflowdupquestions |
Java - removing strange characters from a String | Need help removing strange characters from string | why is this not removing? | 1 | stackoverflowdupquestions |
How to run a mvn command from a java program? | Which directory should I run mvn from and what does it do? | How can maven be set to require no target for the `mvn` command? | 1 | stackoverflowdupquestions |
Storing integer values as constants in Enum manner in java | an integer and string in an enum class | How does java support instance variables of java enum constants? | 1 | stackoverflowdupquestions |
JmDNS service discovery in client-server | Samples with JmDNS | Android Bluetooth Discovery | 1 | stackoverflowdupquestions |
Java's BigDecimal.power(BigDecimal exponent): Is there a Java library that does it? | Power doesn't seem to work with BigDecimal (Java) | How to do this in Bigdecimal | 1 | stackoverflowdupquestions |
Simple/Direct/Heredoc way of constructing a HTML string in Java | Is there heredoc alternative in Java (heredoc as PHP)? | Constructing image from Grayvalues | 1 | stackoverflowdupquestions |
PrintWriter autoflush puzzling logic | I created a PrintWriter with autoflush on; why isn't it autoflushing? | PrintWriter won't write | 1 | stackoverflowdupquestions |
Why is processing a sorted array *slower* than an unsorted array? (Java's ArrayList.indexOf) | Why is it faster to process a sorted array than an unsorted array? | Why does indexOf method of ArrayList work? | 1 | stackoverflowdupquestions |
JSTL c:forEach, decremental number loop impossible? | jstl c:foreach can the step be 0.5 | JSTL c:import and x:parse inside of x:forEach | 1 | stackoverflowdupquestions |
In Java, can Class.forName ever return null? | Class.forName returning null | A comilation error of a forName method | 1 | stackoverflowdupquestions |
How to hide grid lines in JTable | How to hide thin vertical lines in JTable | Java, String to JTable | 1 | stackoverflowdupquestions |
What maven dependencies needs for Servlet, JSP and JSTL in Java EE 7? | The ultimate Java version table (J2EE, Java EE, Servlet, JSP, JSTL) | I want to write only jsp, jstl in .jsp file | 1 | stackoverflowdupquestions |
What is the difference between a pointer and a reference variable in Java? | Difference between reference and pointer | Java Reference pointer | 1 | stackoverflowdupquestions |
Weird behaviour with Scanner#nextFloat | Strange behaviour of Scanner.nextFloat | weird behaviour of date object | 1 | stackoverflowdupquestions |
Sound file not found, not in directory? | Loop sound in java directory | How do i Add sound correctly? | 1 | stackoverflowdupquestions |
Interfaces, classes and constructors in java | Understanding Interfaces, classes and constructors in java | Java Constructors or new class | 1 | stackoverflowdupquestions |
Illegal Block Size Exception Input length must be multiple of 16 when decrypting with padded cipher | aes encryption and decryption through tcp.Input length must be multiple of 16 when decrypting with padded cipher | Error Exception in thread while decrypting image | 1 | stackoverflowdupquestions |
Reading CDATA XML in Java | How can i parse an XML file with HTML tags inside CDATA section? | Remove "error" mark from web.xml file (CDATA item) | 1 | stackoverflowdupquestions |
Java: Getting Bytecode of Class at Runtime from within the Same JVM | Is there a way to obtain the bytecode for a class at runtime? | Is it possible to view a Java class files bytecode | 1 | stackoverflowdupquestions |
Why static fields are not initialized in time? | When are static variables initialized? | java variable not initialized | 1 | stackoverflowdupquestions |
Trace SOAP request/responses with JAX-WS on the client side | Tracing XML request/responses with JAX-WS | JAX-WS SOAP Service freezes when server does not responses | 1 | stackoverflowdupquestions |
how to run a selenium-server-standalone? | Selenium 3.3.1 StandAlone Jar | Standalone chrome.exe connection to selenium test | 1 | stackoverflowdupquestions |
Java ArrayList IndexOutOfBoundsException despite giving an initial capacity | ArrayList initial capacity and IndexOutOfBoundsException | Java IndexOutOfBoundsException | 1 | stackoverflowdupquestions |
Connecting to Service Bus on Windows Server (1.1) using Java and AMQP 1.0 | What exactly do we need to do to work with Service Bus on-premises from a Java client on Linux via AMQP | Cannot convert value of type exception with Spring AMQP | 1 | stackoverflowdupquestions |
Using Java ProcessBuilder to run native Windows .exe producing error :: The directory name is invalid | Running Windows .exe file with multiple arguments using Java ProcessBuilder is not producing any output file as expected | How to get output of wvdial with ProcessBuilder? | 1 | stackoverflowdupquestions |
Java Map with keys of 3 columns | How to implement a Map with multiple keys? | Read a map N keys at a time | 1 | stackoverflowdupquestions |
How can I detect the installed Sun/Oracle JRE on Windows? | Java: how to detect the current java runtime is a JRE or JDK? | How to tell the diffarences of installed java - JDK or JRE | 1 | stackoverflowdupquestions |
Eclipse RCP with project dependency | How to create new Eclipse RCP project using Maven? | eclipse rcp : class loading problem | 1 | stackoverflowdupquestions |
When to choose @RequestParam over @PathVariable and vice-versa? | When to go for @RequestParam and @PathVariable | Spring MVC @PathVariable treated as @RequestParam | 1 | stackoverflowdupquestions |
Swing Worker not refreshing JFrame properly | Refreshing a JFrame while in an Action Listener | eli5 swing worker and swing thread | 1 | stackoverflowdupquestions |
ConcurrentModificationException when deleting an element from ArrayList | ConcurrentModificationException for ArrayList | ConcurrentModificationException while deleting | 1 | stackoverflowdupquestions |
How to UnFocus a JTextField | Unfocus on all JTextFields | how to create jTextField.checkEmpty() | 1 | stackoverflowdupquestions |
Dealing with an ArrayStoreException | ArrayStoreException while assigning default value using Arrays.fill method in java | ArrayStoreException error with JNI and another thread | 1 | stackoverflowdupquestions |
grizzly does not log Exceptions in requests | Grizzly Standalone Logging | SSL with Grizzly and Jersey | 1 | stackoverflowdupquestions |
Access other enums in enum's constructor | Java Enums: Two enum types, each containing references to each other? | Access enums through command line | 1 | stackoverflowdupquestions |
How to use session in JSP pages to get information? | I want to get values from JSP page to multiple jsp pages. Is it possible? | Removing Java code from JSP pages | 1 | stackoverflowdupquestions |
Elasticsearch - NoNodeAvailableException | Elasticsearch 5 Java Client giving "NoNodeAvailableException" | ElasticSearch Multiget issue in Java | 1 | stackoverflowdupquestions |
Does Java IO have a maximum file name length? | String's Maximum length in Java - calling length() method | Java: How do I set a maximum length for a Double? | 1 | stackoverflowdupquestions |
java.util.NoSuchElementException - on iterating over sorted treemap | iterating over sorted treemap: java.util.ConcurrentModificationException | The Huxley: java.util.NoSuchElementException: No line found | 1 | stackoverflowdupquestions |
How to get ordered stream from a list in reverse order in Java 8 | Java 8 stream reverse order | Reverse Array Order | 1 | stackoverflowdupquestions |
Z3 Java API: when to dispose expressions / Z3 objects? | Z3 Java API documentation or tutorial | Checking syntactic equivalence of two constraints efficiently in Z3 | 1 | stackoverflowdupquestions |
Getting text style from docx using Apache poi | Apache POI characters run for .docx | Error in using getRichStringCellValue() of Apache POI | 1 | stackoverflowdupquestions |
Android HTML.fromHTML() with images? | Images not loading in textview Html.fromHtml method | Out Of Memory with images in Android 5 | 1 | stackoverflowdupquestions |
Static Binding and Dynamic Binding | Static Vs. Dynamic Binding in Java | Data binding with Java | 1 | stackoverflowdupquestions |
Size of Huge Objects directly allocated to Old Generation | Could an object be created in old generation? | Java code generation | 1 | stackoverflowdupquestions |
How to make sure that only a single instance of a Java application is running? | How to implement a single instance Java application? | How can I change Java method implementation of single instance? | 1 | stackoverflowdupquestions |
UI properties does not contain some keys | List of Java Swing UI properties? | How to read multiple properties having the same keys in Spring? | 1 | stackoverflowdupquestions |
Java - Zipping existing files | Zipping two files together in android | ZipUtil Java not zipping same as zip command | 1 | stackoverflowdupquestions |
Why setting setPreferredSize() on JFrame is bad? | Java: Difference between the setPreferredSize() and setSize() methods in components | setting a JFrame background, why this doesn't work? | 1 | stackoverflowdupquestions |
SDK manager not starting | Eclipse SDK Manager Not Showing up | Android SDK Manager runs only by running android file | 1 | stackoverflowdupquestions |
Reading Random Access File with Buffered Reader | How should I read from a buffered reader? | Using Buffered reader and Socket | 1 | stackoverflowdupquestions |
aspectj-maven-plugin, declare soft how to compile | Maven: compile aspectj project containing Java 1.6 source | CodeSignature aspectJ | 1 | stackoverflowdupquestions |
Getting raw HTTP Data (Headers, Cookies, etc) in Google Cloud Endpoints | Sessions with Google Cloud Endpoints | How to write tests for API based on Google Cloud Endpoints? | 1 | stackoverflowdupquestions |
java optional parameters | Java optional parameters | Java - Optional loop | 1 | stackoverflowdupquestions |
Java: Global Exception Handler | Java Global Exception Handler | how to install a global keyboard handler for Java App | 1 | stackoverflowdupquestions |
Error When Comparing Objects of Type Double? | Comparing a double against zero | Java comparing custom objects | 1 | stackoverflowdupquestions |
Criteria,Independent Subqueries, Group By and Having more | Criteria, Subqueries, Group By and Having more | HQL nested subqueries | 1 | stackoverflowdupquestions |
How can i get a printer's make and model in Java? | Java - How to know if a printer is a network printer? | Printer services Not found? | 1 | stackoverflowdupquestions |
Initialize unsigned byte array using hex number | Can we make unsigned byte in Java | How to Convert Int to Unsigned Byte and Back | 1 | stackoverflowdupquestions |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.