public override bool Equals(object other) { Hunk <T> ot = (Hunk <T>)other; return((ot.IsBig == IsBig) && (ot.Value.Equals(Value)) && base.Equals(ot)); }
public Tuple <Hunk <T>, Hunk <T>, Hunk <T> > BasicShakerFunction( Hunk <T> target, ShakeCondition <T> cond) { return(BasicShakerFunction(target, cond, Selector)); }
public IEnumerable <Hunk <T> > Shake(Hunk <T> target, ShakeCondition <T> cond) { return(Shake(target, cond, Selector)); }
private IEnumerable <Hunk <T> > ShakeSingle(Hunk <T> hunk) { yield return(hunk); } //makes a more consistent solution