ble tag

96 questions


1 answers
102 views
0
Is it possible to give several conditions in @Cacheable?

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...


1 answers
124 views
0
Python variable range problem

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)...

2 years ago

1 answers
123 views
0
Create variables dynamically using a repeat statement

I want to dynamically generate variables using repetitive statements in Python. Please suggest a creative way.

2 years ago

1 answers
128 views
0
How do I make a variable have a float value in Ruby?

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?

2 years ago

1 answers
96 views
0
I'd like to share the global variable of another file in Python.

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...


1 answers
120 views
0
[Java] A function that displays the size of a variable, such as sizeof

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...

2 years ago

1 answers
116 views
0
There is a problem with Java multi-threaded shared variables.

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...


1 answers
91 views
0
Is there a performance and security issue for Android Shared Preferences?

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...

2 years ago

1 answers
133 views
0
I want to initialize the variable in the jQuery function and pass it over.

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...

2 years ago

2 answers
156 views
0
Table width value setting question

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.