https://github.com/chrynan/queue
Stack, Queue, and Deque Data Structures for Kotlin
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (3.3%) to scientific vocabulary
Keywords
Keywords from Contributors
Repository
Stack, Queue, and Deque Data Structures for Kotlin
Basic Info
Statistics
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
- Releases: 0
Topics
Metadata Files
README.md
queue
Stack, Queue, and Deque Data Structures for Kotlin
Building
Kotlin Common:
groovy
implementation 'com.github.chRyNaN.queue:queue-common:VERSION'
JVM:
groovy
implementation 'com.github.chRyNaN.queue:queue-jvm:VERSION'
JS:
groovy
implementation 'com.github.chRyNaN.queue:queue-js:VERSION'
Using the library
The API is similar to the kotlin.collections API.
Stack (LIFO Queue):
kotlin
val stack = stackOf(itemOne, itemTwo, itemThree)
stack.push(itemFour)
val item = stack.pop() // itemFour
Queue (FIFO Queue):
kotlin
val queue = queueOf(itemOne, itemTwo, itemThree)
queue.push(itemFour)
val item = queue.pull() // itemOne
Deque (Double-ended Queue):
kotlin
val deque = dequeOf(itemOne, itemTwo, itemThree)
deque.removeFirst() // itemOne
deque.removeLast() // itemThree
Owner
- Name: Christopher
- Login: chRyNaN
- Kind: user
- Location: Austin, TX
- Company: Starry
- Website: https://chrynan.codes
- Repositories: 15
- Profile: https://github.com/chRyNaN
GitHub Events
Total
Last Year
Committers
Last synced: 7 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Chris | c****n@s****m | 34 |
| Christopher | b****p@g****m | 8 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 7 months ago