Created
July 18, 2022 12:09
-
-
Save shivam-880/61d5b45c8f0d5b7d058554263d288afe to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val ls = List(1000, "iamsmkr", true) | |
val vectors = List(id, username, pro) | |
id.allocateNew() | |
username.allocateNew() | |
pro.allocateNew() | |
id.setSafe(0, ls(0)) | |
username.setSafe(0, ls(1)) | |
pro.setSafe(0, ls(2)) | |
id.setValueCount(1) | |
username.setValueCount(1) | |
pro.setValueCount(1) | |
id.get(0) | |
username.get(0) | |
pro.get(0) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment