Lines Matching defs:element

62         private final E element;
69 element = object;
73 return element == null ? object == null : element.equals(object);
82 return element;
225 final E element;
228 element = object;
232 return element == null ? object == null : element.equals(object);
250 return element;
265 final E element;
268 element = object;
272 return element == null ? object == null : element.equals(object);
277 return element;
1396 * Performs a binary search for the specified element in the specified
1399 * undefined which element is found if there are multiple occurrences of the
1400 * same element.
1405 * the element to find.
1406 * @return the non-negative index of the element, or a negative index which
1407 * is the {@code -index - 1} where the element would be inserted
1409 * if an element in the List or the search element does not
1451 * Performs a binary search for the specified element in the specified
1454 * has an undefined result. It's also undefined which element is found if
1455 * there are multiple occurrences of the same element.
1460 * the element to find.
1464 * @return the non-negative index of the element, or a negative index which
1465 * is the {@code -index - 1} where the element would be inserted.
1467 * when an element in the list and the searched element cannot
1518 * when replacing an element in the destination list is not
1563 * Fills the specified list with the specified element.
1568 * the element to fill the list with.
1570 * when replacing an element in the List is not supported.
1581 * Searches the specified collection for the maximum element.
1585 * @return the maximum element in the Collection.
1587 * when an element in the collection does not implement
1605 * Searches the specified collection for the maximum element using the
1612 * @return the maximum element in the Collection.
1637 * Searches the specified collection for the minimum element.
1641 * @return the minimum element in the collection.
1643 * when an element in the collection does not implement
1661 * Searches the specified collection for the minimum element using the
1668 * @return the minimum element in the collection.
1693 * Returns a list containing the specified number of the specified element.
1699 * the element to be added {@code length} times to a list.
1700 * @return a list containing {@code length} copies of the element.
1715 * when replacing an element in the List is not supported.
1766 * Moves every element of the list to a random new position in the list.
1772 * when replacing an element in the List is not supported.
1779 * Moves every element of the list to a random new position in the list
1787 * when replacing an element in the list is not supported.
1817 * Returns a set containing the specified element. The set cannot be
1821 * the element.
1822 * @return a set containing the element.
1829 * Returns a list containing the specified element. The list cannot be
1833 * the element.
1834 * @return a list containing the element.
1861 * when an element in the List does not implement Comparable or
1907 * position of the first element to swap with the element in
1910 * position of the other element.
1996 // make sure each element gets juggled
1997 // with the element in the position it is supposed to go to
2043 // find the first element of sublist in the list to get a head start
2061 Object element = sublistIt.next();
2065 if ((element == null) ? listIt.next() != null : !element
2110 // find the last element of sublist in the list to get a head start
2125 Object element = sublistIt.previous();
2129 if ((element == null) ? listIt.previous() != null
2130 : !element.equals(listIt.previous())) {
2464 * to insert an element of the wrong type into this collection throws a
2481 * insert an element of the wrong type into this map throws a
2500 * insert an element of the wrong type into this list throws a
2519 * insert an element of the wrong type into this set throws a
2535 * to insert an element of the wrong type into this sorted map throws a
2554 * to insert an element of the wrong type into this sorted set throws a
2635 throw new ClassCastException("Attempt to insert element of type " + obj.getClass() +
2780 @Override public E element() {