https://github.com/jonathangiles/javaunions
https://github.com/jonathangiles/javaunions
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/jonathangiles/javaunions
- Owner: JonathanGiles
- Created: 2024-09-11T22:38:43.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-22T22:35:54.000Z (almost 2 years ago)
- Last Synced: 2025-06-09T11:49:48.871Z (about 1 year ago)
- Language: Java
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Union Types in Java
This repo is an exploration of a potential `Union` type in Java. It is clearly constrained by what the Java language allows, but perhaps is better than using `BinaryData` and `byte[]` everywhere.
Refer to the samples for demos of how the code is used.