Coder Social home page Coder Social logo

com.raycenity.misc's Introduction

raycenity-misc

Various utils which happen to be very common in my side-projects.

Note that the utils I describe below are not all of them.

misc.observer

A lightweight API for the observer pattern.

Observers subscribe to Observable with lambdas, and they will automatically unsubscribe if garbage collected.

Publisher is an Observable which you can publish events to. Generally a class will store a Publisher as a private field and expose it down-casting to an Observable.

Supports multiple observer priorities in case you want to guarantee that some observers are notified before others. Contains observable and reactive property delegates. Contains an observable list and set.

misc.enm

A map whose keys are enums, internally backed by an array. It's not partial AKA all keys have values unless Value is optional.

Also provides an enum-set which wrap's Java's, and enum helpers.

String escape and unescape

Copied from Stack Overflow:

https://stackoverflow.com/questions/2406121/how-do-i-escape-a-string-in-java

https://stackoverflow.com/questions/3537706/how-to-unescape-a-java-string-literal-in-java

com.raycenity.misc's People

Contributors

jakobeha avatar

Watchers

James Cloos avatar  avatar

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.