Git Product home page Git Product logo

helios's Introduction

Helios

Helios is a core library that improves upon several shortcomings of the Java core libraries.

Quick Links

Warnings

  • Helios is unstable, and as such, is subject to change at any time.
  • The APIs are not designed with performance in mind, and as such, should not be used in performance-critical code.

Installation

pom.xml

<repository>
    <id>sparky983</id>
    <url>https://repo.sparky983.me/releases</url>
</repository>

<dependency>
    <groupId>me.sparky983</groupId>
    <artifactId>helios</artifactId>
    <version>0.1.0</version>
</dependency>

build.gradle

repositories {
    maven { url 'https://repo.sparky983.me/releases' }
}

dependencies {
    implementation 'me.sparky983:helios:0.1.0'
}

build.gradle.kts

repositories {
    maven("https://repo.sparky983.me/releases")
}

dependencies {
    implementation("me.sparky983:helios:0.1.0")
}

helios's People

Contributors

renovate[bot] avatar sparky983 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

helios's Issues

Rename to `Option`?

The original motivation for the name Optional is that it reads better and is more descriptive.

Option:

  • means a choice - not whether a value is optional
  • does not read well - "option string" is not English; "option" is a noun

Optional:

  • means a choice, specifically whether something exists or doesn't exist
  • reads well - "optional string" is English; "optional" is an adjective

However, Optional is not clearly distinct from java.util.Optional and is an uncommon name for an option/maybe type.

`Optional.require(String)`?

Example usage:

/*
 * In reality this would be something where we don't 
 * know the value, but we are sure the optional has 
 * a value, rather than here where we know the value.
 */

class MyValueHolder {
  Optional<String> value = Optional.absent();
  void set(String s) { value = Optional.present(s); }
  Optional<String> get() { return value; }
}

MyValueHolder holder = ...;
holder.set("abc");
String s = holder.value().require("holder to have a value");

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

github-actions
.github/workflows/build.yml
  • actions/checkout v4
  • actions/setup-java v4
  • gradle/wrapper-validation-action v3
  • gradle/gradle-build-action v3.5.0
  • actions/checkout v4
  • actions/setup-java v4
  • gradle/wrapper-validation-action v3
  • gradle/gradle-build-action v3.5.0
gradle
gradle.properties
settings.gradle.kts
buildSrc/build.gradle.kts
  • com.diffplug.spotless:spotless-plugin-gradle 6.25.0
buildSrc/src/main/kotlin/helios.base.gradle.kts
buildSrc/src/main/kotlin/helios.formatting.gradle.kts
buildSrc/src/main/kotlin/helios.java.gradle.kts
buildSrc/src/main/kotlin/helios.junit-platform.gradle.kts
buildSrc/src/main/kotlin/helios.publishing.gradle.kts
gradle/libs.versions.toml
  • org.junit.jupiter:junit-jupiter-api 5.10.3
  • org.junit.jupiter:junit-jupiter-engine 5.10.3
  • org.junit.jupiter:junit-jupiter-params 5.10.3
helios/build.gradle.kts
gradle-wrapper
gradle/wrapper/gradle-wrapper.properties
  • gradle 8.9

  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.