Java
-
Use the keyset () method and change the set to string array? Java
So it should be very simple because I know it's possible (I just don't know 'set') So basically there is this treemap,…… -
Java – dynamically change the number of nested for loops
I don't know if this is a stupid question, but I need to dynamically change the number of for loops without recursion …… -
Java – convert image to black and white – failed, bright color
I tried to convert the image to black and white only (not grayscale) I used this: BufferedImage blackAndWhiteImage = n…… -
Where can I find Java 8 Src zip
I just unzipped JDK 8.0 on XP according to the following link installing JDK8 on Windows XP – advapi32. dll error But …… -
Java – spring social LinkedIn: is there an API that can be used to retrieve user items?
I am currently using spring social LinkedIn 1.0 0. Please log on to my website I have a feature that I need to access …… -
Java – how to create a new database in Oracle 11g Express Edition?
I am a novice in Java. I have installed Oracle Database 11g Express Edition and SQL developer How to create a new data…… -
Java – get the number of simulated calls
Suppose I want to test such code: class ClassToTest // UsedClass1 contains a method UsedClass2 thisMethod() {} Use…… -
Will the latest version of Java 6 use JavaFX 2 out of the box
Since Java 7 is not as popular as Java 6, I wonder if you can use WebView and other things in the latest update of Jav…… -
Java. With error Selectonemenu of lang. string cannot be cast to javax. String faces. model. SelectItem
I want to fill in a selectonemenu, but there is always this error: java.lang.String cannot be cast to javax.faces.mode…… -
How to use untyped Java util. List to scala 2.8 buffer
I have to call some Java. Java that returns no type util. List. It seems that I can't convert it to scala 2.8 list wit…… -
Can you use a concept similar to the keyword args in Java to minimize the number of accessor methods?
I recently learned that in Python 3, in order to minimize the number of accessor methods of a class, you can use the d…… -
Java – what does shadow plugin gradle: mergeservicefiles() do?
In my build In the gradle file, I need to add the following lines: shadowJar { mergeServiceFiles() } Otherwise, th…… -
Java – viewpagers in listview displays blank list items
[editor]: Thank you for all your meaningful answers. Now the problem is solved. Thank you for your help Similar proble…… -
Java Generic of Another generic
I have an interface: interface Identifable<T extends Serializable> { T getID(); } And the class that imple…… -
Java client server game with applet
I have to implement a simple tourist client server game in Java Unfortunately, I just started with network programming…… -
Java – a thread pool that handles “duplicate” tasks
I want to perform some different tasks in parallel, but there is a concept that if a task has been queued or is being …… -
How to use a loop to delete elements from a queue in Java
I have such a data structure: I'm trying to do this: for(Mail mail: mail@R_476_2419@) { if(badNews(mail)) { …… -
Java streams | groupingby the same element
I have a stream of words that I want to sort according to the appearance of the same elements (= words) For example: {…… -
Java – Hibernate: manually call sequencegenerator?
I wrote my idgenerator: public class AkteIdGenerator implements IdentifierGenerator { public Serializable generate(…… -
How to force timeout to drivermanager Getconnection () method call?
I have an application that will establish a database connection with MySQL and execute queries Sometimes, drivermanage…… -
Java – create, update and get the same / different dto objects in the rest endpoint?
Consider using userdto class and usercontroller public endpoint to create, update and obtain users Having the ID attri…… -
Java – custom valuechangehandler GWT
I need to write a custom valuechangehandler and call onvaluechange (valuechangeevent) But I don't understand how to wr…… -
Java – when the signature of a method is defined as collection, why can’t a method adopt collection
I have a method that takes a list of sresource objects public static List<STriple> listTriples(List<SResource…… -
Java – maps and generic maps
I want to create a (recursive) map That is, the type value of the map is another map of the same type as the external …… -
Java tries and catches IOException problems
I tried to use some of the code I found at the bottom of this page This is the code in the class I created for it: imp…… -
Java – convert data to sound and return
Is there a library that can convert data (text files, etc.) into sound and return the original data? Sound can be tran…… -
Using java 9 JDK to locate Java 6 will issue a warning
I'm trying to build a project using JDK 9, because using javac's – release parameter means that it can build for an ol…… -
Java – how to run a selected set of unit tests in eclipse with a single mouse click?
I want to create an initiator / run configuration that runs JUnit tests only in a selected set of test classes or sele…… -
java. lang.NoClassDefFoundError:org / springframework / data / repository / config / BootstrapMode
I'm doing this project with spring boot. I try to write some tests, but unfortunately I get this exception stack trace…… -
Java – Jenkins hook does not work – Jenkins bitbucket
Hi, I'm using Jenkins and bitbucket. I want to trigger the construction of Jenkins when I submit anything to the bitbu…… -
Java – listener for session expiration in spring
I am new to spring and use it for authentication One problem I face is that when the browser closes or encounters any …… -
Java – runtime errors in JUnit testing
I'm very unstable about unit testing, but I have part of the code, and I really need to make sure it's consistent I tr……
