Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 193 for origin (0.16 sec)

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

        }
    
        public ExampleStackTrace getConflictingStackTrace() {
          return conflictingStackTrace;
        }
    
        /**
         * Appends the chain of messages from the {@code conflictingStackTrace} to the original {@code
         * message}.
         */
        @Override
        public String getMessage() {
          // requireNonNull is safe because ExampleStackTrace sets a non-null message.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 35.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Multisets.java

      }
    
      /**
       * Returns a copy of {@code multiset} as an {@link ImmutableMultiset} whose iteration order puts
       * the highest count first, with ties broken by the iteration order of the original multiset.
       *
       * @since 11.0
       */
      public static <E> ImmutableMultiset<E> copyHighestCountFirst(Multiset<E> multiset) {
        @SuppressWarnings("unchecked") // generics+arrays
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  3. android/guava-testlib/test/com/google/common/testing/SerializableTesterTest.java

      public void testStringAssertions() {
        String original = "hello world";
        String copy = SerializableTester.reserializeAndAssert(original);
        assertEquals(original, copy);
        assertNotSame(original, copy);
      }
    
      public void testClassWhichDoesNotImplementEquals() {
        ClassWhichDoesNotImplementEquals orig = new ClassWhichDoesNotImplementEquals();
        boolean errorNotThrown = false;
        try {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 15:49:06 GMT 2023
    - 4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/MapsTest.java

        Map<String, Integer> original = new TreeMap<>();
        original.put("a", 1);
        original.put("b", 2);
        original.put("c", 3);
        HashMap<String, Integer> map = Maps.newHashMap(original);
        assertEquals(original, map);
      }
    
      public void testHashMapGeneralizesTypes() {
        Map<String, Integer> original = new TreeMap<>();
        original.put("a", 1);
        original.put("b", 2);
        original.put("c", 3);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 67.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/MapsTest.java

        Map<String, Integer> original = new TreeMap<>();
        original.put("a", 1);
        original.put("b", 2);
        original.put("c", 3);
        HashMap<String, Integer> map = Maps.newHashMap(original);
        assertEquals(original, map);
      }
    
      public void testHashMapGeneralizesTypes() {
        Map<String, Integer> original = new TreeMap<>();
        original.put("a", 1);
        original.put("b", 2);
        original.put("c", 3);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 64.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ArrayListMultimapTest.java

      }
    
      public void testCreateFromHashMultimap() {
        Multimap<String, Integer> original = HashMultimap.create();
        ArrayListMultimap<String, Integer> multimap = ArrayListMultimap.create(original);
        assertEquals(3, multimap.expectedValuesPerKey);
      }
    
      public void testCreateFromArrayListMultimap() {
        ArrayListMultimap<String, Integer> original = ArrayListMultimap.create(15, 20);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Converter.java

      }
    
      private static final class ReverseConverter<A, B> extends Converter<B, A>
          implements Serializable {
        final Converter<A, B> original;
    
        ReverseConverter(Converter<A, B> original) {
          this.original = original;
        }
    
        /*
         * These gymnastics are a little confusing. Basically this class has neither legacy nor
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/TreeBasedTableTest.java

      public void testCreateCopy() {
        TreeBasedTable<String, Integer, Character> original =
            TreeBasedTable.create(Collections.reverseOrder(), Ordering.usingToString());
        original.put("foo", 3, 'a');
        original.put("foo", 12, 'b');
        original.put("bar", 5, 'c');
        original.put("cat", 8, 'd');
        table = TreeBasedTable.create(original);
        assertThat(table.rowKeySet()).containsExactly("foo", "cat", "bar").inOrder();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 15K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/TablesTransformValuesRowMapTest.java

      public TablesTransformValuesRowMapTest() {
        super(false, true, true, true);
      }
    
      @Override
      Table<String, Integer, Character> makeTable() {
        Table<String, Integer, String> original = HashBasedTable.create();
        return Tables.transformValues(original, TableCollectionTest.FIRST_CHARACTER);
      }
    
      @Override
      protected Map<String, Map<Integer, Character>> makePopulatedMap() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/cache/LocalCache.java

          <K, V> ReferenceEntry<K, V> copyEntry(
              Segment<K, V> segment,
              ReferenceEntry<K, V> original,
              ReferenceEntry<K, V> newNext,
              K key) {
            ReferenceEntry<K, V> newEntry = super.copyEntry(segment, original, newNext, key);
            copyAccessEntry(original, newEntry);
            copyWriteEntry(original, newEntry);
            return newEntry;
          }
        },
        WEAK {
          @Override
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
Back to top