Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 193 for origin (0.14 sec)

  1. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

       *
       * <p>If the given {@code ListenableFuture} is already a {@code FluentFuture}, it is returned
       * directly. If not, it is wrapped in a {@code FluentFuture} that delegates all calls to the
       * original {@code ListenableFuture}.
       */
      public static <V extends @Nullable Object> FluentFuture<V> from(ListenableFuture<V> future) {
        return future instanceof FluentFuture
            ? (FluentFuture<V>) future
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 11 19:08:44 GMT 2023
    - 18.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

        if (hasSameComparator && (elements instanceof ImmutableSortedSet)) {
          @SuppressWarnings("unchecked")
          ImmutableSortedSet<E> original = (ImmutableSortedSet<E>) elements;
          if (!original.isPartialView()) {
            return original;
          }
        }
        @SuppressWarnings("unchecked") // elements only contains E's; it's safe.
        E[] array = (E[]) Iterables.toArray(elements);
    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)
  3. guava-testlib/src/com/google/common/collect/testing/google/TestStringBiMapGenerator.java

      public final String[] createKeyArray(int length) {
        return new String[length];
      }
    
      @Override
      public final String[] createValueArray(int length) {
        return new String[length];
      }
    
      /** Returns the original element list, unchanged. */
      @Override
      public Iterable<Entry<String, String>> order(List<Entry<String, String>> insertionOrder) {
        return insertionOrder;
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/reflect/TypeResolver.java

             *
             * 2a. If the resolved types are identical to the original types, then we can return the
             * original, identical JDK TypeVariable. By doing so, we sidestep the problem entirely.
             *
             * 2b. If the resolved types are different from the original types, things are trickier. The
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 24.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

       * IllegalArgumentException} if passed a {@code fromKey} less than an earlier {@code fromKey}.
       * However, this method doesn't throw an exception in that situation, but instead keeps the
       * original {@code fromKey}. Similarly, this method keeps the original {@code toKey}, instead of
       * throwing an exception, if passed a {@code toKey} greater than an earlier {@code toKey}.
       */
      @Override
    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)
  6. CONTRIBUTING.md

    License Agreement. This is not a copyright _assignment_; it simply gives
    Google permission to use and redistribute your contributions as part of the
    project.
    
      - If you are an individual writing original source code and you're sure you
        own the intellectual property, then you'll need to sign an [individual
        CLA][]. Please include your GitHub username.
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Nov 17 18:47:47 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/primitives/LongArrayAsListTest.java

         */
        protected abstract List<Long> create(Long[] elements);
    
        @Override
        public Long[] createArray(int length) {
          return new Long[length];
        }
    
        /** Returns the original element list, unchanged. */
        @Override
        public List<Long> order(List<Long> insertionOrder) {
          return insertionOrder;
        }
      }
    
      public static class SampleLongs extends SampleElements<Long> {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 5.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/Closeables.java

       * Closes a {@link Closeable}, with control over whether an {@code IOException} may be thrown.
       * This is primarily useful in a finally block, where a thrown exception needs to be logged but
       * not propagated (otherwise the original exception will be lost).
       *
       * <p>If {@code swallowIOException} is true then we never throw {@code IOException} but merely log
       * it.
       *
       * <p>Example:
       *
       * <pre>{@code
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/SetsTest.java

      public void testImmutableEnumSet_deserializationMakesDefensiveCopy() throws Exception {
        ImmutableSet<SomeEnum> original = Sets.immutableEnumSet(SomeEnum.A, SomeEnum.B);
        int handleOffset = 6;
        byte[] serializedForm = serializeWithBackReference(original, handleOffset);
        ObjectInputStream in = new ObjectInputStream(new ByteArrayInputStream(serializedForm));
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 49.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java

        IntegerDiv10 twelve = new IntegerDiv10(12);
        IntegerDiv10 twenty = new IntegerDiv10(20);
    
        List<IntegerDiv10> original = ImmutableList.of(three, eleven, twelve, twenty);
    
        Multiset<IntegerDiv10> copy = ImmutableSortedMultiset.copyOf(original);
        assertTrue(copy.contains(eleven));
        assertTrue(copy.contains(twelve));
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 19.4K bytes
    - Viewed (0)
Back to top