- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for HOLDER (0.03 sec)
-
guava-tests/test/com/google/common/collect/CountTest.java
} public void testGetAndAdd() { Count holder = new Count(20); assertEquals(20, holder.get()); holder.add(1); assertEquals(21, holder.get()); } public void testAddAndGet() { Count holder = new Count(20); assertEquals(21, holder.addAndGet(1)); } public void testGetAndSet() { Count holder = new Count(10); assertEquals(10, holder.getAndSet(20)); assertEquals(20, holder.get());
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 1.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/CountTest.java
} public void testGetAndAdd() { Count holder = new Count(20); assertEquals(20, holder.get()); holder.add(1); assertEquals(21, holder.get()); } public void testAddAndGet() { Count holder = new Count(20); assertEquals(21, holder.addAndGet(1)); } public void testGetAndSet() { Count holder = new Count(10); assertEquals(10, holder.getAndSet(20)); assertEquals(20, holder.get());
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 1.5K bytes - Viewed (0) -
apache-maven/src/main/appended-resources/licenses/BSD-2-Clause.txt
Copyright <YEAR> <COPYRIGHT HOLDER> Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri May 17 19:14:22 UTC 2024 - 1.2K bytes - Viewed (0) -
api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlService.java
* @throws IllegalStateException if no implementation is found */ private static XmlService getService() { return Holder.INSTANCE; } /** Holder class for lazy initialization of the default instance */ private static final class Holder { static final XmlService INSTANCE = ServiceLoader.load(XmlService.class) .findFirst()Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Apr 03 13:33:59 UTC 2025 - 9.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/HashMultisetTest.java
@GwtIncompatible // SerializableTester public void testSerializationIndirectSelfReference() { Multiset<MultisetHolder> multiset = HashMultiset.create(); MultisetHolder holder = new MultisetHolder(multiset); multiset.add(holder, 2); Multiset<MultisetHolder> copy = SerializableTester.reserialize(multiset); assertEquals(2, copy.size()); assertSame(copy, copy.iterator().next().member); } /*
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 4.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpAuthenticationHolder.java
/** * Constructs a new FtpAuthenticationHolder. */ public FtpAuthenticationHolder() { // Default constructor } /** * Adds an FtpAuthentication object to the holder. * @param auth The FtpAuthentication object to add. */ public void add(final FtpAuthentication auth) { if (auth != null) { authenticationList.add(auth); } }Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 1.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/HashMultisetTest.java
@GwtIncompatible // SerializableTester public void testSerializationIndirectSelfReference() { Multiset<MultisetHolder> multiset = HashMultiset.create(); MultisetHolder holder = new MultisetHolder(multiset); multiset.add(holder, 2); Multiset<MultisetHolder> copy = SerializableTester.reserialize(multiset); assertEquals(2, copy.size()); assertSame(copy, copy.iterator().next().member); } /*
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 4.5K bytes - Viewed (0) -
guava/src/com/google/common/primitives/DoublesMethodsForWeb.java
* the License. */ package com.google.common.primitives; import com.google.common.annotations.GwtCompatible; /** * Holder for web specializations of methods of {@code Doubles}. Intended to be empty for regular * version. */ @GwtCompatibleRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 860 bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/base/super/com/google/common/base/ExtraObjectsMethodsForWeb.java
* or implied. See the License for the specific language governing permissions and limitations under * the License. */ package com.google.common.base; import org.jspecify.annotations.Nullable; /** Holder for extra methods of {@code Objects} only in web. */ public abstract class ExtraObjectsMethodsForWeb { public static boolean equal(@Nullable String a, @Nullable String b) { return a == b; }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 883 bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/DoublesMethodsForWeb.java
* the License. */ package com.google.common.primitives; import com.google.common.annotations.GwtCompatible; /** * Holder for web specializations of methods of {@code Doubles}. Intended to be empty for regular * version. */ @GwtCompatibleRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 860 bytes - Viewed (0)