Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 1,227 for instanceOf (0.04 sec)

  1. android/guava/src/com/google/common/hash/Funnels.java

      private Funnels() {}
    
      /** Returns a funnel that extracts the bytes from a {@code byte} array. */
      public static Funnel<byte[]> byteArrayFunnel() {
        return ByteArrayFunnel.INSTANCE;
      }
    
      private enum ByteArrayFunnel implements Funnel<byte[]> {
        INSTANCE;
    
        @Override
        public void funnel(byte[] from, PrimitiveSink into) {
          into.putBytes(from);
        }
    
        @Override
        public String toString() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/hash/Funnels.java

      private Funnels() {}
    
      /** Returns a funnel that extracts the bytes from a {@code byte} array. */
      public static Funnel<byte[]> byteArrayFunnel() {
        return ByteArrayFunnel.INSTANCE;
      }
    
      private enum ByteArrayFunnel implements Funnel<byte[]> {
        INSTANCE;
    
        @Override
        public void funnel(byte[] from, PrimitiveSink into) {
          into.putBytes(from);
        }
    
        @Override
        public String toString() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/JdkFutureAdapters.java

       * future is {@linkplain Future#isDone() done}.
       *
       * <p>Prefer to create {@code ListenableFuture} instances with {@link SettableFuture}, {@link
       * MoreExecutors#listeningDecorator( java.util.concurrent.ExecutorService)}, {@link
       * ListenableFutureTask}, {@link AbstractFuture}, and other utilities over creating plain {@code
       * Future} instances to be upgraded to {@code ListenableFuture} after the fact.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableSet.java

        if (elements instanceof ImmutableSet && !(elements instanceof SortedSet)) {
          @SuppressWarnings("unchecked") // all supported methods are covariant
          ImmutableSet<E> set = (ImmutableSet<E>) elements;
          if (!set.isPartialView()) {
            return set;
          }
        } else if (elements instanceof EnumSet) {
          return copyOfEnumSet((EnumSet<?>) elements);
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

        for (Constructor<X> constructor : preferringStringsThenThrowables(constructors)) {
          X instance = newFromConstructor(constructor, cause);
          if (instance != null) {
            if (instance.getCause() == null) {
              instance.initCause(cause);
            }
            return instance;
          }
        }
        throw new IllegalArgumentException(
            "No appropriate constructor for exception of type "
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  6. android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

          this.aspect2 = aspect2;
        }
    
        @Override
        public boolean equals(@Nullable Object o) {
          if (!(o instanceof ValidTestObject)) {
            return false;
          }
          ValidTestObject other = (ValidTestObject) o;
          if (aspect1 != other.aspect1) {
            return false;
          }
          if (aspect2 != other.aspect2) {
            return false;
          }
          return true;
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

      }
    
      @Override
      Set<K> createKeySet() {
        return new KeySet(map);
      }
    
      final Set<K> createMaybeNavigableKeySet() {
        if (map instanceof NavigableMap) {
          return new NavigableKeySet((NavigableMap<K, Collection<V>>) map);
        } else if (map instanceof SortedMap) {
          return new SortedKeySet((SortedMap<K, Collection<V>>) map);
        } else {
          return new KeySet(map);
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Aug 12 15:51:57 UTC 2025
    - 48.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/IterablesTest.java

        Iterable<List<Integer>> partitions = Iterables.partition(source, 2);
        Iterator<List<Integer>> iterator = partitions.iterator();
        assertTrue(iterator.next() instanceof RandomAccess);
        assertTrue(iterator.next() instanceof RandomAccess);
      }
    
      @J2ktIncompatible // Arrays.asList(...).subList() doesn't implement RandomAccess in J2KT.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 46.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/eventbus/SubscriberRegistry.java

       * all super-classes, that are annotated with {@code @Subscribe}. The cache is shared across all
       * instances of this class; this greatly improves performance if multiple EventBus instances are
       * created and objects of the same class are registered on all of them.
       */
      private static final LoadingCache<Class<?>, ImmutableList<Method>> subscriberMethodsCache =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/PermissionHelper.java

                final Object fileAttributeView = metaDataMap.get(FileSystemClient.FILE_ATTRIBUTE_VIEW);
                try {
                    if (fileAttributeView instanceof final AclFileAttributeView aclFileAttributeView) {
                        aclFileAttributeView.getAcl().stream().forEach(acl -> {
                            final UserPrincipal principal = acl.principal();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15.3K bytes
    - Viewed (0)
Back to top