comparison src/goodjava/util/GoodUtils.java @ 1870:e3a8568a11be

swing
author Franklin Schmidt <fschmidt@gmail.com>
date Wed, 02 Apr 2025 21:18:25 -0600
parents 1725fdb6c4f5
children
comparison
equal deleted inserted replaced
1869:e561174a8f69 1870:e3a8568a11be
85 } while( i != -1 ); 85 } while( i != -1 );
86 sb.append(s,starting,s.length()); 86 sb.append(s,starting,s.length());
87 return sb.toString(); 87 return sb.toString();
88 } 88 }
89 89
90 public static boolean equal(Object o1,Object o2) {
91 return o1==null ? o2==null : o1.equals(o2);
92 }
93
90 } 94 }