- Sort Score
- Result 10 results
- Languages All
Results 2031 - 2040 of 4,816 for newE (0.05 sec)
-
guava/src/com/google/common/collect/AbstractMapBasedMultiset.java
return super.entrySet(); } @Override Iterator<E> elementIterator() { final Iterator<Map.Entry<E, Count>> backingEntries = backingMap.entrySet().iterator(); return new Iterator<E>() { @CheckForNull Map.Entry<E, Count> toRemove; @Override public boolean hasNext() { return backingEntries.hasNext(); } @Override @ParametricNullness
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 10.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/entity/ParamMapTest.java
final Map<Object, Object> map = new HashMap<>(); map.put("aaa", "111"); map.put("aaa_bbb", "222"); map.put("aaa_bbb_ccc", "333"); map.put("ccc.ddd", "444"); return new ParamMap<>(map); } private ParamMap<Object, Object> createCamelMap() { final Map<Object, Object> map = new HashMap<>(); map.put("aaa", "111");
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 4.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java
return queryList.toArray(new Element[0]); } private Set<Element> createData() { Set<Element> set = Sets.newHashSetWithExpectedSize(size); while (set.size() < size) { set.add(newElement()); } return set; } private Element newElement() { int value = random.nextInt(); return isUserTypeFast ? new Element(value) : new SlowElement(value); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 4.1K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/util/concurrent/SingleThreadAbstractFutureBenchmark.java
@Param Impl impl; private final Exception exception = new Exception(); private Facade<?> notDoneFuture; @BeforeExperiment void setUp() throws Exception { notDoneFuture = impl.newFacade(); } @Benchmark public long timeComplete_Normal(int reps) throws Exception { long r = 0; List<Facade<Integer>> list = new ArrayList<>(reps); for (int i = 0; i < reps; i++) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 3.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/MessageDigestHashFunctionTest.java
assertEquals( HashCode.fromBytes(Arrays.copyOf(digest.digest(input), bytes)), new MessageDigestHashFunction(algorithmName, bytes, algorithmName).hashBytes(input)); } try { int maxSize = digest.getDigestLength(); new MessageDigestHashFunction(algorithmName, maxSize + 1, algorithmName); fail(); } catch (IllegalArgumentException expected) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 4.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetIteratorTester.java
public class MultisetIteratorTester<E extends @Nullable Object> extends AbstractMultisetTester<E> { @CollectionFeature.Require({SUPPORTS_ITERATOR_REMOVE, KNOWN_ORDER}) public void testRemovingIteratorKnownOrder() { new IteratorTester<E>( 4, MODIFIABLE, getSubjectGenerator().order(asList(e0(), e1(), e1(), e2())), IteratorTester.KnownOrder.KNOWN_ORDER) { @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 4.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableEnumMap.java
@Override @J2ktIncompatible // serialization Object writeReplace() { return new EnumSerializedForm<>(delegate); } @J2ktIncompatible // serialization private void readObject(ObjectInputStream stream) throws InvalidObjectException { throw new InvalidObjectException("Use EnumSerializedForm"); } /* * This class is used to serialize ImmutableEnumMap instances.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 4.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/MultiIterator.java
} return false; } @Override public E next() { if (!hasNext()) { throw new NoSuchElementException(); } return iterators[index].next(); } @Override public void remove() { throw new ClUnsupportedOperationException("remove"); }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 3.7K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java
if (allProjects != null) { Map<String, Map<String, Map<String, MavenProject>>> map = new HashMap<>(); allProjects.forEach(project -> map.computeIfAbsent(project.getGroupId(), k -> new HashMap<>()) .computeIfAbsent(project.getArtifactId(), k -> new HashMap<>()) .put(project.getVersion(), project)); this.allProjects = map;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 22.3K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/StringUtilTest.java
StringUtil.newStringUnsafeMethod = null; char[] chars = new char[0]; assertThat(StringUtil.newStringUnsafe(chars), is("")); chars = new char[] { 'a', 'b', 'c' }; assertThat(StringUtil.newStringUnsafe(chars), is("abc")); StringUtil.newStringUnsafeMethod = newStringUnsafeMethod; chars = new char[] { 'a', 'b', 'c', ' ' };
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 12K bytes - Viewed (0)