- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 446 for arrayTest (0.08 seconds)
-
src/test/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsResponseTest.java
List<String> words = new ArrayList<>(); PopularWordsResponse response = new PopularWordsResponse("my-index", 50, words, 5, new ArrayList<>()); assertEquals("my-index", response.getIndex()); } @Test public void test_getTookMs() throws Exception { List<String> words = new ArrayList<>();
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Thu Nov 13 00:40:54 GMT 2025 - 5.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/request/suggest/SuggestResponseTest.java
words.add("word1"); SuggestResponse response = new SuggestResponse("test-index", 100, words, 100, new ArrayList<>()); assertEquals(100, response.getTotal()); } @Test public void test_getItems() throws Exception { List<String> words = new ArrayList<>(); words.add("test"); List<SuggestItem> items = new ArrayList<>();
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Mon Nov 24 03:40:05 GMT 2025 - 6.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/eventbus/outside/DeepInterfaceTest.java
final List<Object> annotatedIn1Events = new ArrayList<>(); final List<Object> annotatedIn1And2Events = new ArrayList<>(); final List<Object> annotatedIn1And2AndClassEvents = new ArrayList<>(); final List<Object> declaredIn1AnnotatedIn2Events = new ArrayList<>(); final List<Object> declaredIn1AnnotatedInClassEvents = new ArrayList<>(); final List<Object> declaredIn2AnnotatedInClassEvents = new ArrayList<>();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 4.2K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ListEqualsTester.java
assertTrue( "A List should equal any other List containing the same elements.", getList().equals(new ArrayList<E>(getOrderedElements()))); } @CollectionSize.Require(absent = CollectionSize.ZERO) public void testEquals_otherListWithDifferentElements() { ArrayList<E> other = new ArrayList<>(getSampleElements()); other.set(other.size() / 2, getSubjectGenerator().samples().e3()); assertFalse(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 3.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/eventbus/outside/AnnotatedNotAbstractInSuperclassTest.java
import java.util.ArrayList; import java.util.List; public class AnnotatedNotAbstractInSuperclassTest extends AbstractEventBusTest<SubClass> { static class SuperClass { final List<Object> notOverriddenInSubclassEvents = new ArrayList<>(); final List<Object> overriddenNotAnnotatedInSubclassEvents = new ArrayList<>();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 4.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/eventbus/outside/AnnotatedNotAbstractInSuperclassTest.java
import java.util.ArrayList; import java.util.List; public class AnnotatedNotAbstractInSuperclassTest extends AbstractEventBusTest<SubClass> { static class SuperClass { final List<Object> notOverriddenInSubclassEvents = new ArrayList<>(); final List<Object> overriddenNotAnnotatedInSubclassEvents = new ArrayList<>();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 4.2K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListEqualsTester.java
assertTrue( "A List should equal any other List containing the same elements.", getList().equals(new ArrayList<E>(getOrderedElements()))); } @CollectionSize.Require(absent = CollectionSize.ZERO) public void testEquals_otherListWithDifferentElements() { ArrayList<E> other = new ArrayList<>(getSampleElements()); other.set(other.size() / 2, getSubjectGenerator().samples().e3()); assertFalse(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 3.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ArrayListMultimap.java
* call, or switch to a {@code HashMap<K, ArrayList<V>>}. */ @Deprecated public void trimToSize() { for (Collection<V> collection : backingMap().values()) { ArrayList<V> arrayList = (ArrayList<V>) collection; arrayList.trimToSize(); } } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 05 23:15:58 GMT 2025 - 6.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/RenderDataUtilTest.java
BsUser entity1 = new BsUser(); entity1.setName("user1"); // Test ArrayList specifically (not just List interface) ArrayList<BsUser> arrayList = new ArrayList<>(); arrayList.add(entity1); RenderDataUtil.register(data, "arrayList", arrayList); Object result = data.getDataMap().get("arrayList"); assertNotNull(result); assertTrue(result instanceof List);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 9.2K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/collect/IteratorBenchmark.java
Object[] array; ArrayList<Object> arrayList; LinkedList<Object> linkedList; @BeforeExperiment void setUp() { array = new Object[size]; arrayList = Lists.newArrayListWithCapacity(size); linkedList = new LinkedList<>(); for (int i = 0; i < size; i++) { Object value = new Object(); array[i] = value; arrayList.add(value); linkedList.add(value); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 3.5K bytes - Click Count (0)