Skip to content

Instantly share code, notes, and snippets.

@fge
Created March 2, 2015 22:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fge/8a506b5a111fab3961f7 to your computer and use it in GitHub Desktop.
Save fge/8a506b5a111fab3961f7 to your computer and use it in GitHub Desktop.
package com.github.fge.lambdas.v2;
public abstract class Chainer<N, T extends N, C extends Chainer<N, T, C>>
{
protected final T throwing;
protected Chainer(final T throwing)
{
this.throwing = throwing;
}
public abstract C orTryWith(T other);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment