- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 403 for acceptT (0.34 sec)
-
guava-tests/test/com/google/common/reflect/TypeTokenTest.java
abstract T returningT(); abstract void acceptT(T t); abstract <X extends T> X returningX(); abstract <X> void acceptX(X x); abstract <T2 extends Enum<T2> & CharSequence> T2 returningT2(); abstract <T2 extends CharSequence & Iterable<T2>> void acceptT2(T2 t2); static void verifyConsistentRawType() {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 17:15:24 UTC 2024 - 88.7K bytes - Viewed (0) -
guava/src/com/google/common/io/PatternFilenameFilter.java
import com.google.common.base.Preconditions; import java.io.File; import java.io.FilenameFilter; import java.util.regex.Pattern; import java.util.regex.PatternSyntaxException; /** * File name filter that only accepts files matching a regular expression. This class is thread-safe * and immutable. * * @author Apple Chow * @since 1.0 */ @J2ktIncompatible @GwtIncompatible @ElementTypesAreNonnullByDefault
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed May 17 14:35:11 UTC 2023 - 2.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/PatternFilenameFilterTest.java
public void testAccept() { File dir = new File("foo"); FilenameFilter filter = new PatternFilenameFilter("a+"); assertTrue(filter.accept(dir, "a")); assertTrue(filter.accept(dir, "aaaa")); assertFalse(filter.accept(dir, "b")); // Show that dir is ignored assertTrue(filter.accept(null, "a")); } public void testNulls() throws Exception { NullPointerTester tester = new NullPointerTester();
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 2K bytes - Viewed (0) -
guava/src/com/google/common/eventbus/EventBus.java
* for interprocess communication. * * <h2>Receiving Events</h2> * * <p>To receive events, an object should: * * <ol> * <li>Expose a public method, known as the <i>event subscriber</i>, which accepts a single * argument of the type of event desired; * <li>Mark it with a {@link Subscribe} annotation; * <li>Pass itself to an EventBus instance's {@link #register(Object)} method. * </ol> *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Jul 17 16:01:41 UTC 2023 - 12.8K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/CurlRequest.java
final RequestProcessor processor = new RequestProcessor(encoding, threshold); processor.accept(con); try (final CurlResponse res = processor.getResponse()) { actionListener.accept(res); } catch (final IOException e) { exceptionListener.accept(e); } }, exceptionListener); } public CurlResponse execute() {
Registered: Wed Jun 12 08:29:43 UTC 2024 - Last Modified: Sun Feb 12 12:21:25 UTC 2023 - 12.3K bytes - Viewed (0) -
guava/src/com/google/common/net/HttpHeaders.java
/** The HTTP {@code Accept} header field name. */ public static final String ACCEPT = "Accept"; /** The HTTP {@code Accept-Charset} header field name. */ public static final String ACCEPT_CHARSET = "Accept-Charset"; /** The HTTP {@code Accept-Encoding} header field name. */ public static final String ACCEPT_ENCODING = "Accept-Encoding"; /** The HTTP {@code Accept-Language} header field name. */
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed May 01 18:44:57 UTC 2024 - 34.3K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/io/IOIntegrationTest.java
public void connect(Consumer<HttpURLConnection> actionListener, Consumer<Exception> exceptionListener) { try { actionListener.accept(new MockHttpURLConnection(new URL(url))); } catch (MalformedURLException e) { exceptionListener.accept(e); } } } class MockHttpURLConnection extends HttpURLConnection { MockHttpURLConnection(URL u) {
Registered: Wed Jun 12 08:29:43 UTC 2024 - Last Modified: Mon Nov 14 21:05:19 UTC 2022 - 3.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/CollectSpliterators.java
@Override public boolean tryAdvance(Consumer<? super T> action) { return delegate.tryAdvance((IntConsumer) i -> action.accept(function.apply(i))); } @Override public void forEachRemaining(Consumer<? super T> action) { delegate.forEachRemaining((IntConsumer) i -> action.accept(function.apply(i))); } @Override @CheckForNull public Spliterator<T> trySplit() {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 22 18:19:31 UTC 2024 - 19.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/entity/QueryContext.java
} } public void addFunctionScore(final Consumer<List<FilterFunctionBuilder>> functionScoreQuery) { final List<FilterFunctionBuilder> list = new ArrayList<>(); functionScoreQuery.accept(list); queryBuilder = QueryBuilders.functionScoreQuery(queryBuilder, list.toArray(new FilterFunctionBuilder[list.size()])); } public void addQuery(final Consumer<BoolQueryBuilder> boolQuery) {
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 5.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/EvictingQueue.java
* full queue, the queue automatically removes its head element. This is different from conventional * bounded queues, which either block or reject new elements when full. * * <p>This class is not thread-safe, and does not accept null elements. * * @author Kurt Alfred Kluever * @since 15.0 */ @GwtCompatible @ElementTypesAreNonnullByDefault public final class EvictingQueue<E> extends ForwardingQueue<E> implements Serializable {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 12 17:52:55 UTC 2023 - 4.6K bytes - Viewed (0)