- Sort Score
- Result 10 results
- Languages All
Results 451 - 460 of 1,434 for created (0.06 sec)
-
HashCode.java
/** L104: * Returns whether this {@code HashCode} and that {@code HashCode} have the same value, given that L105: * they have the same number of bits. L106: */ L107: abstract boolean equalsSameBits(HashCode that); L108: L109: /** L110: * Creates a 32-bit {@code HashCode} representation of the given int value. The underlying bytes L111: * are interpreted in little endian order. L112: * L113: * @since 15.0 (since 12.0 in HashCodes) L114: */ L115: public static HashCode fromInt(int...github.com/google/guava/android/guava/src/com/g...Wed Oct 30 19:54:59 UTC 2024 12.6K bytes -
ImmutableDoubleArrayTest.java
} L544: L545: @Override L546: public List<Double> create(Object... elements) { L547: Double[] array = new Double[elements.length]; L548: int i = 0; L549: for (Object e : elements) { L550: array[i++] = (Double) e; L551: } L552: return create(array); L553: } L554: L555: /** L556: * Creates a new collection containing the given elements; implement this method instead of L557: * {@link #create(Object...)}. L558: */ L559: protected abstract List<Double>...github.com/google/guava/android/guava-tests/tes...Fri Oct 25 18:05:56 UTC 2024 21.2K bytes -
CreateForm.java
@Min(value = 0) L108: @Max(value = 2147483647) L109: @ValidateTypeFailure L110: public Integer sortOrder; L111: L112: @Size(max = 1000) L113: public String createdBy; L114: L115: @ValidateTypeFailure L116: public Long createdTime; L117: L118: public void initialize() { L119: crudMode = CrudMode.CREATE; L120: final FessConfig fessConfig = ComponentUtil.getFessConfig(); L121: includedPaths = fessConfig.getCrawlerDocumentFileDefaultIncludeIndexPatterns(); L122:...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 3.9K bytes -
TestMapEntrySetGenerator.java
L21:import com.google.common.annotations.GwtCompatible; L22:import java.util.List; L23:import java.util.Map; L24:import java.util.Map.Entry; L25:import java.util.Set; L26:import org.checkerframework.checker.nullness.qual.Nullable; L27: L28:/** L29: * Creates map entries using sample keys and sample values. L30: * L31: * @author Jesse Wilson L32: */ L33:@GwtCompatible L34:@ElementTypesAreNonnullByDefault L35:public abstract class TestMapEntrySetGenerator< L36: K extends @Nullable Object, V extends...github.com/google/guava/android/guava-testlib/s...Wed Oct 30 16:15:19 UTC 2024 2.2K bytes -
CompactLinkedHashMap.java
V> { L56: // TODO(lowasser): implement removeEldestEntry so this can be used as a drop-in replacement L57: L58: /** Creates an empty {@code CompactLinkedHashMap} instance. */ L59: public static <K extends @Nullable Object, V extends @Nullable Object> L60: CompactLinkedHashMap<K, V> create() { L61: return new CompactLinkedHashMap<>(); L62: } L63: L64: /** L65: * Creates a {@code CompactLinkedHashMap} instance, with a high enough "initial capacity" that it L66: * <i>should</i> hold {@code...github.com/google/guava/android/guava/src/com/g...Mon Apr 01 16:15:01 UTC 2024 8.5K bytes -
JdkBackedImmutableMap.java
JdkBackedImmutableMap<K, V> extends ImmutableMap<K, V> { L39: /** L40: * Creates an {@code ImmutableMap} backed by a JDK HashMap. Used when probable hash flooding is L41: * detected. This implementation may replace the entries in entryArray with its own entry objects L42: * (though they will have the same key/value contents), and will take ownership of entryArray. L43: */ L44: static <K, V> ImmutableMap<K, V> create( L45: int n, @Nullable Entry<K, V>[] entryArray, boolean throwIfDuplicateKeys)...github.com/google/guava/guava/src/com/google/co...Thu Nov 30 21:54:06 UTC 2023 4.8K bytes -
LocalCacheTest.java
new Object(); L703: int hash = map.hash(key); L704: Object value = new Object(); L705: int index = hash & (table.length() - 1); L706: L707: DummyEntry<Object, Object> entry = DummyEntry.create(key, hash, null); L708: DummyValueReference<Object, Object> valueRef = DummyValueReference.create(value); L709: entry.setValueReference(valueRef); L710: table.set(index, entry); L711: segment.count++; L712: L713: assertSame(value, map.get(key, loader)); L714: assertEquals(0, loader.getCount());...github.com/google/guava/android/guava-tests/tes...Fri Oct 18 19:07:49 UTC 2024 110.6K bytes -
LocalCacheTest.java
new Object(); L703: int hash = map.hash(key); L704: Object value = new Object(); L705: int index = hash & (table.length() - 1); L706: L707: DummyEntry<Object, Object> entry = DummyEntry.create(key, hash, null); L708: DummyValueReference<Object, Object> valueRef = DummyValueReference.create(value); L709: entry.setValueReference(valueRef); L710: table.set(index, entry); L711: segment.count++; L712: L713: assertSame(value, map.get(key, loader)); L714: assertEquals(0, loader.getCount());...github.com/google/guava/guava-tests/test/com/go...Fri Oct 18 19:07:49 UTC 2024 112.3K bytes -
MultimapTestSuiteBuilder.java
L414: } L415: L416: @Override L417: public SampleElements<Entry<K, V>> samples() { L418: return multimapGenerator.samples(); L419: } L420: L421: @Override L422: public Collection<Entry<K, V>> create(Object... elements) { L423: return multimapGenerator.create(elements).entries(); L424: } L425: L426: @SuppressWarnings("unchecked") L427: @Override L428: public Entry<K, V>[] createArray(int length) { L429: return (Entry<K, V>[]) new Entry<?, ?>[length]; L430:...github.com/google/guava/android/guava-testlib/s...Wed Oct 30 16:15:19 UTC 2024 26.8K bytes -
SettableFuture.java
L36:@ElementTypesAreNonnullByDefault L37:public final class SettableFuture<V extends @Nullable Object> L38: extends AbstractFuture.TrustedFuture<V> { L39: /** L40: * Creates a new {@code SettableFuture} that can be completed or cancelled by a later method call. L41: */ L42: public static <V extends @Nullable Object> SettableFuture<V> create() { L43: return new SettableFuture<>(); L44: } L45: L46: @CanIgnoreReturnValue L47: @Override L48: public boolean set(@ParametricNullness V value) { L49:...github.com/google/guava/android/guava/src/com/g...Fri Oct 01 17:18:04 UTC 2021 2.4K bytes