- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 1,400 for creator (0.04 sec)
-
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/EnumMultiset.java
Iterables.addAll(multiset, elements); return multiset; } public static <E extends Enum<E>> EnumMultiset<E> create(Iterable<E> elements, Class<E> type) { EnumMultiset<E> result = create(type); Iterables.addAll(result, elements); return result; } /** Creates an empty {@code EnumMultiset}. */ private EnumMultiset(EnumMap<E, Count> map) { super(map); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/SetCreationTester.java
} @CollectionFeature.Require(REJECTS_DUPLICATES_AT_CREATION) @CollectionSize.Require(absent = {ZERO, ONE}) public void testCreateWithDuplicates_nonNullDuplicatesRejected() { E[] array = createSamplesArray(); array[1] = e0(); assertThrows( IllegalArgumentException.class, () -> collection = getSubjectGenerator().create(array)); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 3.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestStringCollectionGenerator.java
/** * String creation for testing arbitrary collections. * * @author Jared Levy */ @GwtCompatible @NullMarked public abstract class TestStringCollectionGenerator implements TestCollectionGenerator<String> { @Override public SampleElements<String> samples() { return new Strings(); } @Override public Collection<String> create(Object... elements) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 1.7K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/RegularImmutableMultiset.java
import org.jspecify.annotations.Nullable; /** Never actually created; instead delegates to JdkBackedImmutableMultiset. */ final class RegularImmutableMultiset<E> extends ImmutableMultiset<E> { static final ImmutableMultiset<Object> EMPTY = JdkBackedImmutableMultiset.create(ImmutableList.of()); RegularImmutableMultiset() {} static <E> ImmutableMultiset<E> create(Collection<? extends Entry<? extends E>> entries) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 14:59:07 UTC 2025 - 1.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableList.java
* multiple lists in series. Each new list contains all the elements of the ones created before * it. * * @since 2.0 */ public static final class Builder<E> extends ImmutableCollection.ArrayBasedBuilder<E> { /** * Creates a new builder. The returned builder is equivalent to the builder generated by {@link * ImmutableList#builder}. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 27.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/ArrayListMultimap.java
extends AbstractListMultimap<K, V> { // Default from ArrayList private static final int DEFAULT_VALUES_PER_KEY = 3; @VisibleForTesting transient int expectedValuesPerKey; /** * Creates a new, empty {@code ArrayListMultimap} with the default initial capacities. * * <p>You may also consider the equivalent {@code * MultimapBuilder.hashKeys().arrayListValues().build()}, which provides more control over the
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/DoubleArrayAsListTest.java
@Override public List<Double> create(Object... elements) { Double[] array = new Double[elements.length]; int i = 0; for (Object e : elements) { array[i++] = (Double) e; } return create(array); } /** * Creates a new collection containing the given elements; implement this method instead of * {@link #create(Object...)}. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/net/UuidUtil.java
private static final String BASE = StringUtil.toHex(getAddress()) + StringUtil.toHex(System.identityHashCode(RANDOM)); /** * Creates a UUID. * * @return the UUID string */ public static String create() { final StringBuilder buf = new StringBuilder(BASE.length() * 2); buf.append(BASE); final int lowTime = (int) (System.currentTimeMillis() >> 32);
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 1.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompactLinkedHashSet.java
final class CompactLinkedHashSet<E extends @Nullable Object> extends CompactHashSet<E> { /** Creates an empty {@code CompactLinkedHashSet} instance. */ public static <E extends @Nullable Object> CompactLinkedHashSet<E> create() { return new CompactLinkedHashSet<>(); } /** * Creates a <i>mutable</i> {@code CompactLinkedHashSet} instance containing the elements of the
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 14:59:07 UTC 2025 - 9.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/TreeBasedTable.java
*/ @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989 public static <R extends Comparable, C extends Comparable, V> TreeBasedTable<R, C, V> create() { return new TreeBasedTable<>(Ordering.natural(), Ordering.natural()); } /** * Creates an empty {@code TreeBasedTable} that is ordered by the specified comparators. * * @param rowComparator the comparator that orders the row keys
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 18 15:05:43 UTC 2025 - 11.6K bytes - Viewed (0)