- Sort Score
- Result 10 results
- Languages All
Results 1301 - 1310 of 4,785 for New (0.07 sec)
-
android/guava-tests/test/com/google/common/collect/IterablesTest.java
@GwtIncompatible // Iterables.filter(Iterable, Class) public void testFilterByType_iterator() throws Exception { HasBoth hasBoth = new HasBoth(); Iterable<TypeA> alist = Lists.newArrayList(new TypeA(), new TypeA(), hasBoth, new TypeA()); Iterable<TypeB> blist = filter(alist, TypeB.class); assertThat(blist).containsExactly(hasBoth).inOrder(); } public void testTransform_iterator() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 19:12:33 UTC 2024 - 45K bytes - Viewed (0) -
guava/src/com/google/common/collect/DiscreteDomain.java
return IntegerDomain.INSTANCE; } private static final class IntegerDomain extends DiscreteDomain<Integer> implements Serializable { private static final IntegerDomain INSTANCE = new IntegerDomain(); IntegerDomain() { super(true); } @Override @CheckForNull public Integer next(Integer value) { int i = value;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 10.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/Config.java
String p = getProperty( key ); if( p != null ) { StringTokenizer tok = new StringTokenizer( p, delim ); int len = tok.countTokens(); InetAddress[] arr = new InetAddress[len]; for( int i = 0; i < len; i++ ) { String addr = tok.nextToken(); try {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 11.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MultimapBuilder.java
Comparator<K0> comparator) { checkNotNull(comparator); return new MultimapBuilderWithKeys<K0>() { @Override <K extends K0, V extends @Nullable Object> Map<K, Collection<V>> createMap() { return new TreeMap<>(comparator); } }; } /** * Uses an {@link EnumMap} to map keys to value collections. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 17.5K bytes - Viewed (0) -
manifests/addons/dashboards/lib/variables.libsonnet
local g = import './g.libsonnet'; local var = g.dashboard.variable; { datasource: var.datasource.new('datasource', 'prometheus'), cluster: var.query.new('cluster') + var.query.withDatasourceFromVariable(self.datasource) + var.query.queryTypes.withLabelValues( 'cluster', 'process_cpu_seconds_total', ) + var.query.withRefresh('time') + var.query.selectionOptions.withMulti()
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Jun 12 20:46:28 UTC 2024 - 1.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ConcurrentHashMultisetBasherTest.java
testAddAndRemove(new ConcurrentHashMap<String, AtomicInteger>()); } public void testAddAndRemove_concurrentSkipListMap() throws Exception { testAddAndRemove(new ConcurrentSkipListMap<String, AtomicInteger>()); } public void testAddAndRemove_mapMakerMap() throws Exception { MapMaker mapMaker = new MapMaker(); // force MapMaker to use its own MapMakerInternalMap
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 5.9K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/building/FileModelSourceTest.java
File tempFile = createTempFile("pomTest"); FileModelSource instance = new FileModelSource(tempFile); assertFalse(instance.equals(null)); assertFalse(instance.equals(new Object())); assertTrue(instance.equals(instance)); assertTrue(instance.equals(new FileModelSource(tempFile))); } @Test void testWindowsPaths() throws Exception {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.4K bytes - Viewed (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();
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun May 22 01:29:42 UTC 2016 - 1.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/TestStringSetMultimapGenerator.java
public final Entry<String, String>[] createArray(int length) { return (Entry<String, String>[]) new Entry<?, ?>[length]; } @Override public final String[] createKeyArray(int length) { return new String[length]; } @Override public final String[] createValueArray(int length) { return new String[length]; } /** Returns the original element list, unchanged. */ @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FakeTimeLimiterTest.java
} public static <T> Callable<T> callableThrowing(final Exception exception) { return new Callable<T>() { @Override public T call() throws Exception { throw exception; } }; } private static Runnable runnableThrowing(final RuntimeException e) { return new Runnable() { @Override public void run() { throw e; } }; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 4K bytes - Viewed (0)