- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 68 for opzione (0.18 sec)
-
guava-tests/test/com/google/common/collect/MapsTest.java
// transformEntries(map1, transformer); // transformEntries(map4, transformer); // transformEntries(map7, transformer); } public void testTransformEntriesExample() { Map<String, Boolean> options = ImmutableMap.of("verbose", true, "sort", false); EntryTransformer<String, Boolean, String> flagPrefixer = new EntryTransformer<String, Boolean, String>() { @Override
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Mar 04 16:06:01 GMT 2024 - 67.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MapsTest.java
// transformEntries(map1, transformer); // transformEntries(map4, transformer); // transformEntries(map7, transformer); } public void testTransformEntriesExample() { Map<String, Boolean> options = ImmutableMap.of("verbose", true, "sort", false); EntryTransformer<String, Boolean, String> flagPrefixer = new EntryTransformer<String, Boolean, String>() { @Override
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Mar 04 16:06:01 GMT 2024 - 64.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java
.withFeatures(CollectionSize.ANY, CollectionFeature.GENERAL_PURPOSE) .createTestSuite()); return suite; } // Overkill alert! Test all combinations of 0-2 options during creation. public void testCreation_simple() { MinMaxPriorityQueue<Integer> queue = MinMaxPriorityQueue.create(); assertEquals(11, queue.capacity()); checkUnbounded(queue); checkNatural(queue);
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 36.1K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractFuture.java
* a valid value for V. */ return uncheckedNull(); } else { @SuppressWarnings("unchecked") // this is the only other option V asV = (V) obj; return asV; } } @Override public boolean isDone() { final Object localValue = value; return localValue != null & !(localValue instanceof SetFuture);
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 22 21:17:24 GMT 2024 - 63K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/TestCharSink.java
* * @author Colin Decker */ public class TestCharSink extends CharSink implements TestStreamSupplier { private final TestByteSink byteSink; public TestCharSink(TestOption... options) { this.byteSink = new TestByteSink(options); } public String getString() { return new String(byteSink.getBytes(), UTF_8); } @Override public boolean wasStreamOpened() { return byteSink.wasStreamOpened();
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Fri Nov 09 21:39:24 GMT 2012 - 2K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/TestByteSource.java
private final byte[] bytes; private final ImmutableSet<TestOption> options; private boolean inputStreamOpened; private boolean inputStreamClosed; TestByteSource(byte[] bytes, TestOption... options) { this.bytes = checkNotNull(bytes); this.options = ImmutableSet.copyOf(options); } @Override public boolean wasStreamOpened() { return inputStreamOpened; }
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Sep 15 13:47:32 GMT 2016 - 1.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/TestCharSource.java
/** * A char source for testing that has configurable options. * * @author Colin Decker */ public class TestCharSource extends CharSource implements TestStreamSupplier { private final TestByteSource byteSource; public TestCharSource(String content, TestOption... options) { this.byteSource = new TestByteSource(content.getBytes(UTF_8), options); } @Override public boolean wasStreamOpened() {
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Fri Nov 09 21:39:24 GMT 2012 - 1.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CharSinkTest.java
} public void testClosesOnErrors_copyingFromCharSourceThatThrows() { for (TestOption option : EnumSet.of(OPEN_THROWS, READ_THROWS, CLOSE_THROWS)) { TestCharSource failSource = new TestCharSource(STRING, option); TestCharSink okSink = new TestCharSink(); assertThrows(IOException.class, () -> failSource.copyTo(okSink));
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/TestOption.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.io; /** * Options controlling the behavior of sources/sinks/streams for testing. * * @author Colin Decker */ public enum TestOption { OPEN_THROWS, SKIP_THROWS, READ_THROWS, WRITE_THROWS, CLOSE_THROWS,
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Apr 21 02:27:51 GMT 2017 - 870 bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/io/CharStreamsCopyBenchmark.java
/** * Benchmarks for {@link CharStreams#copy}. * * <p>{@link CharStreams#copy} has type specific optimizations for various common Appendable and * Reader implementations, this compares the performance of the different options. */ // These benchmarks allocate a lot of data so use a large heap @VmOptions({"-Xms12g", "-Xmx12g", "-d64"}) public class CharStreamsCopyBenchmark { enum CopyStrategy { OLD { @Override
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Feb 23 18:59:54 GMT 2023 - 3.2K bytes - Viewed (0)