public object removeSame(object val) { // modify in removeAt(long) Long i = indexSame(val); if (i == null) return null; return removeAt(i.longValue()); }