Skip to content
/ yafunc Public

Yet another collection of commonly used functional interfaces fro java applications

License

Notifications You must be signed in to change notification settings

yalibs/yafunc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yafunc

Yet another collection of commonly used functional interfaces for java applications.

Usage

First, you need to add the library to your project:

// Add mavenCentral to your repositories
repositories {
    mavenCentral();
}

// Add the library (NOTE: Check the latest version on github)
depdendencies {
    implementation group: 'dk.yalibs', name: 'yafunc', version: '1.0.0';
}

Now you can access the function interfaces like so:

import dk.yalibs.yafunc.IRunnable1; // Import it

public class Main {
    public static void main(String[] argv) throws Exception {
        IRunnable1<String> r = (String argument) -> System.out.println(argument);
        r.run("Hello World");
    }
}

About

Yet another collection of commonly used functional interfaces fro java applications

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages