query stringlengths 1 74.9k | positive stringlengths 0 174k | negative stringlengths 1 174k | label float64 1 1 | task_name stringclasses 33
values |
|---|---|---|---|---|
Setting a JFrame without overlapping with taskbar | Why jframe hides taskbar when maximized? | Make JFrame modal or show JDialog on taskbar | 1 | stackoverflowdupquestions |
simulate backspace key with java.awt.Robot | Java robot class | Can I use java.awt.Robot from within a daemon? | 1 | stackoverflowdupquestions |
javax.persistence.TransactionRequiredException in small facelet application | JPA TransactionRequiredException | What are the causes for javax.persistence.TransactionRequiredException: no transaction is in progress | 1 | stackoverflowdupquestions |
Regex matching letter characters | How do I match latin unicode characters in ColdFusion or Java regex? | Cloudant java non-latin characters | 1 | stackoverflowdupquestions |
How to remove surrogate characters in Java? | Cannot identify surrogate characters in Java string | creating and using Strings with surrogate pairs | 1 | stackoverflowdupquestions |
What is the point of Authentication tokens on REST services | Authentication tokens on REST | What is the best way to find specific tokens in a string (in Java)? | 1 | stackoverflowdupquestions |
javac error: inconvertible types with generics? | Java: Generics handled differenlty in Eclipse and javac | Java Generics Error: inconvertible types from command line compiler | 1 | stackoverflowdupquestions |
Thread.sleep() is hung? | Thread.sleep() hung | java - Thread.sleep | 1 | stackoverflowdupquestions |
Cosine Similarity | Text similarity algorithm | interviewstreet.com - String similarity | 1 | stackoverflowdupquestions |
Increasing Heap Size on Linux Machines | Increasing Tomcat Heap Size | Why is the jar file size increasing when I run the application? | 1 | stackoverflowdupquestions |
Android: Get current foreground activity every 10 seconds once user clicks button | Android - Dynamically Get the Current Activity in Foreground | How do I make the foreground attribute for a button work below API 23? | 1 | stackoverflowdupquestions |
Can I compile a Scala project with mixed java and scala code with dependencies both ways in Maven? | Building a scala app with maven (that has java source mixed in) | Exception adding scala to maven project | 1 | stackoverflowdupquestions |
Why does Object == null work? | Is null an Object? | What is Null in Java | 1 | stackoverflowdupquestions |
Java Convert GMT/UTC to Local time doesn't work as expected | How can I get the current date and time in UTC or GMT in Java? | How to convert GMT? | 1 | stackoverflowdupquestions |
how to get values from a multipart request in java | Get form parameters from multipart request without getting the files | How to convert a multipart file to File? | 1 | stackoverflowdupquestions |
Jar file couldn't load or find main class | Cannot run jar file because of "Could not find or load main class" | Could not find or load main class | 1 | stackoverflowdupquestions |
Matching (e.g.) a Unicode letter with Java regexps | Matching sequence of unicode value in Java with regular expression | How do I print one letter of a string that was input by the user in Java? | 1 | stackoverflowdupquestions |
what are the benefits of BufferedReader over Scanner | Scanner vs. BufferedReader | BufferedReader and Scanner: limit the number of input characters | 1 | stackoverflowdupquestions |
Wicket: how to redirect to another page? | Wicket - Double redirect | java wicket error! | 1 | stackoverflowdupquestions |
Why Thread.start() is needed? | Why do we need to call thread.start() instead of thread.run()? | Why can't I start a thread | 1 | stackoverflowdupquestions |
Selenium WebDriver StaleElementReferenceException | How to avoid "StaleElementReferenceException" in Selenium? | Selenium - Trying to click several "Remove" buttons, but getting StaleElementReferenceException | 1 | stackoverflowdupquestions |
SWT jar for different platform | Build one jar per platform for multi-platform SWT application | SWT SWT.WRAP in Button | 1 | stackoverflowdupquestions |
JTable doesn't show after adding JScrollPane | Adding JTable to a JScrollPane | JScrollPane, add to JPanel or JTable? | 1 | stackoverflowdupquestions |
Need to split a string into two parts in java | How to split string in two parts | (java) how to split a number on parts and then compare them to each other | 1 | stackoverflowdupquestions |
Exception in MatlabControl when running MATLAB function outside MATLAB | Error using eval in matlabcontrol | MATLAB:How to use java code in MATLAB? | 1 | stackoverflowdupquestions |
Comparing arrays that have been stored as Objects | Comparing two integer arrays in java | Comparing two String arrays | 1 | stackoverflowdupquestions |
Anyone using short and byte primitive types, in real apps? | Are there any real life uses for the Java byte primitive type? | Convert between any two primitive types in Java | 1 | stackoverflowdupquestions |
(Unknown Source) in Exception stack trace | Unknown Source in java stack trace, yet line numbers are in the class file | How to check if a Java Class is part of the current stack trace? | 1 | stackoverflowdupquestions |
JAVA & Joda Time API: compare intervals, detect overlapping and generate new intervals | Intersecting overlapping intervals in Java | How can I express partial intervals using Joda-Time? | 1 | stackoverflowdupquestions |
Spring SFTP inbound chanel adapter delete local file | Spring SFTP read file lock | Spring integration File - reading the file by inbound channel adapter before it gets written | 1 | stackoverflowdupquestions |
Java Runtime.exec() not sending emails as from the command line | Runtime.exec not working | Can't get output from Runtime.exec() | 1 | stackoverflowdupquestions |
wsimport - Two declarations cause a collision, same line given | wsimport Two declarations cause a collision | xadditionalHeaders not working in wsimport goal in maven | 1 | stackoverflowdupquestions |
Is it a good practice to use JMS Temporary Queue for synchronous use? | How to make a JMS Synchronous request | what is JMS good for? | 1 | stackoverflowdupquestions |
Weird behavior of assertions in Eclipse | Eclipse: enable assertions | what is better with null parameter checks, assertions or exception? | 1 | stackoverflowdupquestions |
Incompatible magic value 1008813135 | Java Incompatible magic value 4022320623 | Incompatible Types in Method | 1 | stackoverflowdupquestions |
Cannot Convert from SerialBlob to BLOB | Why I cannot cast oracle BLOB from native java Blob | different results when converting byte to blob and back again from blob to byte in java | 1 | stackoverflowdupquestions |
java.lang.NoSuchMethodError: javax.persistence.OneToMany.orphanRemoval()Z | Weblogic11g - java.lang.NoSuchMethodError: javax.persistence.OneToOne.orphanRemoval()z | How to get java.lang.NoSuchMethodError | 1 | stackoverflowdupquestions |
BST with duplicates | Keep track of duplicates in BST | Finding the size of a BST in Java | 1 | stackoverflowdupquestions |
Is there any need for java's finalize method? | When is the finalize() method called in Java? | finalize method in MessageDrivenBean | 1 | stackoverflowdupquestions |
How to know if a detached JPA entity has already been persisted or not? | How to find out whether an entity is detached in JPA / Hibernate? | JPA: check whether an entity object has been persisted or not | 1 | stackoverflowdupquestions |
Eclipse warning - Class is a raw type. References to generic type Class<T> should be parameterized | Class is a raw type. References to generic type Class<T> should be parameterized | Call the Generic parameterized method in java | 1 | stackoverflowdupquestions |
Notify and wait code scenario | How to use wait and notify in Java without IllegalMonitorStateException? | Java thread wait and notify | 1 | stackoverflowdupquestions |
How to use double buffering inside a thread and applet | Double Buffering with awt | Applet Flickers even after using using Double Buffering | 1 | stackoverflowdupquestions |
Eclipse does not launch (Ubuntu) : JVM terminated. Exit code=13 | Eclipse won't run - JVM Terminated, Ubuntu 16.04 | Eclipse doesn't launch (JVM terminated. Exit code=1) | 1 | stackoverflowdupquestions |
Java TreeMap Duplicate Keys | Duplicate key in TreeMap | Get the last 3 values of a TreeMap | 1 | stackoverflowdupquestions |
How to return an array from JNI to Java? | JNI return type | C and Java through Jni | 1 | stackoverflowdupquestions |
How can I know the classes of a given package | How to get all classes names in a package? | cannot access the classes in the package | 1 | stackoverflowdupquestions |
How to import java.nio.file package | Cannot find package java.nio.file | class file for java.nio.file.Path not found | 1 | stackoverflowdupquestions |
Reference Output JAR Of Project In Another Project Eclipse | How to reference a different Java project in Eclipse | Eclipse Java Project | 1 | stackoverflowdupquestions |
java generics: accepting a class or interface | java generics: accepting an interface in Class<T> | Object parameter not accepting string | 1 | stackoverflowdupquestions |
When to use Enum or Collection in Java | Need to use Enum | How to sort a List<Enum, Collection> by order of an enum? | 1 | stackoverflowdupquestions |
will two strings with same content be stored in the same memory location? | When do (not) two strings with same content share the same memory? | How to print a String that's stored in an object that's stored in an array in Java | 1 | stackoverflowdupquestions |
100% Java library for JPEG lossless decoding | I can't get an ImageReaderByFormatName("jpeg-lossless") | Decoding a regex | 1 | stackoverflowdupquestions |
How can I call Perl from Java? | How can I pass data from Perl to Java? | Not able to invoke Perl script from Java | 1 | stackoverflowdupquestions |
how to use finally | Do you really need the 'finally' block | finally not working as expected | 1 | stackoverflowdupquestions |
Why is it important to use invokeLater? | What does SwingUtilities.invokeLater do? | How does SwingUtilies.invokeLater(new Runnable()) really work? | 1 | stackoverflowdupquestions |
Hibernate Delete Error: Batch Update Returned Unexpected Row Count | Hibernate - Batch update returned unexpected row count from update: 0 actual row count: 0 expected: 1 | unexpected type error | 1 | stackoverflowdupquestions |
Set clipboard to transparent image | Clipboard copy from outlook always has black background set when retrieved as image from Java clipboard object | Event of changing clipboard content | 1 | stackoverflowdupquestions |
Hibernate native query : Invalid Column Name Error SQL-17006 | Native SQL throwing Invalid Column Name Exception | Hibernate generates invalid SQL query with MySQL | 1 | stackoverflowdupquestions |
What events do I need to listen to in order to reuse a client connection in Netty (getting "Connection reset by peer")? | Keep client from closing connection to a netty server (is there something I need to set)? | connection reset by peer calling soap webservice | 1 | stackoverflowdupquestions |
Typing Arabic numbers in JTextField | Arabic numerals in swing.JTextField java | how to perform search on Arabic text in JAVA? | 1 | stackoverflowdupquestions |
Hibernate - where clause any with collection as a named parameter query | Hibernate HQL Query : How to set a Collection as a named parameter of a Query? | count hibernate and Named Query | 1 | stackoverflowdupquestions |
Collection throws or doesn't throw ConcurrentModificationException based on the contents of the Collection | Why doesn't this code throw a ConcurrentModificationException? | Some collection | 1 | stackoverflowdupquestions |
static filtering of a JTree/ multiple Jtrees sharing (the relevant parts of) a model | Sharing children among parents in a JTree | How to initialize a JTree? | 1 | stackoverflowdupquestions |
How to reschedule a task using a ScheduledExecutorService? | Interrrupt-able ScheduledExecutorService in Android | ScheduledExecutorService - Task stops running | 1 | stackoverflowdupquestions |
Does C# Monitor.Wait() suffer from spurious wakeups? | Do spurious wakeups in Java actually happen? | Java: How to distinguish between spurious wakeup and timeout in wait() | 1 | stackoverflowdupquestions |
Fast Bitmap Blur For Android SDK | Android: Blur bitmap while ensuring text readability | Android bitmap - out of memory | 1 | stackoverflowdupquestions |
Changing the current directory in Java to implement "cd" command in linux | Changing the current working directory in Java? | Java command not found on Linux | 1 | stackoverflowdupquestions |
MVC/MVP/MVVM frameworks for Java GUI applications | What to use? MVC, MVP or MVVM or…? | Android: Using observer pattern with Views (possibly MVC, MVVM related) | 1 | stackoverflowdupquestions |
java.sql.SQLException: ORA-00936: missing expression | ORA-00936, Java and SQL | java.sql.SQLException: ORA-01747 | 1 | stackoverflowdupquestions |
How to use Spring Boot with MySQL database and JPA? | Spring Boot, JPA and MySQL returns empty results | Multi-module spring-boot jpa application | 1 | stackoverflowdupquestions |
No bean named 'transactionManager' is defined | No bean named 'transactionManager' is defined - Rename transactionManager | Spring JTA configuration - how to set TransactionManager? | 1 | stackoverflowdupquestions |
Runtime SQL Query Builder | Is there any good dynamic SQL builder library in Java? | Mongodb java Query Builder | 1 | stackoverflowdupquestions |
In Java can I depend on reference assignment being atomic to implement copy on write? | When does a reference need to be atomic? | Is ! operation atomic in JAVA | 1 | stackoverflowdupquestions |
Default java Constructor | Java default constructor | A private constructor is a default constructor or not? | 1 | stackoverflowdupquestions |
The ultimate Java version table (J2EE, Java EE, Servlet, JSP, JSTL) | What maven dependencies needs for Servlet, JSP and JSTL in Java EE 7? | jsp (jstl 1.2) - set a variable from a java list | 1 | stackoverflowdupquestions |
How to load unknown class from downloaded jar file during runtime? | How to load a jar file at runtime | Build objects from unknown database while runtime using Hibernate | 1 | stackoverflowdupquestions |
Replacing a text in Apache POI XWPF | In Apache POI, Is there a way to access XWPF elements by id their id? | java.lang.NoSuchMethodError: org.apache.poi.xwpf.usermodel.XWPFHyperlinkRun | 1 | stackoverflowdupquestions |
Using a PEM encoded, encrypted private key to sign a message natively | Getting RSA private key from PEM BASE64 Encoded private key file | JAVA: How to save a private key in a pem file with password protection | 1 | stackoverflowdupquestions |
How to get the unique ID of an object which overrides hashCode()? | Why hashcode does not generate unique hashcode? | Use String hashCode() Method? | 1 | stackoverflowdupquestions |
Tar problem with apache commons compress | Make tar file by Java | How uncompress a specific file from a TAR using apache commons? | 1 | stackoverflowdupquestions |
Java: PhantomReference, ReferenceQueue and finalize | Why can I not get the PhantomReference from the ReferenceQueue for a finalizable object? | java finalize method use | 1 | stackoverflowdupquestions |
Launch VLC Player through Java | how to control VLC by java | Control Vlc with requests - java | 1 | stackoverflowdupquestions |
How can I obfuscate Java source code for external GWT development? | Obfuscate Java source code to hand out to clients | How obfuscate part of code? | 1 | stackoverflowdupquestions |
How can I access files in Alfresco using the CMIS REST API? | CmisObjectNotFoundException when trying to access my Alfresco repository | Connecting to Alfresco with CMIS | 1 | stackoverflowdupquestions |
Annotation type @XmlElement not applicable | XmlElement annotation dissallowed with WebParam | CXF @XmlElement(required=true) not working | 1 | stackoverflowdupquestions |
Logging JPA SQL with Weblogic 10.3 | JPA Logging in WebLogic 11g (10.3.1) | List all the user in weblogic by java | 1 | stackoverflowdupquestions |
Delete a row in a JTable with a RowFilter | JTable RowFilter | Concatenating andFilter and orFilter for RowFilter | 1 | stackoverflowdupquestions |
Multiple Regression | Weighted Linear Regression in Java | java linear regression in the logarithmic scale | 1 | stackoverflowdupquestions |
How can I convert ZipInputStream to InputStream? | Java create InputStream from ZipInputStream entry | Java ZipInputStream not reading entire ZipEntry | 1 | stackoverflowdupquestions |
java.lang.ClassNotFoundException: org.apache.xmlbeans.XmlObject Error | java.lang.ClassNotFoundException: org.apache.xmlbeans.XmlOptions | Create and fill an xml document with xmlbeans | 1 | stackoverflowdupquestions |
H.323, How to make a simple ring without media. This script was following Q.931 setup but still not working | H.323 Request Java | flush() and isEmpty() methods for a ring buffer without using .size() in Java | 1 | stackoverflowdupquestions |
JVM Process vs JVM Heap memory usage | Process Memory Vs Heap -- JVM | JVM heap space usage | 1 | stackoverflowdupquestions |
Cannot cast from ArrayList<Parcelable> to ArrayList<ClSprite> | How to access data inside my ArrayList<Parcelable> | cast List to ArrayList | 1 | stackoverflowdupquestions |
Spring Security 3.1 and returning anonymous UserDetails | How to get active user's UserDetails | Spring Security intercept URL not working with custom UserDetails object | 1 | stackoverflowdupquestions |
How do I create a infinite loop in java | Infinite Loop Java | Why this for loop is infinite? | 1 | stackoverflowdupquestions |
How to perform a series of sort operation on arraylist (multiple sort criteria) | How to sort an ArrayList using multiple sorting criteria? | Sort list on base of multiple criteria | 1 | stackoverflowdupquestions |
Get integer value of the current year in Java | Date in java with just year | How to get the YEAR for week of year for a date? | 1 | stackoverflowdupquestions |
Can not find the tag library descriptor for "http://java.sun.com/jsp/jstl/core" | Can not find the tag library descriptor for “http://java.sun.com/jsp/jstl/core” | file descriptor written in xml | 1 | stackoverflowdupquestions |
Java 8 - DateTimeFormatter and ISO_INSTANT issues with ZonedDateTime | Unable to obtain ZonedDateTime from TemporalAccessor using DateTimeFormatter and ZonedDateTime in Java 8 | Issue with DateTimeFormatter.ISO_INSTANT at millisecond | 1 | stackoverflowdupquestions |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.