001package org.unix4j.util;
002
003/**
004 * Utility class with static methods useful to implement {@code equals(Object)}
005 * methods.
006 */
007public class EqualsUtil {
008
009        public static boolean equalObjects(Object o1, Object o2) {
010                return (o1 == o2) || (o1 != null && o1.equals(o2));
011        }
012        //no instances
013        private EqualsUtil() {
014                super();
015        }
016}