Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for peekLast (0.15 sec)

  1. guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        assertEquals(4, (int) mmHeap.pollLast());
        assertEquals(3, (int) mmHeap.peekLast());
        assertEquals(3, (int) mmHeap.pollLast());
        assertEquals(1, (int) mmHeap.peek());
        assertEquals(2, (int) mmHeap.peekLast());
        assertEquals(2, (int) mmHeap.pollLast());
        assertEquals(1, (int) mmHeap.peek());
        assertEquals(1, (int) mmHeap.peekLast());
        assertEquals(1, (int) mmHeap.pollLast());
        assertNull(mmHeap.peek());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 36.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        assertEquals(4, (int) mmHeap.pollLast());
        assertEquals(3, (int) mmHeap.peekLast());
        assertEquals(3, (int) mmHeap.pollLast());
        assertEquals(1, (int) mmHeap.peek());
        assertEquals(2, (int) mmHeap.peekLast());
        assertEquals(2, (int) mmHeap.pollLast());
        assertEquals(1, (int) mmHeap.peek());
        assertEquals(1, (int) mmHeap.peekLast());
        assertEquals(1, (int) mmHeap.pollLast());
        assertNull(mmHeap.peek());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 36.1K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/ReactorReader.java

                    if (phase != null) {
                        Deque<String> phases = getLifecycles(project);
                        if (!Objects.equals(phase, phases.peekLast())) {
                            phases.addLast(phase);
                            if ("clean".equals(phase)) {
                                cleanProjectLocalRepository(project);
                            }
                        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

     * defined as the <i>least</i> element in the queue according to the queue's comparator. But unlike
     * a regular priority queue, the methods {@link #peekLast}, {@link #pollLast} and {@link
     * #removeLast} are also provided, to act on the <i>greatest</i> element in the queue instead.
     *
     * <p>A min-max priority queue can be configured with a maximum size. If so, each time the size of
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 34K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/util/GsaConfigParser.java

            if (tagQueue.isEmpty() && !"eef".equalsIgnoreCase(qName)) {
                throw new GsaConfigException("Invalid format.");
            }
            if (COLLECTION.equalsIgnoreCase(qName) && COLLECTIONS.equalsIgnoreCase(tagQueue.peekLast())) {
                final long now = ComponentUtil.getSystemHelper().getCurrentTimeAsLong();
                final String name = attributes.getValue("Name");
                labelType = new LabelType();
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  6. api/maven-api-plugin/src/main/mdo/plugin.mdo

            <field xml.format="((PluginDescriptor.Builder) context.peekLast()).build().getId() + &quot;:&quot; + mojoDescriptor.build().getGoal()">
              <name>id</name>
              <version>2.0.0+</version>
              <type>String</type>
              <description>the id of the mojo, based on the goal name</description>
            </field>
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sun Apr 14 17:14:22 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Synchronized.java

        public E peekFirst() {
          synchronized (mutex) {
            return delegate().peekFirst();
          }
        }
    
        @Override
        @CheckForNull
        public E peekLast() {
          synchronized (mutex) {
            return delegate().peekLast();
          }
        }
    
        @Override
        public boolean removeFirstOccurrence(@CheckForNull Object o) {
          synchronized (mutex) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 53.4K bytes
    - Viewed (0)
Back to top