96 questions
I want to use Cacheable Annotation to cache Spring.I think there should be several conditions. @Cacheable(value = item, condition = #filter.size == null)It works fine with @Cacheable(value = item, con...
I've been programming for years, and recently started learning Python. The code below works normally on Python 2.5 and 3.0 as I expected :a, b, c = (1, 2, 3)print(a, b, c)def test(): print(a) print(b)...
I want to dynamically generate variables using repetitive statements in Python. Please suggest a creative way.
total_a = 10total_b = 5ratio = total_b/total_aprint ratioIf you do this, the ratio becomes 0. It seems to be processed automatically in an integer type, so how do I make the ratio have a value of 0.5?
I want to share and write global variables of other files like c++.For example, path.The network paths required for the file py are All specified in the global function I want to take global variables...
In C language, there is a function called sizeof as a function to check the size of a variable.Is there any function or class in Java that acts like size of C?If not, is there any way to print out the...
I'm writing multi-threading the enemy's actions as I make the Java console game.Make the thread a separate class and start() from the main.The structure in the thread is rotated by a repeating door so...
Hello, everyone It's been a while since I stopped by.I'd like to ask you a question about Shared Preferences on Android.I don't mean to ask you how to use it Usually, when sharing values stored in var...
When you click on the element $gall, the slide show screen $zoom appears in the pictureI want to click on the $previewImg below to run the slide() function, but I want to cover the new variable i with...
Hi, everyone.I have a question about the contents of the lecture.When specifying the area of each cell in the table, the area on the css andIs there a right way to do it inside the HTML?Or is it okay ...
« | - 3 - | » |
© 2024 OneMinuteCode. All rights reserved.