- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 368 for copyFor (0.06 sec)
-
android/guava/src/com/google/common/graph/ImmutableValueGraph.java
public static <N, V> ImmutableValueGraph<N, V> copyOf(ValueGraph<N, V> graph) { return (graph instanceof ImmutableValueGraph) ? (ImmutableValueGraph<N, V>) graph : new ImmutableValueGraph<N, V>(graph); } /** * Simply returns its argument. * * @deprecated no need to use this */ @Deprecated public static <N, V> ImmutableValueGraph<N, V> copyOf(ImmutableValueGraph<N, V> graph) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 01 16:30:37 UTC 2022 - 7.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/webauth/AdminWebauthAction.java
op.setup(form -> { webAuthenticationService.getWebAuthentication(id).ifPresent(entity -> { copyBeanToBean(entity, form, copyOp -> { copyOp.excludeNull(); }); form.crudMode = crudMode; }).orElse(() -> {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 15.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CloserTest.java
} catch (IOException expected) { assertSame(thrownException, expected); } assertTrue(c1.isClosed()); assertTrue(c2.isClosed()); ImmutableSet<Throwable> suppressed = ImmutableSet.copyOf(thrownException.getSuppressed()); assertEquals(2, suppressed.size()); assertEquals(ImmutableSet.of(c1Exception, c2Exception), suppressed); } public void testNullCloseable() throws IOException {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue May 07 15:26:58 UTC 2024 - 11.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/DenseImmutableTable.java
ImmutableMap<C, ImmutableMap<R, V>> columnMap = this.columnMap; return ImmutableMap.<C, Map<R, V>>copyOf(columnMap); } @Override public ImmutableMap<R, Map<C, V>> rowMap() { // Casts without copying. ImmutableMap<R, ImmutableMap<C, V>> rowMap = this.rowMap; return ImmutableMap.<R, Map<C, V>>copyOf(rowMap); } @Override @CheckForNull
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 10.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/AbstractRangeSetTest.java
assertEquals(!rangeSet.asRanges().iterator().hasNext(), rangeSet.isEmpty()); assertEquals(!rangeSet.asDescendingSetOfRanges().iterator().hasNext(), rangeSet.isEmpty()); List<Range<C>> asRanges = ImmutableList.copyOf(rangeSet.asRanges()); // test that connected ranges are coalesced for (int i = 0; i + 1 < asRanges.size(); i++) { Range<C> range1 = asRanges.get(i); Range<C> range2 = asRanges.get(i + 1);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 20:09:59 UTC 2024 - 2.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/BiMapGenerators.java
builder.put(entry.getKey(), entry.getValue()); } return ImmutableBiMap.copyOf(builder); } } public static class ImmutableBiMapCopyOfEntriesGenerator extends TestStringBiMapGenerator { @Override protected BiMap<String, String> create(Entry<String, String>[] entries) { return ImmutableBiMap.copyOf(asList(entries)); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 2.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java
input.put("foo", 1); ImmutableSetMultimap<Object, Object> copy = ImmutableSetMultimap.copyOf(input); assertEquals(3, copy.size()); } public void testCopyOfEmpty() { HashMultimap<String, Integer> input = HashMultimap.create(); Multimap<String, Integer> multimap = ImmutableSetMultimap.copyOf(input); assertEquals(multimap, input); assertEquals(input, multimap); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 26.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/QuantilesAlgorithmTest.java
private static final QuantilesAlgorithm REFERENCE_ALGORITHM = QuantilesAlgorithm.SORTING; private static final Set<QuantilesAlgorithm> NON_REFERENCE_ALGORITHMS = Sets.difference( ImmutableSet.copyOf(QuantilesAlgorithm.values()), ImmutableSet.of(REFERENCE_ALGORITHM)); private double[] dataset; @Override protected void setUp() { dataset = new double[DATASET_SIZE];
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TreeRangeMapTest.java
assertEquals(expected.asDescendingMapOfRanges(), subRangeMap.asDescendingMapOfRanges()); assertEquals( ImmutableList.copyOf(subRangeMap.asMapOfRanges().entrySet()).reverse(), ImmutableList.copyOf(subRangeMap.asDescendingMapOfRanges().entrySet())); if (!expected.asMapOfRanges().isEmpty()) { assertEquals(expected.span(), subRangeMap.span()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sun Oct 06 13:04:03 UTC 2024 - 29.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/webconfig/ApiAdminWebconfigAction.java
} protected EditBody createEditBody(final WebConfig entity) { final EditBody body = new EditBody(); copyBeanToBean(entity, body, copyOp -> { copyOp.excludeNull(); copyOp.exclude(Constants.PERMISSIONS, Constants.VIRTUAL_HOSTS); }); final PermissionHelper permissionHelper = ComponentUtil.getPermissionHelper();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 7K bytes - Viewed (0)