Object-streams - An experimental library for dealing with legacy code

Related tags

App object-streams
Overview

Object Streams

Super experimental! no guarantees to the public API surface.

At the moment, this project is the outcome of the limitations of my search skills.

Building an artifact

./gradlew jar

API

Usage

val coffees = ObjectStream
  .of(Coffee::class)
  .property("estate", "Attikan")
  .property("roast", Roast.Light, Roast.Medium, Roast.Dark)
  .property("grindSize", GrindSize.Fine, GrindSize.MediumFine, GrindSize.Medium, GrindSize.Coarse)
  .generate()

coffees.onEach(::println)

Output

Coffee(estate = Attikan, roast = Light, grindSize = Fine)
Coffee(estate = Attikan, roast = Light, grindSize = MediumFine)
Coffee(estate = Attikan, roast = Light, grindSize = Medium)
Coffee(estate = Attikan, roast = Light, grindSize = Coarse)
Coffee(estate = Attikan, roast = Medium, grindSize = Fine)
Coffee(estate = Attikan, roast = Medium, grindSize = MediumFine)
Coffee(estate = Attikan, roast = Medium, grindSize = Medium)
Coffee(estate = Attikan, roast = Medium, grindSize = Coarse)
Coffee(estate = Attikan, roast = Dark, grindSize = Fine)
Coffee(estate = Attikan, roast = Dark, grindSize = MediumFine)
Coffee(estate = Attikan, roast = Dark, grindSize = Medium)
Coffee(estate = Attikan, roast = Dark, grindSize = Coarse)

License

Copyright 2022—Present Ragunath Jawahar

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

You might also like...
android-trinity is tiny proactive framework with much of the scaffolding code  required to start a new Android Application.
android-trinity is tiny proactive framework with much of the scaffolding code required to start a new Android Application.

android-trinity This is tiny framework with much of the scaffolding code (with some nice utilities and prepared source code) required to start a new A

MVVM News Application with clean code architecture & android jetpack components.
MVVM News Application with clean code architecture & android jetpack components.

Android - Clean Architecture - Kotlin The purpose of this repo is to follow up Clean Architecture principles by bringing them to Android. The repo con

code for the Mobiquity QA challenge assignment

MOBIQUITY QA CODE CHALLENGE This repository contains the code for Mobiquity code assignment for the Senior QA engineer position. Tech Stack the tools

This is a code check task for Android engineers employment in YUMEMI.
This is a code check task for Android engineers employment in YUMEMI.

株式会社ゆめみ Android エンジニアコードチェック課題 概要 本プロジェクトは株式会社ゆめみ(以下弊社)が、弊社に Android エンジニアを希望する方に出す課題のベースプロジェクトです。本課題が与えられた方は、下記の概要を詳しく読んだ上で課題を取り組んでください。 アプリ仕様 本アプリは

A sample app that uses CameraX and Milkit to scan multiple barcodes and QR code
A sample app that uses CameraX and Milkit to scan multiple barcodes and QR code

MLKit-QR-and-Barcode-Scanner This sample app uses Firebase MLKit to scan bar codes and QR Codes There are a number of types of barcodes, MLKKIt is abl

ZeAppp v3, created by Android enthusiasts joining the Droidcon 2021 in Berlin, coming to the GDG Booth and writing code, 15 minutes at a time

ZeThree App build at the GDG Community booth at Droidcon Berlin 2021. Come join the fun™. ZeWhat? Based on the previous success of the ZeAppp-app, thi

A collection of custom Android/Kotlin lint checks we use in our Android and Kotlin code bases at Slack.

slack-lints This repository contains a collection of custom Android/Kotlin lint checks we use in our Android and Kotlin code bases at Slack. This repo

BuildConfiguration information for use in multi-module, or Kotlin Multiplatform common code

component-build-configuration A small library supporting Kotlin Multiplatform for utilizing BuildConfiguration details from common code and across mod

 This repository stores the code for the open-sourced donation app that we built for the @AndronixApp
This repository stores the code for the open-sourced donation app that we built for the @AndronixApp

This repository stores the code for the open-sourced donation app that we built for the [Andronix App](https://andronix.app). What Tech has been used?

Owner
Ragunath Jawahar
Ragunath Jawahar
A Discord audio player that streams audio from the desktop.

Synced A Discord audio player that streams audio from the desktop. Synced runs as a bot that plays audio to your selected Discord server. You can cont

Leo Denault 3 Oct 23, 2022
Experimental scoreboard library for spigot

scoreboards completely experimental. not suit for production Testing Progress Basic line updating Basic title updating Performance (should be fine) Ex

Patrick 1 Oct 25, 2022
Experimental Discord Mobile Rich Presence (Android)

MRPC Experimental Discord Mobile Rich Presence (Android) How does it work? It's pretty simple. Connect to the Discord Gateway as a normal Discord Clie

Duy Tran Khanh 41 Dec 25, 2022
This app using Mlkit along with the TensorFlow Lite model for object detection,

I built this app using Mlkit along with the TensorFlow Lite model for object detection, Arcore is used to place anchors to the detected objects. It's a good blend of Machine learning and Augmented reality to visualise ML information in a much better way than regular bounding boxes

Kashif Mehmood 18 Nov 10, 2022
Based on Android + NodeMCU platform to achieve object detection and tracking, AI capabilities come from Google MLKit.

Based on Android + NodeMCU platform to achieve object detection and tracking, AI capabilities come from Google MLKit.

null 1 Apr 4, 2022
From UI Proposal to Code :notes::arrow_forward:

Music Player: From UI Proposal to Code This is a prototype made for the article. This is not a real music player and don't expect it is. Some develope

André Mion 3.5k Dec 30, 2022
This repo contains example code for O'Reilly's "Programming Android" by Zigured Mednieks, Laird Dornin, Blake Meike and Masumi Nakamura

This repo contains working code for the example in O'Reilly's _Programming Android, 2nd Edition_; Mednieks, Dornin, Meike, Nakamura (http://shop.orei

G. Blake Meike 214 Nov 25, 2022
This repo contains example code for O'Reilly's "Programming Android" by Zigured Mednieks, Laird Dornin, Blake Meike and Masumi Nakamura

This repo contains working code for the example in O'Reilly's _Programming Android, 2nd Edition_; Mednieks, Dornin, Meike, Nakamura (http://shop.orei

G. Blake Meike 165 Nov 11, 2022
Source code of JekyllEx Android App which can manage your Jekyll blog directly from your Android device!

JekyllEx Android App Built with ❤︎ by Gourav Khunger ?? Introduction JekyllEx is an Android App that allows you to manage a Jekyll Blog directly from

JekyllEx 24 Nov 8, 2022