net.sf.javagimmicks.collections.transformer.BidiTransformingRing Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gimmicks Show documentation
Show all versions of gimmicks Show documentation
Utility classes, APIs and tools for Java
package net.sf.javagimmicks.collections.transformer;
import net.sf.javagimmicks.collections.Ring;
import net.sf.javagimmicks.collections.RingCursor;
import net.sf.javagimmicks.transform.BidiFunction;
import net.sf.javagimmicks.transform.BidiTransforming;
class BidiTransformingRing
extends TransformingRing
implements BidiTransforming
{
/**
* @deprecated Use TranformerUtils.decorate() instead
*/
@Deprecated
public 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