- Sort Score
- Num 10 results
- Language All
Results 641 - 650 of 738 for isEmpty (0.06 seconds)
-
guava/src/com/google/common/collect/AbstractMapBasedMultiset.java
*/ private transient long size; /** Standard constructor. */ protected AbstractMapBasedMultiset(Map<E, Count> backingMap) { checkArgument(backingMap.isEmpty()); this.backingMap = backingMap; } /** Used during deserialization only. The backing map must be empty. */ void setBackingMap(Map<E, Count> backingMap) { this.backingMap = backingMap; }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 10.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java
final Queue<Runnable> tasks = new ArrayDeque<>(); @Override public void execute(Runnable command) { tasks.add(command); } boolean hasNext() { return !tasks.isEmpty(); } void runNext() { assertTrue("expected at least one task to run", hasNext()); tasks.remove().run(); } void runAll() { while (hasNext()) { runNext();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Jul 11 18:52:30 GMT 2025 - 11.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/RangeMap.java
* Range#contains(Comparable) range.contains(k)}, then {@link #get(Comparable) get(k)} will return * {@code value}. * * <p>If {@code range} {@linkplain Range#isEmpty() is empty}, then this is a no-op. */ void put(Range<K> range, V value); /** * Maps a range to a specified value, coalescing this range with any existing ranges with the same
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 7.6K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/eclipse/sisu/plexus/PlexusXmlBeanConverter.java
return b.getTypeConverter().convert(text, toType); } } // last chance => attempt to create an instance of the expected type: use the string if non-empty return text.isEmpty() ? newImplementation(rawType) : newImplementation(rawType, text); }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 15.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Table.java
*/ @Nullable V get( @CompatibleWith("R") @Nullable Object rowKey, @CompatibleWith("C") @Nullable Object columnKey); /** Returns {@code true} if the table contains no mappings. */ boolean isEmpty(); /** Returns the number of row key / column key / value mappings in the table. */ int size(); /** * Compares the specified object with this table for equality. Two tables are equal when their
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 10.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/CompactHashSet.java
} } else { elements[dstIndex] = null; entries[dstIndex] = 0; } } int firstEntryIndex() { return isEmpty() ? -1 : 0; } int getSuccessor(int entryIndex) { return (entryIndex + 1 < size) ? entryIndex + 1 : -1; } /**Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 24.7K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableSortedMultiset.java
} private static <E> ImmutableSortedMultiset<E> copyOfSortedEntries( Comparator<? super E> comparator, Collection<Entry<E>> entries) { if (entries.isEmpty()) { return emptyMultiset(comparator); } ImmutableList.Builder<E> elementsBuilder = new ImmutableList.Builder<>(entries.size()); long[] cumulativeCounts = new long[entries.size() + 1]; int i = 0;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 29.5K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Dec 15 11:13:42 GMT 2025 - 15.7K bytes - Click Count (1) -
impl/maven-core/src/test/java/org/apache/maven/graph/DefaultGraphBuilderTest.java
when(mavenExecutionRequest.getPom()).thenReturn(parameterRequestedPom); when(mavenExecutionRequest.isRecursive()).thenReturn(parameterRecursive); if (parameterResumeFrom != null && !parameterResumeFrom.isEmpty()) { when(mavenExecutionRequest.getResumeFrom()).thenReturn(":" + parameterResumeFrom); } // When Result<ProjectDependencyGraph> result = graphBuilder.build(session);
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Dec 09 20:39:03 GMT 2025 - 28K bytes - Click Count (0) -
internal/event/target/postgresql.go
func NewPostgreSQLTarget(id string, args PostgreSQLArgs, loggerOnce logger.LogOnce) (*PostgreSQLTarget, error) { params := []string{args.ConnectionString} if args.ConnectionString == "" { params = []string{} if !args.Host.IsEmpty() { params = append(params, "host="+args.Host.String()) } if args.Port != "" { params = append(params, "port="+args.Port) } if args.Username != "" {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Mar 30 00:56:02 GMT 2025 - 13.3K bytes - Click Count (0)