Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 234 for Night (0.12 sec)

  1. guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java

          return new Ordering<Entry<AnEnum, String>>() {
    
            @Override
            public int compare(Entry<AnEnum, String> left, Entry<AnEnum, String> right) {
              return left.getKey().compareTo(right.getKey());
            }
          }.sortedCopy(insertionOrder);
        }
      }
    
      public static class ImmutableMapValuesAsSingletonSetGenerator
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

              Arrays.sort(sortedKs, comparator);
              Object[] sortedValues = new Object[size];
    
              // We might, somehow, be able to reorder values in-place.  But it doesn't seem like
              // there's a way around creating the separate sortedKeys array, and if we're allocating
              // one array of size n, we might as well allocate two -- to say nothing of the allocation
              // done in Arrays.sort.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java

        this.iterator = iterator;
      }
    
      @Override
      public Iterator<E> iterator() {
        if (iterator == null) {
          // TODO: throw something else? Do we worry that people's code and tests
          // might be relying on this particular type of exception?
          throw new IllegalStateException();
        }
        try {
          return iterator;
        } finally {
          iterator = null;
        }
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  4. android/guava-testlib/pom.xml

          <version>${project.version}</version>
        </dependency>
        <dependency>
          <groupId>junit</groupId>
          <artifactId>junit</artifactId>
          <!-- *not* <scope>test</scope>; <scope>compile</scope> is right so that guava-testlib users get junit transitively. -->
          <version>4.13.2</version>
        </dependency>
        <dependency>
          <!--
    XML
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jul 31 18:55:22 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

                    .readAttributes();
            assertThat(attributes.permissions()).containsExactly(OWNER_READ, OWNER_WRITE);
          }
        }
        out.close();
    
        // Check that source returns the right data
        assertTrue(Arrays.equals(data, source.read()));
    
        // Make sure that reset deleted the file
        out.reset();
        if (file != null) {
          assertFalse(file.exists());
        }
      }
    
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 5.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/math/LongMath.java

         *
         *            k * k <= x          <  (k + 1) * (k + 1)
         * (double) (k * k) <= (double) x <= (double) ((k + 1) * (k + 1))
         *          since casting to double is nondecreasing.
         *          Note that the right-hand inequality is no longer strict.
         * Math.sqrt(k * k) <= Math.sqrt(x) <= Math.sqrt((k + 1) * (k + 1))
         *          since Math.sqrt is monotonic.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 44.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/Throwables.java

          throw death;
        } catch (Throwable t) {
          /*
           * This is not one of AppEngine's allowed classes, so even in Sun JDKs, this can fail with
           * a NoClassDefFoundError. Other apps might deny access to sun.misc packages.
           */
          return null;
        }
      }
    
      /**
       * Returns the Method that can be used to resolve an individual StackTraceElement, or null if that
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Throwables.java

          throw death;
        } catch (Throwable t) {
          /*
           * This is not one of AppEngine's allowed classes, so even in Sun JDKs, this can fail with
           * a NoClassDefFoundError. Other apps might deny access to sun.misc packages.
           */
          return null;
        }
      }
    
      /**
       * Returns the Method that can be used to resolve an individual StackTraceElement, or null if that
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Multimap.java

     * Set}, respectively.
     *
     * <p>For example, the "presidents" code snippet above used a {@code ListMultimap}; if it had used a
     * {@code SetMultimap} instead, two presidents would have vanished, and last names might or might
     * not appear in chronological order.
     *
     * <p><b>Warning:</b> instances of type {@code Multimap} may not implement {@link Object#equals} in
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 15.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/HashBiMap.java

        }
    
        /*
         * The ordering here is important: if we deleted the key entry and then the value entry,
         * the key entry's prev or next pointer might point to the dead value entry, and when we
         * put the new entry in the key entry's position in iteration order, it might invalidate
         * the linked list.
         */
    
        if (oldEntryForValue != null) {
          delete(oldEntryForValue);
        }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 24.5K bytes
    - Viewed (0)
Back to top