Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 225 for original (0.18 sec)

  1. 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)
  2. guava-testlib/src/com/google/common/collect/testing/google/MultimapKeysTester.java

        assertEquals(multimap().keySet(), multimap().keys().elementSet());
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testKeysRemove() {
        int original = multimap().keys().remove(k0(), 1);
        assertEquals(Math.max(original - 1, 0), multimap().get(k0()).size());
      }
    
      @CollectionSize.Require(ONE)
      @CollectionFeature.Require(SUPPORTS_ITERATOR_REMOVE)
      public void testKeysEntrySetIteratorRemove() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 4.3K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapKeysTester.java

        assertEquals(multimap().keySet(), multimap().keys().elementSet());
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testKeysRemove() {
        int original = multimap().keys().remove(k0(), 1);
        assertEquals(Math.max(original - 1, 0), multimap().get(k0()).size());
      }
    
      @CollectionSize.Require(ONE)
      @CollectionFeature.Require(SUPPORTS_ITERATOR_REMOVE)
      public void testKeysEntrySetIteratorRemove() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 4.3K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/google/BiMapInverseTester.java

      }
    
      private static class BiMapPair<K, V> implements Serializable {
        final BiMap<K, V> forward;
        final BiMap<V, K> backward;
    
        BiMapPair(BiMap<K, V> original) {
          this.forward = original;
          this.backward = original.inverse();
        }
    
        private static final long serialVersionUID = 0;
      }
    
      /**
       * Returns {@link Method} instances for the tests that assume that the inverse will be the same
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapInverseTester.java

      }
    
      private static class BiMapPair<K, V> implements Serializable {
        final BiMap<K, V> forward;
        final BiMap<V, K> backward;
    
        BiMapPair(BiMap<K, V> original) {
          this.forward = original;
          this.backward = original.inverse();
        }
    
        private static final long serialVersionUID = 0;
      }
    
      /**
       * Returns {@link Method} instances for the tests that assume that the inverse will be the same
    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/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)
  7. 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)
  8. 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)
  9. android/guava-tests/test/com/google/common/collect/TablesTransposeRowTest.java

      public TablesTransposeRowTest() {
        super(false, true, true, true, false);
      }
    
      @Override
      Table<Character, String, Integer> makeTable() {
        Table<String, Character, Integer> original = TreeBasedTable.create();
        return Tables.transpose(original);
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java

        assertSame(copy, ImmutableBiMap.copyOf(copy));
      }
    
      public void testCopyOf() {
        Map<String, Integer> original = new LinkedHashMap<>();
        original.put("one", 1);
        original.put("two", 2);
        original.put("three", 3);
    
        ImmutableBiMap<String, Integer> copy = ImmutableBiMap.copyOf(original);
        assertMapEquals(copy, "one", 1, "two", 2, "three", 3);
        assertSame(copy, ImmutableBiMap.copyOf(copy));
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 21.3K bytes
    - Viewed (0)
Back to top