![JAR search and dependency download from the Maven repository](/logo.png)
arp.repository.compare.BooleanFieldComparator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ARP Show documentation
Show all versions of ARP Show documentation
a java development framework with aggregation, repository and process
The newest version!
package arp.repository.compare;
import java.lang.reflect.Field;
import arp.util.Unsafe;
public class BooleanFieldComparator extends BaseFieldComparator {
public BooleanFieldComparator(Field field) {
super(field);
}
@Override
public boolean equals(T one, T another) {
return Unsafe.compareBooleanFieldOfObject(one, another, fieldOffset) == 0;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy