- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 5,467 for classic (0.03 sec)
-
android/guava/src/com/google/common/base/Predicate.java
* appropriate primitive specialization such as {@code IntPredicate}) instead whenever possible. * Otherwise, at least reduce <i>explicit</i> dependencies on this type by using lambda expressions * or method references instead of classes, leaving your code easier to migrate in the future. * * <p>To use a reference of this type (say, named {@code guavaPredicate}) in a context where {@code * java.util.function.Predicate} is expected, use the method reference {@codeRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Jun 18 15:22:00 UTC 2025 - 3.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NbtException.java
import java.io.IOException; /** * NetBIOS exception class for NBT-related errors. * * This exception encapsulates NetBIOS name service and session service errors * with specific error classes and codes. */ public class NbtException extends IOException { // error classes /** Success status code */ public static final int SUCCESS = 0; /** Name service error class */ public static final int ERR_NAM_SRVC = 0x01;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractService.java
@WeakOuter private final class IsStartableGuard extends Guard { IsStartableGuard() { super(AbstractService.this.monitor); } @Override public boolean isSatisfied() { return state() == NEW; } } private final Guard isStoppable = new IsStoppableGuard(); @WeakOuter private final class IsStoppableGuard extends Guard { IsStoppableGuard() {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 20.3K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/collect/IteratorBenchmark.java
/** * Tests the speed of iteration of different iteration methods for collections. * * @author David Richter */ @NullUnmarked public class IteratorBenchmark { @Param({"0", "1", "16", "256", "4096", "65536"}) int size; // use concrete classes to remove any possible polymorphic overhead? Object[] array; ArrayList<Object> arrayList; LinkedList<Object> linkedList; @BeforeExperimentRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 3.5K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/srvsvcTest.java
import org.junit.jupiter.api.Test; import org.mockito.Mock; import org.mockito.MockitoAnnotations; import jcifs.dcerpc.ndr.NdrBuffer; import jcifs.dcerpc.ndr.NdrException; /** * Test class for srvsvc.java classes */ class srvsvcTest { @Mock private NdrBuffer mockNdrBuffer; @Mock private NdrBuffer mockDeferredBuffer; @BeforeEach void setUp() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java
* all elements in priority order and place them in another collection. * * <p>Operations on this class make no guarantees about the ordering of elements with equal * priority. If you need to enforce an ordering, you can define custom classes or comparators that * use a secondary key to break ties in primary priority values. For example, here is a class that * applies first-in-first-out tie-breaking to comparable elements. To use it, you would insert a
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 18.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java
ImmutableLongArray iia = ImmutableLongArray.of(0, 1, 3); assertThrows(IndexOutOfBoundsException.class, () -> iia.get(-1)); assertThrows(IndexOutOfBoundsException.class, () -> iia.get(3)); ImmutableLongArray sub = iia.subArray(1, 2); assertThrows(IndexOutOfBoundsException.class, () -> sub.get(-1)); } public void testIndexOf() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 14:49:24 UTC 2025 - 20.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/TestExceptions.java
/** Exception classes for use in tests. */ @GwtCompatible final class TestExceptions { static final class SomeError extends Error {} static final class SomeCheckedException extends Exception {} static final class SomeOtherCheckedException extends Exception {} static final class YetAnotherCheckedException extends Exception {} static final class SomeUncheckedException extends RuntimeException {}Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 1.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/TestExceptions.java
/** Exception classes for use in tests. */ @GwtCompatible @NullUnmarked final class TestExceptions { static class SomeError extends Error {} static class SomeCheckedException extends Exception {} static class SomeOtherCheckedException extends Exception {} static class YetAnotherCheckedException extends Exception {} static class SomeUncheckedException extends RuntimeException {}Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 1.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/job/GenerateThumbnailJob.java
buf.append(cpSeparator); // WEB-INF/classes buf.append("WEB-INF"); buf.append(File.separator); buf.append("classes"); // target/classes final String userDir = System.getProperty("user.dir"); final File targetDir = new File(userDir, "target"); final File targetClassesDir = new File(targetDir, "classes"); if (targetClassesDir.isDirectory()) {
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 11.7K bytes - Viewed (0)