Java
-
Java – set the orientdb of the shard
I'm trying to set up on 3 servers For example, I am >Node1 is a client_ 1 and has a client_ Copy of 2. > Node2 i…… -
ArrayList in Java
ArrayList<String> veri1 = new ArrayList<String>(); ArrayList<String> veri1 = new ArrayList<String…… -
Multithreading – I don’t understand multithreading programming
Someone can explain to me how a multithreaded application can be faster when a core CPU can only do one thing at a tim…… -
Java – generics: input variables?
In order to be able to replace a specific implementation, it is usually known to write List<AnyType> myList = ne…… -
Java – what is the purpose of using the toString () method in the following code?
See the English answer > how to override tostring() properly in Java? 11 This is my code: public class Gitfiddle { …… -
Constructor of Java subclass
When compiling this program, I get an error – class Person { Person(int a) { } } class Employee extends Person { …… -
Java – how do I resolve a string to int using default values?
See English answers > good way to encapsulate integer Parseint() 22 I've tried this, but it (? 0) doesn't seem to w…… -
Java – how to select a value from an array?
How do I select a value from an array? For example, string [] ans = {'', "– ''," / "," * "}; Then I want to choose "" …… -
Java – is there a way to disable hibernate optimistic locking?
I have one entity: @Entity public class VersionedDo { @Version @Column(name = "version") private int versi…… -
Java – applet – server communication, what should I do?
I have an applet and I have to send a request to the web application to get data from the server in the database I am …… -
Java – how does libgdx repeat the background?
A few days ago I figured out how to do some scrolling in libgdx Now I'm trying to do something related I want to repea…… -
Java – use Multimap instead of map to send parameters of rest assured call
I'm declaring a variable static Multimap<String,Object> multiList = ArrayListMultimap.create(); And add image mu…… -
Java – the swing button does not react immediately! How can I change?
I built a form with the visual editor of NetBeans When I press one of the buttons, it should do the following: >Set…… -
Java – error: “qualifier must be an expression” – Android studio
Activities: public class PreviewsFragment extends Fragment { private ViewPager mPager; @Override public View onCreat…… -
Java finds a specific letter for the first time
I am developing a program in Java I need to find specific text in the string Suppose the string is' hawaiie ' I need t…… -
How to send content and attachments using Abdera atom client
We use Abdera to interact with IBM connections API, but our problems are mainly related to Abdera itself I think there…… -
Java – httpclient authentication, keep login status
So my goal is to log in to the forum using HTTP client, and then post a reply post on the forum My login is good, but …… -
Java – change the field name in the elasticsearch response
I need to change the field name in the elastic search response (for example, change "title" to "title") I want to avoi…… -
Java – camel routing unit test result failedtocreateroteexception
I want to unit test the camel route This is a sandbox example to illustrate the exceptions obtained during unit testin…… -
Java – Android WebView, zooming content to fit the screen
My friend created an application using JavaScript and uploaded it to his website Now I'm trying to wrap it in WebView …… -
Java settings have multiple equality criteria
I have a special request. I need to delete the object list repeatedly according to the combination of equal standards …… -
How to convert an existing Java Import class file into Android studio project
I need to know how to convert existing Java The class file is correctly added to the Android studio project My goal is…… -
Java singleton internal class error understanding
I have been programming java for the past two months, but I have experienced programmers in Python and C I know I made…… -
Need help to start converting original G3 fax files to TIFF format via Java
I have an original fax file (G3 / T.4 format), which needs to be programmatically converted into multi page TIFF throu…… -
Java – why does spring security use the default pre authentication check?
I recently implemented some security improvements in a spring based Java application of my employer, and I have covere…… -
Java – problem converting Base64 string to hexadecimal string
TLDR: I recently decided to try Matasano crypto challenges, but for whatever reason, I decided to try to write the fi…… -
Java – combines two strings into a single string representing a path
See English answers > how to combine paths in Java? 9 How can I do this? Solution Apache commons IO do what you wan…… -
The simple java implementation of the Floyd warhall algorithm doesn’t seem to work?
I have been trying to implement Floyd warhall algorithm in Java instead of "three loop nesting", but I can't seem to f…… -
Non public top-level classes in Java
What is the reason for creating non-public top-level classes in Java? Suppose we have foo Java, there may be class Foo…… -
Java – use log4j to customize the log file name in mule
I'm trying to modify log4j XML to use the appropriate appender to change the log file name generated by mule This is l…… -
Java – ora-01733 (virtual columns are not allowed here) after database update
One of our databases has been updated from Oracle 9i to 11g Since then, one of our programs has repeatedly encountered…… -
Disable the close button in the Java Jface dialog box?
How to disable the close button in the Java Jface dialog box (if possible, make it disappear completely)? Solution For……