Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Java code snippets for bitfields #3628

Open
sav-norem opened this issue Nov 27, 2023 · 1 comment
Open

Create Java code snippets for bitfields #3628

sav-norem opened this issue Nov 27, 2023 · 1 comment

Comments

@sav-norem
Copy link

The redis.io webpage for bitfields needs the Java example as well. The python equivalent can be used to copy the setup and can be found here

The first line of the file needs to be the ID for the example - # EXAMPLE: bitfield_tutorial

Each separate section is delimited with a tag that you will need to copy exactly for it to appear in the correct place, ie.

# STEP_START bf
{code}                                    
# STEP_END

# HIDE_START, # HIDE_END, # REMOVE_START, and # REMOVE_END can be used for debugging and deleting keys. Hide will hide until a user expands the example, remove will only be seen in the source code and will never appear on the webpage.

@dwdougherty and I will be reviewing and tracking these issues - feel free to tag us with any questions

@Ranjeet0611
Copy link

Ranjeet0611 commented Jan 9, 2024

Hi @sav-norem @dwdougherty I have gone through the python example of bitfields but there in line 13 it is returning object where we can then call set and execute method.
But in java it is returning list of long so i will not be able to call set and execute method on arraylist.
How to proceed with this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants