Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 836 for IsEmpty (0.09 sec)

  1. src/main/java/org/codelibs/fess/util/DocMap.java

            this.parent = parent;
        }
    
        @Override
        public int size() {
            return parent.size();
        }
    
        @Override
        public boolean isEmpty() {
            return parent.isEmpty();
        }
    
        @Override
        public boolean containsKey(final Object key) {
            return parent.containsKey(key);
        }
    
        @Override
        public boolean containsValue(final Object value) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/EmptyImmutableTableTest.java

      }
    
      public void testSize() {
        assertEquals(0, INSTANCE.size());
      }
    
      public void testGet() {
        assertNull(INSTANCE.get('a', 1));
      }
    
      public void testIsEmpty() {
        assertTrue(INSTANCE.isEmpty());
      }
    
      public void testCellSet() {
        assertEquals(ImmutableSet.of(), INSTANCE.cellSet());
      }
    
      public void testColumn() {
        assertEquals(ImmutableMap.of(), INSTANCE.column(1));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableAsList.java

        return delegateCollection().contains(target);
      }
    
      @Override
      public int size() {
        return delegateCollection().size();
      }
    
      @Override
      public boolean isEmpty() {
        return delegateCollection().isEmpty();
      }
    
      @Override
      boolean isPartialView() {
        return delegateCollection().isPartialView();
      }
    
      /** Serialized form that leads to the same performance as the original list. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  4. internal/config/lambda/event/targetidset.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package event
    
    // TargetIDSet - Set representation of TargetIDs.
    type TargetIDSet map[TargetID]struct{}
    
    // IsEmpty returns true if the set is empty.
    func (set TargetIDSet) IsEmpty() bool {
    	return len(set) != 0
    }
    
    // Clone - returns copy of this set.
    func (set TargetIDSet) Clone() TargetIDSet {
    	setCopy := NewTargetIDSet()
    	for k, v := range set {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. internal/bucket/replication/and.go

    	Tags    []Tag    `xml:"Tag,omitempty" json:"Tag,omitempty"`
    }
    
    var errDuplicateTagKey = Errorf("Duplicate Tag Keys are not allowed")
    
    // isEmpty returns true if Tags field is null
    func (a And) isEmpty() bool {
    	return len(a.Tags) == 0 && a.Prefix == ""
    }
    
    // Validate - validates the And field
    func (a And) Validate() error {
    	if a.ContainsDuplicateTag() {
    		return errDuplicateTagKey
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 1.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/beans/util/CopyOptions.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.beans.util;
    
    import static org.codelibs.core.collection.ArrayUtil.isEmpty;
    import static org.codelibs.core.collection.CollectionsUtil.newArrayList;
    import static org.codelibs.core.collection.CollectionsUtil.newHashMap;
    import static org.codelibs.core.lang.ClassIterator.iterable;
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/EnumBiMap.java

        }
        checkArgument(!map.isEmpty());
        return getDeclaringClassOrObjectForJ2cl(map.keySet().iterator().next());
      }
    
      private static <V extends Enum<V>> Class<V> inferValueTypeOrObjectUnderJ2cl(Map<?, V> map) {
        if (map instanceof EnumBiMap) {
          return ((EnumBiMap<?, V>) map).valueTypeOrObjectUnderJ2cl;
        }
        checkArgument(!map.isEmpty());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Aug 24 01:40:03 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  8. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/SimplexTransferListener.java

            ongoing.remove(new TransferResourceIdentifier(event.getResource()));
            put(event, ongoing.isEmpty());
        }
    
        @Override
        public void transferFailed(TransferEvent event) {
            ongoing.remove(new TransferResourceIdentifier(event.getResource()));
            put(event, ongoing.isEmpty());
        }
    
        private static class Exchange {
            private final TransferEvent event;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/EnumBiMap.java

        }
        checkArgument(!map.isEmpty());
        return getDeclaringClassOrObjectForJ2cl(map.keySet().iterator().next());
      }
    
      private static <V extends Enum<V>> Class<V> inferValueTypeOrObjectUnderJ2cl(Map<?, V> map) {
        if (map instanceof EnumBiMap) {
          return ((EnumBiMap<?, V>) map).valueTypeOrObjectUnderJ2cl;
        }
        checkArgument(!map.isEmpty());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Aug 24 01:40:03 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/RegularImmutableTable.java

      RegularImmutableTable() {}
    
      abstract Cell<R, C, V> getCell(int iterationIndex);
    
      @Override
      final ImmutableSet<Cell<R, C, V>> createCellSet() {
        return isEmpty() ? ImmutableSet.<Cell<R, C, V>>of() : new CellSet();
      }
    
      @WeakOuter
      private final class CellSet extends IndexedImmutableSet<Cell<R, C, V>> {
        @Override
        public int size() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.1K bytes
    - Viewed (0)
Back to top