Help me please. Let’s say I have a Link class for linked lists. And there is the SortedList class where there are methods for working with data created by the first class. The insert method uses the first field. The first field passes its data to the current field. After the method exits with the current field, no changes are
Category: Questions
Hibernate mapping between different database and domain model
I have created a domain and database model. The domain model is for a rest api. The both have similar components like product, category, customer, retailer, etc… But if you take a closer look at both models. You can see some differences. For example, you can see that in the database model the retailer has multiple products. But in the
How to put YML value inside the @Pattern(regexp = “HELLO|WORLD”)
I want to move the “HELLO|WORLD” value to the YML file. Then call the value from YML file inside the regexp. For example, Following is the YAML file YML FILE Java class to get the YAML value Java class that use regex validation Instead of a string, I want to do something similar to this. I have already tried the
Image Picked from Gallery ImageView Disappeard
I have a tabLayout with ImageView and when I Pick A image from the gallery and display it to Imageview then when I close the app the selected image is gone then I need to pick an image again. And I know this one looks the same as my question but still not working saving image picked from gallery for
JFrame Image Update on click of image
tldr; How do you use a MouseEvent on a JFrame object(specifically JLabel) to update the displayed image in the JFrame I am trying to create a program where an image is broken into tiles and on click of one of those tiles, the program moves the tile to the open space in the image. (See Sliding Puzzle for more information).
Use AWS issued certificate for a Spring Boot app
I have an app running on AWS that has got a React JS front-end hosted through S3 and Spring Boot back-end hosted on EC2 instances behind a load balancer. I got my SSL certificate for my domain and I use CloudFront to redirect HTTP requests into HTTPS. My issue is that I can connect through HTTPS to my load balancer,
How can I solve a problem with click on item in horizontal RecyclerView?
I have a horizontal recycler view. There are some buttons. I will provide my code below. So the problem is that when I click on a button, does not happen anything. It just thinks that I did not click to it. I have another recycler view, but vertical and the code is pretty similar, but the second one works. I
how to write regex expression to find date and time
I am reading a file and looking for this string in the file.looking to capture the value(00:00:22) using regex.I have written regular expression but its not finding that value? “20.10.02 00:00:22:…
How to solve this error : Duplicate class com.google.android.gms.internal.vision.zzw found in modules
** Duplicate class com.google.android.gms.internal.vision.zzv found in modules jetified-play-services-vision-20.0.0-runtime.jar (com.google.android.gms:play-services-vision:20.0.0) and jetified-play-services-vision-common-19.1.0-runtime.jar (com.google.android.gms:play-se** Answer This is 100% a conflict between your Google Play services and Jetify Play services. try – Clean > Build
How to create a generic wrapper for just any method call?
I want to create a helper method that can wrap/convert just any sync method call into an async Mono. The following is close, but shows an error: This is my code: Answer First you call Mono.fromCallable with a Callable<Callable<? extend T>>. You need to change the call like this: Mono.fromCallable(supplier). Then you will have a problem because Mono.fromCallable will be