Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ImmutableSortedAsList (0.2 sec)

  1. guava/src/com/google/common/collect/ImmutableSortedAsList.java

     * @author Jared Levy
     * @author Louis Wasserman
     */
    @GwtCompatible(emulated = true)
    @SuppressWarnings("serial")
    @ElementTypesAreNonnullByDefault
    final class ImmutableSortedAsList<E> extends RegularImmutableAsList<E>
        implements SortedIterable<E> {
      ImmutableSortedAsList(ImmutableSortedSet<E> backingSet, ImmutableList<E> backingList) {
        super(backingSet, backingList);
      }
    
      @Override
      ImmutableSortedSet<E> delegateCollection() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/RegularImmutableSortedSet.java

        } catch (ClassCastException e) {
          return -1;
        }
        return (position >= 0) ? position : -1;
      }
    
      @Override
      ImmutableList<E> createAsList() {
        return (size() <= 1) ? elements : new ImmutableSortedAsList<E>(this, elements);
      }
    
      @Override
      ImmutableSortedSet<E> createDescendingSet() {
        Comparator<? super E> reversedOrder = Collections.reverseOrder(comparator);
        return isEmpty()
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top