Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 147 for New (0.14 sec)

  1. guava-tests/test/com/google/common/primitives/BooleansTest.java

      public void testRotate() {
        testRotate(new boolean[] {}, -1, new boolean[] {});
        testRotate(new boolean[] {}, 0, new boolean[] {});
        testRotate(new boolean[] {}, 1, new boolean[] {});
    
        testRotate(new boolean[] {true}, -2, new boolean[] {true});
        testRotate(new boolean[] {true}, -1, new boolean[] {true});
        testRotate(new boolean[] {true}, 0, new boolean[] {true});
        testRotate(new boolean[] {true}, 1, new boolean[] {true});
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 15:43:29 GMT 2024
    - 23.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/BooleansTest.java

      public void testRotate() {
        testRotate(new boolean[] {}, -1, new boolean[] {});
        testRotate(new boolean[] {}, 0, new boolean[] {});
        testRotate(new boolean[] {}, 1, new boolean[] {});
    
        testRotate(new boolean[] {true}, -2, new boolean[] {true});
        testRotate(new boolean[] {true}, -1, new boolean[] {true});
        testRotate(new boolean[] {true}, 0, new boolean[] {true});
        testRotate(new boolean[] {true}, 1, new boolean[] {true});
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 15:43:29 GMT 2024
    - 23.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/ShortsTest.java

        testRotate(new short[] {1, 2}, -3, new short[] {2, 1});
        testRotate(new short[] {1, 2}, -1, new short[] {2, 1});
        testRotate(new short[] {1, 2}, -2, new short[] {1, 2});
        testRotate(new short[] {1, 2}, 0, new short[] {1, 2});
        testRotate(new short[] {1, 2}, 1, new short[] {2, 1});
        testRotate(new short[] {1, 2}, 2, new short[] {1, 2});
        testRotate(new short[] {1, 2}, 3, new short[] {2, 1});
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 26.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

        testRotate(new float[] {1, 2}, -3, new float[] {2, 1});
        testRotate(new float[] {1, 2}, -1, new float[] {2, 1});
        testRotate(new float[] {1, 2}, -2, new float[] {1, 2});
        testRotate(new float[] {1, 2}, 0, new float[] {1, 2});
        testRotate(new float[] {1, 2}, 1, new float[] {2, 1});
        testRotate(new float[] {1, 2}, 2, new float[] {1, 2});
        testRotate(new float[] {1, 2}, 3, new float[] {2, 1});
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 29.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableRangeMap.java

        ImmutableList.Builder<Range<K>> rangesBuilder = new ImmutableList.Builder<>(map.size());
        ImmutableList.Builder<V> valuesBuilder = new ImmutableList.Builder<>(map.size());
        for (Entry<Range<K>, ? extends V> entry : map.entrySet()) {
          rangesBuilder.add(entry.getKey());
          valuesBuilder.add(entry.getValue());
        }
        return new ImmutableRangeMap<>(rangesBuilder.build(), valuesBuilder.build());
      }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  6. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java

      public final @Nullable V put(K k, V v) {
        throw new UnsupportedOperationException();
      }
    
      public final @Nullable V remove(Object o) {
        throw new UnsupportedOperationException();
      }
    
      public final void putAll(Map<? extends K, ? extends V> map) {
        throw new UnsupportedOperationException();
      }
    
      public final void clear() {
        throw new UnsupportedOperationException();
      }
    
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/reflect/Types.java

        return newTypeVariableImpl(
            declaration, name, (bounds.length == 0) ? new Type[] {Object.class} : bounds);
      }
    
      /** Returns a new {@link WildcardType} with {@code upperBound}. */
      @VisibleForTesting
      static WildcardType subtypeOf(Type upperBound) {
        return new WildcardTypeImpl(new Type[0], new Type[] {upperBound});
      }
    
      /** Returns a new {@link WildcardType} with {@code lowerBound}. */
      @VisibleForTesting
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

              }
            };
        static final PermittedMetaException UOE =
            new PermittedMetaException("UnsupportedOperationException") {
              @Override
              boolean isPermitted(Exception exception) {
                return exception instanceof UnsupportedOperationException;
              }
            };
        static final PermittedMetaException ISE =
            new PermittedMetaException("IllegalStateException") {
              @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

        return new SpliteratorTester<>(
            ImmutableSet.of(() -> new GeneralSpliteratorOfObject<>(spliteratorSupplier.get())));
      }
    
      /**
       * @since 28.1
       */
      public static SpliteratorTester<Integer> ofInt(Supplier<Spliterator.OfInt> spliteratorSupplier) {
        return new SpliteratorTester<>(
            ImmutableSet.of(
                () -> new GeneralSpliteratorOfObject<>(spliteratorSupplier.get()),
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 18:19:31 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java

      }
    
      public void testCopyOfDuplicateKey() {
        Map<IntegerDiv10, String> original =
            ImmutableMap.of(
                new IntegerDiv10(3), "three",
                new IntegerDiv10(20), "twenty",
                new IntegerDiv10(11), "eleven",
                new IntegerDiv10(35), "thirty five",
                new IntegerDiv10(12), "twelve");
    
        try {
          ImmutableSortedMap.copyOf(original);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 28.1K bytes
    - Viewed (0)
Back to top