net.sf.javagimmicks.collections8.transformer.BidiTransformingRing Maven / Gradle / Ivy
package net.sf.javagimmicks.collections8.transformer;
import net.sf.javagimmicks.collections8.Ring;
import net.sf.javagimmicks.collections8.RingCursor;
import net.sf.javagimmicks.transform8.BidiFunction;
import net.sf.javagimmicks.transform8.BidiTransforming;
class BidiTransformingRing
extends TransformingRing
implements BidiTransforming
{
BidiTransformingRing(Ring ring, BidiFunction tansformer)
{
super(ring, tansformer);
}
public BidiFunction getTransformerBidiFunction()
{
return (BidiFunction)getTransformerFunction();
}
@Override
public RingCursor cursor()
{
return TransformerUtils.decorate(_internalRing.cursor(), getTransformerBidiFunction());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy