Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 46 for Towers (0.18 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java

      }
    
      @CollectionSize.Require(SEVERAL)
      public void testLowerHole() {
        resetWithHole();
        assertEquals(null, navigableSet.lower(a));
        assertEquals(a, navigableSet.lower(b));
        assertEquals(a, navigableSet.lower(c));
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testFloorHole() {
        resetWithHole();
        assertEquals(a, navigableSet.floor(a));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/CaseFormatTest.java

        assertEquals("foo", LOWER_CAMEL.to(LOWER_UNDERSCORE, "foo"));
        assertEquals("foo_bar", LOWER_CAMEL.to(LOWER_UNDERSCORE, "fooBar"));
        assertEquals("h_t_t_p", LOWER_CAMEL.to(LOWER_UNDERSCORE, "hTTP"));
      }
    
      public void testLowerCamelToLowerCamel() {
        assertEquals("foo", LOWER_CAMEL.to(LOWER_CAMEL, "foo"));
        assertEquals("fooBar", LOWER_CAMEL.to(LOWER_CAMEL, "fooBar"));
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu May 04 09:41:29 GMT 2023
    - 8.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ForwardingNavigableSet.java

      @Override
      @CheckForNull
      public E lower(@ParametricNullness E e) {
        return delegate().lower(e);
      }
    
      /**
       * A sensible definition of {@link #lower} in terms of the {@code descendingIterator} method of
       * {@link #headSet(Object, boolean)}. If you override {@link #headSet(Object, boolean)}, you may
       * wish to override {@link #lower} to forward to this implementation.
       */
      @CheckForNull
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri May 12 15:26:39 GMT 2023
    - 9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/DescendingImmutableSortedSet.java

      }
    
      @Override
      @GwtIncompatible("NavigableSet")
      ImmutableSortedSet<E> createDescendingSet() {
        throw new AssertionError("should never be called");
      }
    
      @Override
      @CheckForNull
      public E lower(E element) {
        return forward.higher(element);
      }
    
      @Override
      @CheckForNull
      public E floor(E element) {
        return forward.ceiling(element);
      }
    
      @Override
      @CheckForNull
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/base/AsciiTest.java

      private static final String LOWER = "abcdefghijklmnopqrstuvwxyz";
      private static final String UPPER = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
    
      public void testToLowerCase() {
        assertEquals(LOWER, Ascii.toLowerCase(UPPER));
        assertSame(LOWER, Ascii.toLowerCase(LOWER));
        assertEquals(IGNORED, Ascii.toLowerCase(IGNORED));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/PackageSanityTests.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import com.google.common.testing.AbstractPackageSanityTests;
    
    /**
     * Covers basic sanity checks for the entire package.
     *
     * @author Ben Yu
     */
    
    public class PackageSanityTests extends AbstractPackageSanityTests {
      public PackageSanityTests() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 10 21:41:58 GMT 2012
    - 1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/math/BigDecimalMath.java

       * the least significant bit zero is chosen. (In such cases, both of the nearest representable
       * values are even integers; this method returns the one that is a multiple of a greater power of
       * two.)
       *
       * @throws ArithmeticException if {@code mode} is {@link RoundingMode#UNNECESSARY} and {@code x}
       *     is not precisely representable as a {@code double}
       * @since 30.0
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 23 18:45:50 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/SortedListsTest.java

        // key is not present
        int nextHigherIndex = list.size();
        for (int i = list.size() - 1; i >= 0 && list.get(i) > key; i--) {
          nextHigherIndex = i;
        }
        switch (absentBehavior) {
          case NEXT_LOWER:
            assertEquals(nextHigherIndex - 1, answer);
            return;
          case NEXT_HIGHER:
            assertEquals(nextHigherIndex, answer);
            return;
          case INVERTED_INSERTION_INDEX:
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/SmallCharMatcher.java

       * can hold setSize elements with the desired load factor.
       */
      @VisibleForTesting
      static int chooseTableSize(int setSize) {
        if (setSize == 1) {
          return 2;
        }
        // Correct the size for open addressing to match desired load factor.
        // Round up to the next highest power of 2.
        int tableSize = Integer.highestOneBit(setSize - 1) << 1;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/SortedMultisets.java

          implements NavigableSet<E> {
        NavigableElementSet(SortedMultiset<E> multiset) {
          super(multiset);
        }
    
        @Override
        @CheckForNull
        public E lower(@ParametricNullness E e) {
          return getElementOrNull(multiset().headMultiset(e, OPEN).lastEntry());
        }
    
        @Override
        @CheckForNull
        public E floor(@ParametricNullness E e) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 01 17:18:04 GMT 2021
    - 5.6K bytes
    - Viewed (0)
Back to top