Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 52 for instanceOf (0.07 sec)

  1. android/guava/src/com/google/common/collect/Sets.java

      @GwtCompatible(serializable = true)
      public static <E extends Enum<E>> ImmutableSet<E> immutableEnumSet(Iterable<E> elements) {
        if (elements instanceof ImmutableEnumSet) {
          return (ImmutableEnumSet<E>) elements;
        } else if (elements instanceof Collection) {
          Collection<E> collection = (Collection<E>) elements;
          if (collection.isEmpty()) {
            return ImmutableSet.of();
          } else {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbTransportImpl.java

                }
            }
            else if ( request instanceof AndXServerMessageBlock && response instanceof AndXServerMessageBlock ) {
                AndXServerMessageBlock curReq = (AndXServerMessageBlock) request;
                AndXServerMessageBlock curResp = (AndXServerMessageBlock) response;
    
                do {
                    curReq.setResponse(curResp);
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Multimaps.java

            Collection<E> collection) {
          if (collection instanceof NavigableSet) {
            return Sets.unmodifiableNavigableSet((NavigableSet<E>) collection);
          } else if (collection instanceof SortedSet) {
            return Collections.unmodifiableSortedSet((SortedSet<E>) collection);
          } else if (collection instanceof Set) {
            return Collections.unmodifiableSet((Set<E>) collection);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 86.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbSessionImpl.java

                    }
    
                    if ( chainedResponse != null && chainedResponse.isReceived() ) {
                        return chainedResponse;
                    }
    
                    if ( request instanceof SmbComTreeConnectAndX ) {
                        SmbComTreeConnectAndX tcax = (SmbComTreeConnectAndX) request;
                        if ( this.netbiosName != null && tcax.getPath().endsWith("\\IPC$") ) {
                            /*
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 14 17:41:04 UTC 2021
    - 49K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                }
                buf.append('}');
            } else if (obj instanceof Integer || obj instanceof Long || obj instanceof Float || obj instanceof Double) {
                buf.append(obj);
            } else if (obj instanceof Boolean) {
                buf.append(obj.toString());
            } else if (obj instanceof Date) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

                    modelSource,
                    ModelCacheTag.FILE,
                    () -> doReadFileModel(modelSource, request, problems));
    
            if (modelSource instanceof FileModelSource) {
                if (request.getTransformerContextBuilder() instanceof DefaultTransformerContextBuilder) {
                    DefaultTransformerContextBuilder contextBuilder =
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 83.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

                }
                if (value instanceof String || value == null) {
                    return new Pair<>(key, value);
                }
                if (arrayFieldSet.contains(key)) {
                    if (value instanceof String[]) {
                        value = stream((String[]) value).get(stream -> stream.collect(Collectors.joining("\n")));
                    } else if (value instanceof List) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 87.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Synchronized.java

          Collection<E> collection, @CheckForNull Object mutex) {
        if (collection instanceof SortedSet) {
          return sortedSet((SortedSet<E>) collection, mutex);
        }
        if (collection instanceof Set) {
          return set((Set<E>) collection, mutex);
        }
        if (collection instanceof List) {
          return list((List<E>) collection, mutex);
        }
        return collection(collection, mutex);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 53.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Synchronized.java

          Collection<E> collection, @CheckForNull Object mutex) {
        if (collection instanceof SortedSet) {
          return sortedSet((SortedSet<E>) collection, mutex);
        }
        if (collection instanceof Set) {
          return set((Set<E>) collection, mutex);
        }
        if (collection instanceof List) {
          return list((List<E>) collection, mutex);
        }
        return collection(collection, mutex);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 57.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/io/CopyUtil.java

            assertArgumentNotNull("out", out);
    
            if (in instanceof FileInputStream) {
                if (out instanceof FileOutputStream) {
                    return copyInternal((FileInputStream) in, (FileOutputStream) out);
                }
                return copyInternal((FileInputStream) in, wrap(out));
            }
            if (out instanceof FileOutputStream) {
                return copyInternal(wrap(in), (FileOutputStream) out);
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 52.4K bytes
    - Viewed (0)
Back to top