All Downloads are FREE. Search and download functionalities are using the official Maven repository.

arp.repository.compare.FloatFieldComparator Maven / Gradle / Ivy

The newest version!
package arp.repository.compare;

import java.lang.reflect.Field;

import arp.util.Unsafe;

public class FloatFieldComparator extends BaseFieldComparator {

	public FloatFieldComparator(Field field) {
		super(field);
	}

	@Override
	public  boolean equals(T one, T another) {
		return Unsafe.compareFloatFieldOfObject(one, another, fieldOffset) == 0;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy