Lines Matching defs:object

45         CopiesList(int length, E object) {
50 element = object;
54 public boolean contains(Object object) {
55 return element == null ? object == null : element.equals(object);
78 public boolean contains(Object object) {
103 public boolean contains(Object object) {
248 SingletonSet(E object) {
249 element = object;
253 public boolean contains(Object object) {
254 return element == null ? object == null : element.equals(object);
292 SingletonList(E object) {
293 element = object;
297 public boolean contains(Object object) {
298 return element == null ? object == null : element.equals(object);
355 public boolean contains(Object object) {
356 if (object instanceof Map.Entry) {
357 Map.Entry<?, ?> entry = (Map.Entry<?, ?>) object;
419 public boolean add(E object) {
421 return c.add(object);
437 public boolean contains(Object object) {
439 return c.contains(object);
461 public boolean remove(Object object) {
463 return c.remove(object);
533 * that JREs before 1.4 can deserialize this object without any
563 public void add(int location, E object) {
565 list.add(location, object);
576 public boolean equals(Object object) {
578 return list.equals(object);
595 public int indexOf(Object object) {
603 if (null != object)
605 if (object.equals(array[i])) {
619 public int lastIndexOf(Object object) {
627 if (null != object)
629 if (object.equals(array[i])) {
661 public E set(int location, E object) {
663 return list.set(location, object);
689 * RandomAccess interface, or this same object if not.
743 public boolean equals(Object object) {
745 return m.equals(object);
831 public boolean equals(Object object) {
833 return c.equals(object);
983 public boolean add(E object) {
995 public boolean contains(Object object) {
996 return c.contains(object);
1025 public boolean remove(Object object) {
1070 * so that JREs before 1.4 can deserialize this object without any
1095 public void add(int location, E object) {
1104 public boolean equals(Object object) {
1105 return list.equals(object);
1117 public int indexOf(Object object) {
1118 return list.indexOf(object);
1121 public int lastIndexOf(Object object) {
1122 return list.lastIndexOf(object);
1133 public void add(E object) {
1165 public void set(E object) {
1175 public E set(int location, E object) {
1193 * implements RandomAccess interface, or this same object if
1225 public boolean equals(Object object) {
1226 return mapEntry.equals(object);
1242 public V setValue(V object) {
1326 public boolean equals(Object object) {
1327 return m.equals(object);
1382 public boolean equals(Object object) {
1383 return c.equals(object);
1477 * @param object
1487 List<? extends Comparable<? super T>> list, T object) {
1500 if ((result = -it.next().compareTo(object)) <= 0) {
1513 if ((result = -list.get(mid).compareTo(object)) > 0) {
1533 * @param object
1548 public static <T> int binarySearch(List<? extends T> list, T object,
1552 (List<? extends Comparable<? super T>>) list, object);
1558 if ((result = -comparator.compare(it.next(), object)) <= 0) {
1571 if ((result = -comparator.compare(list.get(mid),object)) > 0) {
1644 * @param object
1649 public static <T> void fill(List<? super T> list, T object) {
1653 it.set(object);
1775 * @param object
1781 public static <T> List<T> nCopies(final int length, T object) {
1782 return new CopiesList<T>(length, object);
1901 * @param object
1905 public static <E> Set<E> singleton(E object) {
1906 return new SingletonSet<E>(object);
1913 * @param object
1917 public static <E> List<E> singletonList(E object) {
1918 return new SingletonList<E>(object);
2021 * the object to find and replace occurrences of.
2023 * the object to replace all occurrences of {@code obj} in
2679 * Checks if specified object is instance of specified class. Used for a
2683 * object is to be checked
2685 * class of object that should be
2686 * @return specified object
3458 public boolean equals(Object object) {
3459 return s.equals(object);