Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for unwrap (0.28 sec)

  1. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertEquals(TypeToken.of(Primitives.wrap((Class<?>) type.getType())), type.wrap());
      }
    
      private static void assertNotPrimitive(TypeToken<?> type) {
        assertFalse(type.isPrimitive());
        assertSame(type, type.wrap());
      }
    
      private static void assertIsWrapper(TypeToken<?> type) {
        assertNotPrimitive(type);
        assertEquals(TypeToken.of(Primitives.unwrap((Class<?>) type.getType())), type.unwrap());
      }
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/reflect/TypeToken.java

       * this} itself. Idempotent.
       *
       * @since 15.0
       */
      public final TypeToken<T> unwrap() {
        if (isWrapper()) {
          @SuppressWarnings("unchecked") // this is a wrapper class
          Class<T> type = (Class<T>) runtimeType;
          return of(Primitives.unwrap(type));
        }
        return this;
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 53.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertEquals(TypeToken.of(Primitives.wrap((Class<?>) type.getType())), type.wrap());
      }
    
      private static void assertNotPrimitive(TypeToken<?> type) {
        assertFalse(type.isPrimitive());
        assertSame(type, type.wrap());
      }
    
      private static void assertIsWrapper(TypeToken<?> type) {
        assertNotPrimitive(type);
        assertEquals(TypeToken.of(Primitives.unwrap((Class<?>) type.getType())), type.unwrap());
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Multimaps.java

       * {@code map} and the instances generated by {@code factory} are. Concurrent read operations will
       * work correctly. To allow concurrent update operations, wrap the multimap with a call to {@link
       * #synchronizedMultimap}.
       *
       * <p>Call this method only when the simpler methods {@link ArrayListMultimap#create()}, {@link
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/Futures.java

       *       exceptions).
       * </ul>
       *
       * <p>The overall principle is to eliminate all checked exceptions: to loop to avoid {@code
       * InterruptedException}, to pass through {@code CancellationException}, and to wrap any exception
       * from the underlying computation in an {@code UncheckedExecutionException} or {@code
       * ExecutionError}.
       *
       * <p>For an uninterruptible {@code get} that preserves other exceptions, see {@link
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Iterators.java

       * meet the contract guaranteed by this method.
       *
       * <p>There is no {@link Iterable} equivalent to this method, so use this method to wrap each
       * individual iterator as it is generated.
       *
       * @param iterator the backing iterator. The {@link PeekingIterator} assumes ownership of this
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 50.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/thirdparty/publicsuffix/PublicSuffixPatterns.java

    alfduolc,fc,?i&ht2tniop,pa&elgoog,tneltneg,??jfac,k&-morf,aerf-ten,colb&egrof,pohsym,?nilkaerts,?m&-morf,cxolb,?n&d&-pmet,dyard,golb,htiwssem,mood,tog,?kselp,nyd,ootrac-otni-si,?o&-xobeerf,xobeerf,?ppa&-avnac,raeghtua,t&ikria,neg,??r&ac-otni-si,e&ntrap-paelut,tsohmaerd,??s&e&l-rof-slles,rtca-na-si,?ibodym,?tsaeb-cihtym.&a&llicno,zno,?ilay,lacarac,re&gitnef,motsuc,?sv,toleco,x:n&ihps,yl,?,?u,wanozama.&1-&3s,ht&ron-ue&-3s,.&3s,9duolc&-swa.stessa-weivbew,.s&fv,tessa-weivbew,??adbmal-tcejbo-3s,dorp-...
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 21 21:04:43 GMT 2024
    - 72.4K bytes
    - Viewed (1)
  8. android/guava/src/com/google/common/collect/Iterators.java

       * meet the contract guaranteed by this method.
       *
       * <p>There is no {@link Iterable} equivalent to this method, so use this method to wrap each
       * individual iterator as it is generated.
       *
       * @param iterator the backing iterator. The {@link PeekingIterator} assumes ownership of this
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 51.1K bytes
    - Viewed (0)
Back to top