- Sort Score
- Num 10 results
- Language All
Results 711 - 720 of 3,329 for new1 (0.03 seconds)
-
guava-tests/test/com/google/common/io/IoTestCase.java
byte[] array = new byte[size]; for (int i = 0; i < size; i++) { array[i] = (byte) (offset + i); } return array; } private static void copy(URL url, File file) throws IOException { InputStream in = url.openStream(); try { OutputStream out = new FileOutputStream(file); try { byte[] buf = new byte[4096];
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 5.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableMap.java
* with those values. * * <p>A call to {@link Entry#setValue} on the returned entry will always throw {@link * UnsupportedOperationException}. */ static <K, V> Entry<K, V> entryOf(K key, V value) { return new ImmutableMapEntry<>(key, value); } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 44.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ForwardingCollectionTest.java
public static Test suite() { TestSuite suite = new TestSuite(); suite.addTestSuite(ForwardingCollectionTest.class); suite.addTest( CollectionTestSuiteBuilder.using( new TestStringCollectionGenerator() { @Override protected Collection<String> create(String[] elements) { return new StandardImplForwardingCollection<>(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jul 16 20:34:52 GMT 2025 - 4.8K bytes - Click Count (1) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListEqualsTester.java
assertTrue( "A List should equal any other List containing the same elements.", getList().equals(new ArrayList<E>(getOrderedElements()))); } @CollectionSize.Require(absent = CollectionSize.ZERO) public void testEquals_otherListWithDifferentElements() { ArrayList<E> other = new ArrayList<>(getSampleElements()); other.set(other.size() / 2, getSubjectGenerator().samples().e3()); assertFalse(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 3.6K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/PostForm.java
import okhttp3.RequestBody; import okhttp3.Response; public final class PostForm { private final OkHttpClient client = new OkHttpClient(); public void run() throws Exception { RequestBody formBody = new FormBody.Builder() .add("search", "Jurassic Park") .build(); Request request = new Request.Builder() .url("https://en.wikipedia.org/w/index.php") .post(formBody) .build();Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun May 22 01:29:42 GMT 2016 - 1.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableMultimap.java
} // looking for of() with > 5 entries? Use the builder instead. /** * Returns a new builder. The generated builder is equivalent to the builder created by the {@link * Builder} constructor. */ public static <K, V> Builder<K, V> builder() { return new Builder<>(); } /** * Returns a new builder with a hint for how many distinct keys are expected to be added. The
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Dec 09 15:58:48 GMT 2025 - 27.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/dict/stopwords/StopwordsItem.java
// create newInput = input; } } /** * Gets the new stopword. * * @return The new stopword. */ public String getNewInput() { return newInput; } /** * Sets the new stopword. * * @param newInput The new stopword. */ public void setNewInput(final String newInput) { this.newInput = newInput;Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 20 07:09:00 GMT 2025 - 3.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/MultiReaderTest.java
CharSource source = newCharSource(testString); int[] counter = new int[1]; CharSource reader = new CharSource() { @Override public Reader openStream() throws IOException { if (counter[0]++ != 0) { throw new IllegalStateException("More than one source open"); } return new FilterReader(source.openStream()) { @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 3.8K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/FakeTimeLimiter.java
checkNotNull(timeoutUnit); try { return callable.call(); } catch (RuntimeException e) { throw new UncheckedExecutionException(e); } catch (Exception e) { restoreInterruptIfIsInterruptedException(e); throw new ExecutionException(e); } catch (Error e) { throw new ExecutionError(e); } } @CanIgnoreReturnValue // TODO(kak): consider removing this @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 3.6K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java
public static <K extends Comparable<?>, V> Builder<K, V> naturalOrder() { return new Builder<K, V>(Ordering.natural()); } public static <K, V> Builder<K, V> orderedBy(Comparator<K> comparator) { return new Builder<K, V>(comparator); } public static <K extends Comparable<?>, V> Builder<K, V> reverseOrder() { return new Builder<K, V>(Ordering.natural().reverse()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 08 18:10:02 GMT 2026 - 16.6K bytes - Click Count (0)