- Sort Score
- Num 10 results
- Language All
Results 2171 - 2180 of 3,901 for 1final (0.04 seconds)
-
guava/src/com/google/common/collect/ImmutableList.java
*/ ImmutableList<E> subListUnchecked(int fromIndex, int toIndex) { return new SubList(fromIndex, toIndex - fromIndex); } private final class SubList extends ImmutableList<E> { final transient int offset; final transient int length; SubList(int offset, int length) { this.offset = offset; this.length = length; } @Override
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Nov 17 22:50:48 GMT 2025 - 30.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/TreeRangeMap.java
* * @author Louis Wasserman * @since 14.0 */ @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989 @GwtIncompatible // NavigableMap public final class TreeRangeMap<K extends Comparable, V> implements RangeMap<K, V> { private final NavigableMap<Cut<K>, RangeMapEntry<K, V>> entriesByLowerBound; /** Returns a new, empty {@link TreeRangeMap}. */Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 22.7K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java
@Deprecated public class MavenMetadataSource implements ArtifactMetadataSource { private final Logger logger = LoggerFactory.getLogger(getClass()); private final RepositoryMetadataManager repositoryMetadataManager; private final ArtifactFactory artifactFactory; private final ProjectBuilder projectBuilder; private final MavenMetadataCache cache; private final LegacySupport legacySupport;Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Sep 25 12:03:50 GMT 2025 - 30.4K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/EqualsTesterTest.java
/** * Test class with valid equals and hashCode methods. Testers created with instances of this class * should always pass. */ private static class ValidTestObject { private final int aspect1; private final int aspect2; ValidTestObject(int aspect1, int aspect2) { this.aspect1 = aspect1; this.aspect2 = aspect2; } @OverrideCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed May 14 19:40:47 GMT 2025 - 13.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/SynchronizedDequeTest.java
outer.add("foo"); // necessary because we try to remove elements later on return outer; } private static final class TestDeque<E> implements Deque<E> { private final Deque<E> delegate = new LinkedList<>(); private final Object mutex = new Object[0]; // something Serializable @Override public boolean offer(E o) { assertTrue(Thread.holdsLock(mutex));
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Jul 16 17:42:14 GMT 2025 - 7.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/InterruptibleTaskTest.java
return t.getState() == Thread.State.WAITING && blocker.isInstance(LockSupport.getBlocker(t)); } static final class SlowChannel extends AbstractInterruptibleChannel { final CountDownLatch exitClose = new CountDownLatch(1); @Override protected void implCloseChannel() { Uninterruptibles.awaitUninterruptibly(exitClose); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 7.1K bytes - Click Count (0) -
fess-crawler/src/test/java/org/codelibs/fess/net/protocol/gcs/HandlerTest.java
final int threadCount = 10; final CountDownLatch startLatch = new CountDownLatch(1); final CountDownLatch doneLatch = new CountDownLatch(threadCount); final AtomicInteger successCount = new AtomicInteger(0); final AtomicInteger failureCount = new AtomicInteger(0); final List<Exception> exceptions = new ArrayList<>();Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Thu Dec 11 08:38:29 GMT 2025 - 14.1K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java
} /** Runs sanity tests against return values of static factory methods declared by a class. */ public final class FactoryMethodReturnValueTester { private final Set<String> packagesToTest = new HashSet<>(); private final Class<?> declaringClass; private final ImmutableList<Invokable<?, ?>> factories; private final String factoryMethodsDescription; private Class<?> returnTypeToTest = Object.class;Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 32.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/AbstractBiMap.java
*/ Set<V> result = valueSet; return (result == null) ? valueSet = new ValueSet() : result; } @WeakOuter private final class ValueSet extends ForwardingSet<V> { final Set<V> valuesDelegate = inverse.keySet(); @Override protected Set<V> delegate() { return valuesDelegate; } @Override public Iterator<V> iterator() {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 15:50:50 GMT 2025 - 14.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/SourceSinkFactories.java
} @Override public void tearDown() throws IOException {} } private abstract static class FileFactory { private static final Logger logger = Logger.getLogger(FileFactory.class.getName()); private final ThreadLocal<File> fileThreadLocal = new ThreadLocal<>(); File createFile() throws IOException { File file = File.createTempFile("SinkSourceFile", "txt");Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Jul 16 17:42:14 GMT 2025 - 17.9K bytes - Click Count (0)