Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 24 of 24 for addFirst (0.04 sec)

  1. android/guava/src/com/google/common/collect/Synchronized.java

        }
    
        @Override
        Deque<E> delegate() {
          return (Deque<E>) super.delegate();
        }
    
        @Override
        public void addFirst(E e) {
          synchronized (mutex) {
            delegate().addFirst(e);
          }
        }
    
        @Override
        public void addLast(E e) {
          synchronized (mutex) {
            delegate().addLast(e);
          }
        }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Aug 08 15:11:10 UTC 2025
    - 53K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Synchronized.java

        }
    
        @Override
        Deque<E> delegate() {
          return (Deque<E>) super.delegate();
        }
    
        @Override
        public void addFirst(E e) {
          synchronized (mutex) {
            delegate().addFirst(e);
          }
        }
    
        @Override
        public void addLast(E e) {
          synchronized (mutex) {
            delegate().addLast(e);
          }
        }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Aug 08 15:11:10 UTC 2025
    - 56.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/collection/CollectionsUtil.java

         * @param collection the sequenced collection
         * @param element the element to add
         * @since Java 21
         */
        public static <E> void addFirst(final SequencedCollection<E> collection, final E element) {
            collection.addFirst(element);
        }
    
        /**
         * Adds an element to the end of a sequenced collection.
         *
         * @param <E> the element type
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 49.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Iterators.java

                this.metaIterators = new ArrayDeque<>();
              }
              this.metaIterators.addFirst(this.topMetaIterator);
              if (topConcat.metaIterators != null) {
                while (!topConcat.metaIterators.isEmpty()) {
                  this.metaIterators.addFirst(topConcat.metaIterators.removeLast());
                }
              }
              this.topMetaIterator = topConcat.topMetaIterator;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 16 12:42:11 UTC 2025
    - 51.4K bytes
    - Viewed (0)
Back to top