Back to project page android-plotter.
The source code is released under:
Apache License
If you think the Android project android-plotter listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package org.solovyev.android.plotter.meshes; /*from www. j a v a2s . c o m*/ import javax.annotation.Nonnull; public final class FunctionGraphSwapper implements DoubleBufferMesh.Swapper<FunctionGraph> { @Nonnull public static final DoubleBufferMesh.Swapper<FunctionGraph> INSTANCE = new FunctionGraphSwapper(); private FunctionGraphSwapper() { } @Override public void swap(@Nonnull FunctionGraph current, @Nonnull FunctionGraph next) { DimensionsAwareSwapper.INSTANCE.swap(current, next); next.setFunction(current.getFunction()); } }