Lines Matching refs:obj
457 public boolean setValue(Object obj) {
458 if (obj == null) {
460 } else if (obj instanceof Short) {
461 return setValue(((Short) obj).shortValue() & 0x0ffff);
462 } else if (obj instanceof String) {
463 return setValue((String) obj);
464 } else if (obj instanceof int[]) {
465 return setValue((int[]) obj);
466 } else if (obj instanceof long[]) {
467 return setValue((long[]) obj);
468 } else if (obj instanceof Rational) {
469 return setValue((Rational) obj);
470 } else if (obj instanceof Rational[]) {
471 return setValue((Rational[]) obj);
472 } else if (obj instanceof byte[]) {
473 return setValue((byte[]) obj);
474 } else if (obj instanceof Integer) {
475 return setValue(((Integer) obj).intValue());
476 } else if (obj instanceof Long) {
477 return setValue(((Long) obj).longValue());
478 } else if (obj instanceof Byte) {
479 return setValue(((Byte) obj).byteValue());
480 } else if (obj instanceof Short[]) {
482 Short[] arr = (Short[]) obj;
488 } else if (obj instanceof Integer[]) {
490 Integer[] arr = (Integer[]) obj;
496 } else if (obj instanceof Long[]) {
498 Long[] arr = (Long[]) obj;
504 } else if (obj instanceof Byte[]) {
506 Byte[] arr = (Byte[]) obj;
962 public boolean equals(Object obj) {
963 if (obj == null) {
966 if (obj instanceof ExifTag) {
967 ExifTag tag = (ExifTag) obj;