query stringlengths 1 74.9k | positive stringlengths 0 174k | negative stringlengths 1 174k | label float64 1 1 | task_name stringclasses 33
values |
|---|---|---|---|---|
Argument type mismatch: IllegalArgumentException on simple case | java.lang.IllegalArgumentException: argument type mismatch while using Reflection | Json type mismatch | 1 | stackoverflowdupquestions |
@JsonIgnore not working after upgrading to spring 4.1.6 | Spring @JsonIgnore not working | Override @JsonIgnore in a subclass | 1 | stackoverflowdupquestions |
Is it possible to get output of "tail -f" command to java programme? | Java "tail -f" wrapper | In java programme, How to know the stored procudure running right or raise some error? | 1 | stackoverflowdupquestions |
How to use scala.collection.immutable.List in a Java code | Using the Scala collections (immutable) from Java | How to convert a java HashMap to immutable Scala map via java code? | 1 | stackoverflowdupquestions |
Hiding my security key from java reflection | Java reflection framework and security | Java field hiding | 1 | stackoverflowdupquestions |
Why should avoid using Runtime.exec() in java? | Running java runtime.exec() for multiple process | Runtime.exec not running but no exception | 1 | stackoverflowdupquestions |
How can I prevent Jackson from serializing a polymorphic type's annotation property? | How to avoid class name in @type while serializing object to JSON using Jackson | Jackson polymorphic type conversion deletes the property after using it | 1 | stackoverflowdupquestions |
Double Matrix coordinates over heatMap using MouseMotionListener | MouseListener for HeatMap in Java HeatMap Panel | How to draw with MouseListener and MouseMotionListener | 1 | stackoverflowdupquestions |
java.io.StreamCorruptedException: invalid stream header: 7371007E | StreamCorruptedException when reading an object from string | StreamCorruptedException in Java | 1 | stackoverflowdupquestions |
check for single instance java program | How to implement a single instance Java application? | How can get an instance from .class file in java | 1 | stackoverflowdupquestions |
Tomcat Guice/JDBC Memory Leak | Guice + Tomcat potential memory leak | Is it memory leak? | 1 | stackoverflowdupquestions |
Best free tool to build an exe from Java code? | How Can I convert Java To Exe | write .exe file using Java | 1 | stackoverflowdupquestions |
JVM sending back memory to OS | Does the JVM give back free memory to the OS when no longer needed? | Java without JVM | 1 | stackoverflowdupquestions |
Parsing multiple sentences with MaltParser using NLTK | NLTK MaltParser won't parse | Split string into sentences | 1 | stackoverflowdupquestions |
Configure SQL Server connection pool on Tomcat | Connection Pool for Tomcat in Eclipse for MS Sql Server | Database connection Pool | 1 | stackoverflowdupquestions |
strictfp in Java | When should I use the "strictfp" keyword in java? | What does the keyword strictfp mean? | 1 | stackoverflowdupquestions |
Freemarker - access value at a particular key in map | Freemarker and hashmap. How do I get key-value | Freemarker template exception | 1 | stackoverflowdupquestions |
jMockit: How to expect constructor calls to Mocked objects? | Using JMockit to return actual instance from mocked constructor | How to set in JMockit mocked properties to tested object on @Before method? | 1 | stackoverflowdupquestions |
DropWizard Auth Realms | DropWizard Auth by Example | dropwizard 0.7 @Session annotation | 1 | stackoverflowdupquestions |
Adding one list to another list in java? | adding a list of one type to a list of another type | Adding values from one array to another | 1 | stackoverflowdupquestions |
How are arrays implemented in java? | How are primitive arrays implemented in java? | Java Arrays print | 1 | stackoverflowdupquestions |
I m getting java.lang.IllegalStateException: getOutputStream() has already been called for this response Exception | Getting Exception-java.lang.IllegalStateException: getOutputStream() has already been called for this response | getOutputStream() has already been called for this response | 1 | stackoverflowdupquestions |
Byte Buddy - Method Implementation.Context.Default is no bean property - creating a setter | Byte Buddy - java.lang.NoSuchMethodException - what is the correct defineMethod syntax? | Running into issues migrating from Byte Buddy 0.7.7 to 1.0.2 | 1 | stackoverflowdupquestions |
how to rotate a bufferd-image in java? | Rotate an image in java | Java rotate an image in the center | 1 | stackoverflowdupquestions |
How to throw a custom fault on a JAX-WS web service? | JAX-WS Handler Ignoring Fault Sub-elements | Java Web Service JAX WS Tool | 1 | stackoverflowdupquestions |
adding an object using a custom typeadapter, jsonwriter in gson | Gson custom seralizer for one variable (of many) in an object using TypeAdapter | Gson - JsonSerializer in TypeAdapterFactory or generic type in TypeAdapter | 1 | stackoverflowdupquestions |
How to increase java heap memory in netbeans? | How to increase the java heap size in netbeans? | Increase the java heap space of a certain app | 1 | stackoverflowdupquestions |
Signer information does not match | Java SecurityException: signer information does not match | Applet: Java.lang.SecurityException: class "..."'s signer information does not match singer information of other classes in the same package | 1 | stackoverflowdupquestions |
How do I replace the deprecated method Date.setHours(int)? | The Date(String) is deprecated | Java: Why is the Date constructor deprecated, and what do I use instead? | 1 | stackoverflowdupquestions |
How do I add a type to GWT's Serialization Policy whitelist? | GWT serialization of a subclass | Why is java.lang.Thread in the Google App Engine whitelist? | 1 | stackoverflowdupquestions |
How import java classes inside the default package from the default package | How to access java-classes in the default-package? | How to static import a class from default package? | 1 | stackoverflowdupquestions |
List intersection in java | Checking whether intersection of two lists is valid, returning intersection itself not necessary | List Intersection | 1 | stackoverflowdupquestions |
Spring MVC ignores global date format? | spring mvc date format with form:input | best way to create a global variable in Spring MVC | 1 | stackoverflowdupquestions |
Viable options for running NodeJS on Android (Aug 2017) | How to use NodeJS in Android using J2V8 | Nodejs: Where or How to write complicated business logic? | 1 | stackoverflowdupquestions |
Calling a DLL from an Applet via JNI | Can I use JNI in a Java Applet? | Can't use JNI to call a dll method | 1 | stackoverflowdupquestions |
Generate secure random double without overflow | Generate random Double between -x and x | Secure way to use password in java file | 1 | stackoverflowdupquestions |
Why is jasper generated report not showing cyrillic (bulgarian) in Java? | Jasper Reports PDF doesn't export cyrillic values | How to run jasper report in servlet | 1 | stackoverflowdupquestions |
Error: Cannot create TypedQuery for query with more than one return | Cannot create Typed Query for query with more than one return using request result type | Why this query does not work? | 1 | stackoverflowdupquestions |
Loading fxml file in main | Location is required exception when loading FXML file | FXML Load exception | 1 | stackoverflowdupquestions |
PostgreSQL JDBC Driver not working for Heroku DB Connection | No suitable driver found on attempt to connect Heroku Database using JDBC | Heroku cannot find Postgres JDBC Driver | 1 | stackoverflowdupquestions |
java.lang.AssertionError: Content type not set while junit Spring MVC Controller? | How to pass parameters to post method in Spring MVC controller while doing junit? | Controller doesn't work JAVA. Spring MVC | 1 | stackoverflowdupquestions |
How should I convert Java code to C# code? | Convert Java code to equalent C# for below lines | Convert C# method to Java | 1 | stackoverflowdupquestions |
Java Beans, BeanUtils, and the Boolean wrapper class | BeanUtils.setProperty not working for Boolean values? | Java Beans and Wrapper Class | 1 | stackoverflowdupquestions |
What is the appropriate way to handle warning: "The expression of type x is boxed into x" | The expression of type x is boxed into X? | Storing lists of boxed primitives/Strings? | 1 | stackoverflowdupquestions |
Duration of Excessive GC Time in "java.lang.OutOfMemoryError: GC overhead limit exceeded" | Error java.lang.OutOfMemoryError: GC overhead limit exceeded | java.lang.OutOfMemoryError(GC overhead limit exceeded) | 1 | stackoverflowdupquestions |
LazyInitializationException when using ElementCollection in Play framework | Exception trying to get values of ElementCollection? | JPA LazyInitializationException? | 1 | stackoverflowdupquestions |
Set BufferedImage alpha mask in Java | How can i find out where a BufferedImage has Alpha in Java? | Problems with BufferedImage in Java | 1 | stackoverflowdupquestions |
Add progressbar in TreeTableView (returning Double value to Observable<Double>) | JavaFX: Add UI control to TreeTableView | TreeTableView: Displaying different data types | 1 | stackoverflowdupquestions |
Understanding Java unsigned numbers | java - Why is 0x000F stored as unsigned? | How can I read a file as unsigned bytes in Java? | 1 | stackoverflowdupquestions |
Reader#lines() parallelizes badly due to nonconfigurable batch size policy in its spliterator | Spliterator for immutable linked list | Which collection - each operation's spliterator is iterating over? | 1 | stackoverflowdupquestions |
JavaFX datepicker not updating value | JavaFX - DatePicker always returns null | Set the first day of the week in JavaFX's DatePicker | 1 | stackoverflowdupquestions |
Jackson's @JsonView, @JsonFilter and Spring | Using @JsonView with Spring MVC | Jackson Different JSONFilter same Class | 1 | stackoverflowdupquestions |
Master Pages in Java - JDK 1.6 | ASP.NET Master Pages equivalent in Java | How to get .adoc pages size with Java | 1 | stackoverflowdupquestions |
Adding a line in a JavaFX chart | How to add a value marker to JavaFX chart? | Update JavaFx chart from Swing | 1 | stackoverflowdupquestions |
Why can't you create an instance of a generic type using "new" operator? | How to create an instance just by generic type T | Getting class instance from generic type in Java | 1 | stackoverflowdupquestions |
How to image shuffle on jlabel? | How to Shuffle image in sequence? | Image won't display in JLabel | 1 | stackoverflowdupquestions |
JSF 2.0 set locale throughout session from browser and programmatically | JSF resets locale | Using a variable throughout a class | 1 | stackoverflowdupquestions |
Double cannot be dereferenced? | Double cannot be dereferenced...? | Java Error: int cannot be dereferenced | 1 | stackoverflowdupquestions |
Getting all possible sums that add up to a given number | Create an int array of int arrays that contains all possible sums that add up to a given number | Return all possible sums that can be formed by using numbers in array JAVA | 1 | stackoverflowdupquestions |
Java animated GIF without using a JLabel | Using an animated GIF in a JComboBox | How to Insert an Animated gif in Java | 1 | stackoverflowdupquestions |
How to call an activity's methods from a separate class | How to call a method from a separate class java | can't call a new activity | 1 | stackoverflowdupquestions |
Prevent SQL injection attacks in a Java program | Java - escape string to prevent SQL injection | Hibernate and SQL injection | 1 | stackoverflowdupquestions |
Pipeline design pattern implementation | Pipeline pattern implementation in java | How design pattern is this? | 1 | stackoverflowdupquestions |
How can I watch for changes on class variables? | How to watch a variable for changes | continuously watch variables in eclipse even if it's not in scope | 1 | stackoverflowdupquestions |
pure abstract class and interface | When to use abstract class or interface? | Java - abstract class and interface | 1 | stackoverflowdupquestions |
Is it possible to specify which network interface for a JVM ( or IDE ) to use | Http request via one network interface | Is it possible for a JVM to run more than one program at the same time? | 1 | stackoverflowdupquestions |
Convert URL to normal windows filename Java | Convert URL to normal windows filename Java 6 | Java: how convert this strange url to normal? | 1 | stackoverflowdupquestions |
Spring @PreDestroy: No logging because Logback stops too soon | Spring's @PreDestroy results in logging randomly not logging | @PreDestroy method of a Spring singleton bean not called | 1 | stackoverflowdupquestions |
Tomcat: OutOfMemoryError Permgen Space | How to handle PermGen space exception in Tomcat? | java.lang.OutOfMemoryError: PermGen space in Maven build | 1 | stackoverflowdupquestions |
Interface naming in Java | Java class naming for classes like "iCode" or "ICode" or "Icode"? | Naming a new object after a string? | 1 | stackoverflowdupquestions |
What namespace does the JDK use to generate a UUID with nameUUIDFromBytes? | convert uuid to byte, that works when using UUID.nameUUIDFromBytes(b) | How to create integer UUID in java | 1 | stackoverflowdupquestions |
Android: why setVisibility(View.GONE); or setVisibility(View.INVISIBLE); do not work | Android System.Err for setVisibility(View.GONE)? | How to animate setVisibility for an imagebutton on Android? | 1 | stackoverflowdupquestions |
TLS with SNI in Java clients | Server Name Indication (SNI) on Java | How to force java server to accept only tls 1.2 and reject tls 1.0 and tls 1.1 connections | 1 | stackoverflowdupquestions |
is "Double-Checked Locking is Broken" a java-only thing? | How to solve the "Double-Checked Locking is Broken" Declaration in Java? | Double Checked Locking in Singleton | 1 | stackoverflowdupquestions |
java packages: cannot find symbol | java packages: cannot find symbol (2) | Java: cannot find symbol() | 1 | stackoverflowdupquestions |
Can a Collector's combiner function ever be used on sequential streams? | Why is a combiner needed for reduce method that converts type in java 8 | Why is the combiner of the Collector interface not consistent with the overloaded collect method? | 1 | stackoverflowdupquestions |
How to use PATCH method in CXF Client | How to use PATCH method in CXF | cxf client http rest | 1 | stackoverflowdupquestions |
Reading all new messages from my gmail using javamail | JavaMail check message content gmail IMAP | TLS issue when sending to gmail through JavaMail | 1 | stackoverflowdupquestions |
How to implement sqoop in java | How to use Sqoop in Java Program? | It seems as though you are running sqoop with a JRE - But JAVA_HOME set to JDK | 1 | stackoverflowdupquestions |
Glassfish 3 security - Form based authentication using a JDBC Realm | GlassFish JDBC Realm Group Membership | Java EE 6 Programmatic security, glassfish and JDBC realm | 1 | stackoverflowdupquestions |
Unable to edit SVG using Batik in Java? | Checking and deleting attributes in SVG using Batik in Java | How do I fully include the Batik library in my Java project? | 1 | stackoverflowdupquestions |
JComboBox DropDown list is not displayed | JCombobox is not displayed | get value from object and add in jcombobox | 1 | stackoverflowdupquestions |
Java Drag&Drop from swing application to files on custom event | java drag and drop | How can I use Drag-and-Drop in Swing to get file path? | 1 | stackoverflowdupquestions |
drawing random circles, storing their coorindates in an array | draw random circles, first storing the points in an array | Android: When drawing circles on SurfaceView all other circles change positions | 1 | stackoverflowdupquestions |
Cannot create a generic array in Java | How to create a generic array in Java? | Why is Java's Class<T> generic? | 1 | stackoverflowdupquestions |
can't set JPanel color and JRadioButton invisibility | JRadioButton selection color | Set selected JRadioButton using information from database | 1 | stackoverflowdupquestions |
How to post form login using jsoup? | JSOUP: set form data | How do I get this text using Jsoup? | 1 | stackoverflowdupquestions |
testing Clojure in Maven | Testing Clojure and Java simultaneously | How do you call a static method in my own Java class from Clojure? | 1 | stackoverflowdupquestions |
Should I use an Executor to run only 1 Runnable? When to use an executor? | How to stop all runnable thread in java executor class? | Method reference as an Executor implementation | 1 | stackoverflowdupquestions |
How to use the PropertyValueFactory correctly? | Does PropertyValueFactory need valueProperty method in model or not? | getting bedmas to work correctly | 1 | stackoverflowdupquestions |
When you make an ArrayList without specifying the object type, does it create it automatically when you add the first object? | ArrayList<Integer> automatically change its type to ArrayList <String> | JAVA can't add more than one object to an arrayList | 1 | stackoverflowdupquestions |
Generating all possible permutations of a list recursively | Generating Name Permutations and into a DB | Java generate all possible permutations of a String | 1 | stackoverflowdupquestions |
Are new threads automatically assigned to a different CPU Core in Java? | Threads automatically utilizing multiple CPU cores? | 100% cpu in java | 1 | stackoverflowdupquestions |
Converting big endian to 2-byte number | Converting 32-bit unsigned integer (big endian) to long and back | Java - from short to byte[2] using LITTLE_ENDIAN | 1 | stackoverflowdupquestions |
Java Swing, Trying to replace boolean check-box in a JTable with an image-icon checkbox | Replace boolean check-box in a JTable with an image-icon checkbox | Select Value of Checkbox JTable on button click | 1 | stackoverflowdupquestions |
Multiple values for a key in HashMap in Java | HashMap: One Key, multiple Values | JAVA: Return all key values from Hashmap | 1 | stackoverflowdupquestions |
BigInteger: count the number of decimal digits in a scalable method | Split BigInteger, Count Digits? | How do I create a new BigInteger variable and make a method that returns a BigInteger? | 1 | stackoverflowdupquestions |
Java Challenge on A Gradient Color Canvas | Java Challenge on Creating a Canvas | Color Gradient Algorithm in Lab color space | 1 | stackoverflowdupquestions |
How to detect Internet connection speed with Java? | Analyze internet speed using java program | Detect if connection is failed - Java Android | 1 | stackoverflowdupquestions |
Change SeekBar progress based on EditText value | how to update seekbar using a edittext | Getting values from SeekBar in android | 1 | stackoverflowdupquestions |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.