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 w w w .j a va 2s .c o m import javax.annotation.Nonnull; public final class DimensionsAwareSwapper implements DoubleBufferMesh.Swapper<DimensionsAware> { @Nonnull public static final DoubleBufferMesh.Swapper<DimensionsAware> INSTANCE = new DimensionsAwareSwapper(); private DimensionsAwareSwapper() { } @Override public void swap(@Nonnull DimensionsAware current, @Nonnull DimensionsAware next) { next.setColor(current.getColor()); next.setDimensions(current.getDimensions()); } }