Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getInstance (0.38 sec)

  1. guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java

      protected Map<Class<? extends B>, B> delegate() {
        return delegate;
      }
    
      @Override
      @SuppressWarnings("unchecked") // value could not get in if not a T
      @CheckForNull
      public <T extends B> T getInstance(Class<T> type) {
        return (T) delegate.get(checkNotNull(type));
      }
    
      /**
       * Guaranteed to throw an exception and leave the map unmodified.
       *
       * @throws UnsupportedOperationException always
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed May 10 21:56:03 GMT 2023
    - 7.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java

      protected Map<Class<? extends B>, B> delegate() {
        return delegate;
      }
    
      @Override
      @SuppressWarnings("unchecked") // value could not get in if not a T
      @CheckForNull
      public <T extends B> T getInstance(Class<T> type) {
        return (T) delegate.get(checkNotNull(type));
      }
    
      /**
       * Guaranteed to throw an exception and leave the map unmodified.
       *
       * @throws UnsupportedOperationException always
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 10 21:56:03 GMT 2023
    - 7.1K bytes
    - Viewed (0)
Back to top