- Sort Score
- Result 10 results
- Languages All
Results 21 - 25 of 25 for retainAll (0.17 sec)
-
maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java
List<Plugin> plugins = (List<Plugin>) pom.getValue("build/plugins"); for (Plugin plugin : plugins) { actual.add(plugin.getArtifactId()); } actual.retainAll(expected); assertEquals(actual, expected); } /** MNG-4416 */ @Test void testPluginOrderAfterMergingWithInjectedPlugins() throws Exception {
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 93.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Iterators.java
* @param elementsToRetain the elements to retain * @return {@code true} if any element was removed from {@code iterator} */ @CanIgnoreReturnValue public static boolean retainAll(Iterator<?> removeFrom, Collection<?> elementsToRetain) { checkNotNull(elementsToRetain); boolean result = false; while (removeFrom.hasNext()) { if (!elementsToRetain.contains(removeFrom.next())) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Apr 30 18:43:01 GMT 2024 - 51.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MapsTest.java
try { values.removeAll(Collections.singleton("four")); fail("UnsupportedOperationException expected"); } catch (UnsupportedOperationException expected) { } try { values.retainAll(Collections.singleton("four")); fail("UnsupportedOperationException expected"); } catch (UnsupportedOperationException expected) { } try { Iterator<String> iterator = values.iterator();
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
try { values.removeAll(Collections.singleton("four")); fail("UnsupportedOperationException expected"); } catch (UnsupportedOperationException expected) { } try { values.retainAll(Collections.singleton("four")); fail("UnsupportedOperationException expected"); } catch (UnsupportedOperationException expected) { } try { Iterator<String> iterator = values.iterator();
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) -
internal/bucket/object/lock/lock.go
if !ok { tillStr, ok = meta[AmzObjectLockRetainUntilDate] } if ok { if t, e := amztime.ISO8601Parse(tillStr); e == nil { retainTill = RetentionDate{t.UTC()} } } return ObjectRetention{XMLNS: "http://s3.amazonaws.com/doc/2006-03-01/", Mode: mode, RetainUntilDate: retainTill} } // GetObjectLegalHoldMeta constructs ObjectLegalHold from metadata func GetObjectLegalHoldMeta(meta map[string]string) ObjectLegalHold {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 17.1K bytes - Viewed (0)