Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 212 for ordinal (0.27 sec)

  1. 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)
  2. guava-tests/test/com/google/common/base/EnumsTest.java

            (Class<TestEnum>) Class.forName(TestEnum.class.getName(), false, shadowLoader);
        assertNotSame(shadowTestEnum, TestEnum.class);
        // We can't write Set<TestEnum> because that is a Set of the TestEnum from the original
        // ClassLoader.
        Set<Object> shadowConstants = new HashSet<>();
        for (TestEnum constant : TestEnum.values()) {
          Optional<TestEnum> result = Enums.getIfPresent(shadowTestEnum, constant.name());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 03 20:10:02 GMT 2023
    - 8.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Throwables.java

       *
       * <p>Prefer this method instead of manually casting an exception's cause. For example, {@code
       * (IOException) e.getCause()} throws a {@link ClassCastException} that discards the original
       * exception {@code e} if the cause is not an {@link IOException}, but {@code
       * Throwables.getCauseAs(e, IOException.class)} keeps {@code e} as the {@link
       * ClassCastException}'s cause.
       *
    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)
  4. 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 Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Throwables.java

       *
       * <p>Prefer this method instead of manually casting an exception's cause. For example, {@code
       * (IOException) e.getCause()} throws a {@link ClassCastException} that discards the original
       * exception {@code e} if the cause is not an {@link IOException}, but {@code
       * Throwables.getCauseAs(e, IOException.class)} keeps {@code e} as the {@link
       * ClassCastException}'s cause.
       *
    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)
  6. guava-tests/test/com/google/common/collect/TableCollectionTest.java

                      @Override
                      Table<String, Integer, Character> createTable() {
                        Table<Integer, String, Character> original = TreeBasedTable.create();
                        return Tables.transpose(original);
                      }
                    })
                .named("TransposedTable.cellSet")
                .withFeatures(
                    CollectionSize.ANY,
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 35.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Iterables.java

       * That is, this method behaves exactly as {@code Iterables.cycle(Lists.newArrayList(elements))}.
       * The iterator's {@code hasNext} method returns {@code true} until all of the original elements
       * have been removed.
       *
       * <p><b>Warning:</b> Typical uses of the resulting iterator may produce an infinite loop. You
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 42.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableList.java

       * immutable list is returned.)
       *
       * <p><b>Note:</b> in almost all circumstances, the returned {@link ImmutableList} retains a
       * strong reference to {@code this}, which may prevent the original list from being garbage
       * collected. If you want the original list to be eligible for garbage collection, you should
       * create and use a copy of the sub list (e.g., {@code
       * ImmutableList.copyOf(originalList.subList(...))}).
       */
      @Override
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 30K bytes
    - Viewed (1)
  9. android/guava/src/com/google/common/hash/Hashing.java

       *
       * <p>The exact C++ equivalent is the MurmurHash3_x86_32 function (Murmur3A).
       *
       * <p>This method is called {@code murmur3_32_fixed} because it fixes a bug in the {@code
       * HashFunction} returned by the original {@code murmur3_32} method.
       *
       * @since 31.0
       */
      public static HashFunction murmur3_32_fixed(int seed) {
        return new Murmur3_32HashFunction(seed, /* supplementaryPlaneFix= */ true);
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 09 00:37:15 GMT 2024
    - 29.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

         */
        protected abstract List<Double> create(Double[] elements);
    
        @Override
        public Double[] createArray(int length) {
          return new Double[length];
        }
    
        /** Returns the original element list, unchanged. */
        @Override
        public List<Double> order(List<Double> insertionOrder) {
          return insertionOrder;
        }
      }
    
      @J2ktIncompatible
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 06 15:23:21 GMT 2023
    - 20K bytes
    - Viewed (0)
Back to top