Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 360 for UNCHECKED (0.29 sec)

  1. android/guava-tests/test/com/google/common/collect/ForwardingNavigableMapTest.java

        assertEquals(immutableEntry("c", 3), forwarding.lastEntry());
        forwarding.remove("c");
        assertEquals(immutableEntry("b", 2), forwarding.lastEntry());
      }
    
      @SuppressWarnings({"rawtypes", "unchecked"})
      public void testForwarding() {
        new ForwardingWrapperTester()
            .testForwarding(
                NavigableMap.class,
                new Function<NavigableMap, NavigableMap>() {
                  @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/graph/NetworkBuilder.java

      public <N1 extends N, E1 extends E> MutableNetwork<N1, E1> build() {
        return new StandardMutableNetwork<>(this);
      }
    
      @SuppressWarnings("unchecked")
      private <N1 extends N, E1 extends E> NetworkBuilder<N1, E1> cast() {
        return (NetworkBuilder<N1, E1>) this;
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/graph/ValueGraphBuilder.java

        newBuilder.nodeOrder = nodeOrder;
        newBuilder.expectedNodeCount = expectedNodeCount;
        newBuilder.incidentEdgeOrder = incidentEdgeOrder;
        return newBuilder;
      }
    
      @SuppressWarnings("unchecked")
      private <N1 extends N, V1 extends V> ValueGraphBuilder<N1, V1> cast() {
        return (ValueGraphBuilder<N1, V1>) this;
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponse.java

         * @param responseType the class of the expected response type
         * @return decoded data
         * @throws SmbException if decoding fails or the response type is incompatible
         */
        @SuppressWarnings("unchecked")
        public <T extends Decodable> T getOutputData(final Class<T> responseType) throws SmbException {
    
            final Decodable out = getOutputData();
    
            if (out == null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        ReferenceEntry<Object, Object> entry = segment.getEntry(one, hash);
        ReferenceEntry<Object, Object> newEntry = segment.copyEntry(entry, null);
        table.set(index, newEntry);
    
        @SuppressWarnings("unchecked")
        LoadingValueReference<Object, Object> valueReference =
            (LoadingValueReference) newEntry.getValueReference();
        assertFalse(valueReference.futureValue.isDone());
        startSignal.countDown();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 110.5K bytes
    - Viewed (0)
  6. android/guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

            AtomicReference.class,
            AtomicBoolean.class,
            AtomicInteger.class,
            AtomicLong.class,
            AtomicDouble.class);
      }
    
      @SuppressWarnings("unchecked") // functor classes have no type parameters
      public void testGet_functors() {
        assertEquals(0, ArbitraryInstances.get(Comparator.class).compare("abc", 123));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 21.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableListMultimap.java

      /**
       * Returns the empty multimap.
       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
      // Casting is safe because the multimap will never hold any elements.
      @SuppressWarnings("unchecked")
      public static <K, V> ImmutableListMultimap<K, V> of() {
        return (ImmutableListMultimap<K, V>) EmptyImmutableListMultimap.INSTANCE;
      }
    
      /** Returns an immutable multimap containing a single entry. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/EnumMultiset.java

       */
      @GwtIncompatible // java.io.ObjectInputStream
      private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
        stream.defaultReadObject();
        @SuppressWarnings("unchecked") // reading data stored by writeObject
        Class<E> localType = (Class<E>) requireNonNull(stream.readObject());
        type = localType;
        enumConstants = type.getEnumConstants();
        counts = new int[enumConstants.length];
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ForwardingNavigableMapTest.java

        assertEquals(immutableEntry("c", 3), forwarding.lastEntry());
        forwarding.remove("c");
        assertEquals(immutableEntry("b", 2), forwarding.lastEntry());
      }
    
      @SuppressWarnings({"rawtypes", "unchecked"})
      public void testForwarding() {
        new ForwardingWrapperTester()
            .testForwarding(
                NavigableMap.class,
                new Function<NavigableMap, NavigableMap>() {
                  @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/MIENameTest.java

            // Arrange
            byte[] buf;
            if (bufferSupplierOrBytes instanceof byte[]) {
                buf = (byte[]) bufferSupplierOrBytes;
            } else {
                @SuppressWarnings("unchecked")
                java.util.function.Supplier<byte[]> sup = (java.util.function.Supplier<byte[]>) bufferSupplierOrBytes;
                buf = sup.get();
            }
    
            // Act + Assert
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.6K bytes
    - Viewed (0)
Back to top