- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 26 for utility (0.05 seconds)
-
guava-tests/test/com/google/common/collect/SpecialRandom.java
* limitations under the License. */ package com.google.common.collect; import static java.lang.Long.parseLong; import java.util.Random; import org.jspecify.annotations.NullUnmarked; /** * Utility class for being able to seed a {@link Random} value with a passed in seed from a * benchmark parameter. * * <p>TODO: Remove this class once Caliper has a better way. * * @author Nicholaus Shupe */ @NullUnmarkedCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 16:38:16 GMT 2026 - 1.5K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/Helpers.java
return clazz.getMethod(name); } catch (Exception e) { throw new IllegalArgumentException(e); } } /** * Useless constructor for a class of static utility methods. * * @deprecated Do not instantiate this utility class. */ @Deprecated public Helpers() {}
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 17.2K bytes - Click Count (0) -
build-logic/dependency-modules/src/main/kotlin/gradlebuild.dependency-modules.gradle.kts
// We only need "failureaccess" of Guava's dependencies applyRule<KeepDependenciesByNameRule>("com.google.guava:guava", setOf("failureaccess")) // We only need a few utility classes of this module applyRule<DependencyRemovalByNameRule>("jcifs:jcifs", setOf("servlet-api")) // Bsh moved coordinates. Depend on the new coordinates.Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Mar 26 09:04:32 GMT 2026 - 9.5K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/Helpers.java
return clazz.getMethod(name); } catch (Exception e) { throw new IllegalArgumentException(e); } } /** * Useless constructor for a class of static utility methods. * * @deprecated Do not instantiate this utility class. */ @Deprecated public Helpers() {}
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 17.2K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/LittleEndianByteArray.java
import java.nio.ByteOrder; import java.security.AccessController; import java.security.PrivilegedActionException; import java.security.PrivilegedExceptionAction; import java.util.Objects; import sun.misc.Unsafe; /** * Utility functions for loading and storing values from a byte array. * * @author Kevin Damm * @author Kyle Maddison */ final class LittleEndianByteArray { /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 10.1K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java
* Class argument that this test uses. Normally we'd fix that by declaring a * ReflectionFreeAssertThrowsTest with a testNulls method, but that's annoying to have to do * for a package-private utility class. So we skip the class entirely instead. */ continue; } try { tester.doTestNulls(classToTest, visibility); } catch (Throwable e) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 17.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/Constants.java
* </ul> */ public class Constants extends CoreLibConstants { /** * Private constructor to prevent instantiation of this utility class. * This class contains only static constants and should not be instantiated. */ private Constants() { // Utility class - no instantiation } // ============================================================ // System and UI ConstantsCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 11:55:54 GMT 2026 - 35.8K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/UnsignedInts.java
import com.google.common.annotations.GwtCompatible; import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.util.Arrays; import java.util.Comparator; /** * Static utility methods pertaining to {@code int} primitives that interpret values as * <i>unsigned</i> (that is, any negative value {@code x} is treated as the positive value {@codeCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 16:38:16 GMT 2026 - 13.9K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java
*/ private E extract() { E[] items = this.items; E x = items[takeIndex]; items[takeIndex] = null; takeIndex = inc(takeIndex); --count; return x; } /** * Utility for remove and iterator.remove: Delete item at position i. Call only when occupying * monitor. */ void removeAt(int i) { E[] items = this.items; // if removing front item, just advance
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 22.4K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/UnsignedBytes.java
import java.security.PrivilegedExceptionAction; import java.util.Arrays; import java.util.Comparator; import java.util.Objects; import org.jspecify.annotations.Nullable; import sun.misc.Unsafe; /** * Static utility methods pertaining to {@code byte} primitives that interpret values as * <i>unsigned</i> (that is, any negative value {@code b} is treated as the positive value {@codeCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 16:38:16 GMT 2026 - 21K bytes - Click Count (0)