Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for discord (0.26 sec)

  1. guava/src/com/google/common/base/Throwables.java

       *
       * <p>Prefer this method instead of manually casting an exception's cause. For example, {@code
       * (IOException) e.getCause()} throws a {@link ClassCastException} that discards the original
       * exception {@code e} if the cause is not an {@link IOException}, but {@code
       * Throwables.getCauseAs(e, IOException.class)} keeps {@code e} as the {@link
       * ClassCastException}'s cause.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Throwables.java

       *
       * <p>Prefer this method instead of manually casting an exception's cause. For example, {@code
       * (IOException) e.getCause()} throws a {@link ClassCastException} that discards the original
       * exception {@code e} if the cause is not an {@link IOException}, but {@code
       * Throwables.getCauseAs(e, IOException.class)} keeps {@code e} as the {@link
       * ClassCastException}'s cause.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/cache/LocalCache.java

              return 0;
            }
    
            @Override
            public Iterator<Object> iterator() {
              return ImmutableSet.of().iterator();
            }
          };
    
      /** Queue that discards all elements. */
      @SuppressWarnings("unchecked") // impl never uses a parameter or returns any non-null value
      static <E> Queue<E> discardingQueue() {
        return (Queue) DISCARDING_QUEUE;
      }
    
      /*
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/ByteStreams.java

          new OutputStream() {
            /** Discards the specified byte. */
            @Override
            public void write(int b) {}
    
            /** Discards the specified byte array. */
            @Override
            public void write(byte[] b) {
              checkNotNull(b);
            }
    
            /** Discards the specified byte array. */
            @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 17 18:59:58 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/CharStreams.java

        while ((line = lineReader.readLine()) != null) {
          if (!processor.processLine(line)) {
            break;
          }
        }
        return processor.getResult();
      }
    
      /**
       * Reads and discards data from the given {@code Readable} until the end of the stream is reached.
       * Returns the total number of chars read. Does not close the stream.
       *
       * @since 20.0
       */
      @CanIgnoreReturnValue
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Ordering.java

       * input is not modified. The returned list is serializable and has random access.
       *
       * <p>Unlike {@link Sets#newTreeSet(Iterable)}, this method does not discard elements that are
       * duplicates according to the comparator. The sort performed is <i>stable</i>, meaning that such
       * elements will appear in the returned list in the same order they appeared in {@code elements}.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 39.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/cache/LocalCache.java

              return 0;
            }
    
            @Override
            public Iterator<Object> iterator() {
              return ImmutableSet.of().iterator();
            }
          };
    
      /** Queue that discards all elements. */
      @SuppressWarnings("unchecked") // impl never uses a parameter or returns any non-null value
      static <E> Queue<E> discardingQueue() {
        return (Queue) DISCARDING_QUEUE;
      }
    
      /*
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 144.7K bytes
    - Viewed (0)
Back to top