Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 54 for gettext (0.17 sec)

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

      @Override
      @CheckForNull
      public Entry<K, V> firstEntry() {
        return Iterators.<@Nullable Entry<K, V>>getNext(entryIterator(), null);
      }
    
      @Override
      @CheckForNull
      public Entry<K, V> lastEntry() {
        return Iterators.<@Nullable Entry<K, V>>getNext(descendingEntryIterator(), null);
      }
    
      @Override
      @CheckForNull
      public Entry<K, V> pollFirstEntry() {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Jun 15 18:11:44 GMT 2023
    - 4.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

          assertEquals(hashOne, entryOne.getHash());
          assertNull(entryOne.getNext());
          assertSame(valueOne, copyOne.getValue());
    
          InternalEntry<Object, Object, ?> copyTwo = segment.copyForTesting(entryTwo, copyOne);
          assertSame(keyTwo, copyTwo.getKey());
          assertEquals(hashTwo, copyTwo.getHash());
          assertSame(copyOne, copyTwo.getNext());
          assertSame(valueTwo, copyTwo.getValue());
        }
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 35.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

          assertEquals(hashOne, entryOne.getHash());
          assertNull(entryOne.getNext());
          assertSame(valueOne, copyOne.getValue());
    
          InternalEntry<Object, Object, ?> copyTwo = segment.copyForTesting(entryTwo, copyOne);
          assertSame(keyTwo, copyTwo.getKey());
          assertEquals(hashTwo, copyTwo.getHash());
          assertSame(copyOne, copyTwo.getNext());
          assertSame(valueTwo, copyTwo.getValue());
        }
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 35.1K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/SetAddAllTester.java

        assertTrue(
            "add(somePresent) should return true", getSet().addAll(MinimalCollection.of(e3(), e0())));
        expectAdded(e3());
      }
    
      @CollectionFeature.Require(SUPPORTS_ADD)
      public void testAddAll_withDuplicates() {
        MinimalCollection<E> elementsToAdd = MinimalCollection.of(e3(), e4(), e3(), e4());
        assertTrue("add(hasDuplicates) should return true", getSet().addAll(elementsToAdd));
        expectAdded(e3(), e4());
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/SetHashCodeTester.java

          expectedHashCode += ((element == null) ? 0 : element.hashCode());
        }
        assertEquals(
            "A Set's hashCode() should be the sum of those of its elements.",
            expectedHashCode,
            getSet().hashCode());
      }
    
      @CollectionSize.Require(absent = CollectionSize.ZERO)
      @CollectionFeature.Require(ALLOWS_NULL_VALUES)
      public void testHashCode_containingNull() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/IteratorsTest.java

        Iterator<String> iterator = Collections.singletonList("foo").iterator();
        assertEquals("foo", Iterators.getNext(iterator, "bar"));
      }
    
      public void testGetNext_withDefault_empty() {
        Iterator<String> iterator = Iterators.emptyIterator();
        assertEquals("bar", Iterators.getNext(iterator, "bar"));
      }
    
      public void testGetNext_withDefault_empty_null() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 55.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/EnumBiMap.java

       * probably work around it by changing how we annotate the J2CL EnumMap, but that's probably more
       * trouble than just using Object.class.)
       *
       * Then we declare the getters for these fields as @GwtIncompatible so that no one can try to use
       * them under J2CL—or, as an unfortunate side effect, under GWT. We do still give the fields
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 6.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Iterables.java

          Iterators.advance(iterator, position);
          return Iterators.getNext(iterator, defaultValue);
        }
      }
    
      /**
       * Returns the first element in {@code iterable} or {@code defaultValue} if the iterable is empty.
       * The {@link Iterators} analog to this method is {@link Iterators#getNext}.
       *
       * <p>If no default value is desired (and the caller instead wants a {@link
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 42.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

      @GwtIncompatible // NavigableSet
      @Override
      @CheckForNull
      public E lower(E e) {
        return Iterators.<@Nullable E>getNext(headSet(e, false).descendingIterator(), null);
      }
    
      /** @since 12.0 */
      @Override
      @CheckForNull
      public E floor(E e) {
        return Iterators.<@Nullable E>getNext(headSet(e, true).descendingIterator(), null);
      }
    
      /** @since 12.0 */
      @Override
      @CheckForNull
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/AbstractNavigableMap.java

      @Override
      @CheckForNull
      public Entry<K, V> firstEntry() {
        return Iterators.<@Nullable Entry<K, V>>getNext(entryIterator(), null);
      }
    
      @Override
      @CheckForNull
      public Entry<K, V> lastEntry() {
        return Iterators.<@Nullable Entry<K, V>>getNext(descendingEntryIterator(), null);
      }
    
      @Override
      @CheckForNull
      public Entry<K, V> pollFirstEntry() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jun 15 18:11:44 GMT 2023
    - 4.5K bytes
    - Viewed (0)
Back to top