Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 241 - 250 of 831 for eleven (0.18 seconds)

  1. guava/src/com/google/common/collect/Serialization.java

       * support concurrent multisets whose content may change while the method is running.
       *
       * <p>The serialized output consists of the number of distinct elements, the first element, its
       * count, the second element, its count, and so on.
       */
      static <E extends @Nullable Object> void writeMultiset(
          Multiset<E> multiset, ObjectOutputStream stream) throws IOException {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Dec 09 15:58:48 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/Sets.java

        public E last() {
          SortedSet<E> sortedUnfiltered = (SortedSet<E>) unfiltered;
          while (true) {
            E element = sortedUnfiltered.last();
            if (predicate.apply(element)) {
              return element;
            }
            sortedUnfiltered = sortedUnfiltered.headSet(element);
          }
        }
      }
    
      @GwtIncompatible // NavigableSet
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 83K bytes
    - Click Count (0)
  3. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java

        switch (elements.length) {
          case 0:
            return emptySet(comparator);
          default:
            SortedSet<E> delegate = new TreeSet<E>(comparator);
            for (E element : elements) {
              checkNotNull(element);
              delegate.add(element);
            }
            return new RegularImmutableSortedSet<E>(delegate, false);
        }
      }
    
      // Unsafe, see ImmutableSortedSetFauxverideShim.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 06 18:32:41 GMT 2025
    - 15.5K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/util/StringUtilTest.java

    import org.junit.jupiter.params.provider.ValueSource;
    
    /**
     * Test class for StringUtil utility methods
     */
    class StringUtilTest {
    
        @Test
        @DisplayName("Should join single element without delimiter")
        void testJoinSingleElement() {
            String result = StringUtil.join(",", "hello");
            assertEquals("hello", result);
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 9K bytes
    - Click Count (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/MultisetEntrySetTester.java

        assertTrue(
            "multiset.entrySet.remove(presentEntry) returned false",
            getMultiset().entrySet().remove(Multisets.immutableEntry(e0(), 1)));
        assertFalse("multiset contains element after removing its entry", getMultiset().contains(e0()));
      }
    
      @CollectionSize.Require(absent = ZERO)
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      public void testEntrySet_removeAbsent() {
        assertFalse(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 9.6K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedConfigurationConverter.java

            for (int i = 0, size = configuration.getChildCount(); i < size; i++) {
                final PlexusConfiguration element = configuration.getChild(i);
                final String propertyName = fromXML(element.getName());
                Class<?> valueType;
                try {
                    valueType = getClassForImplementationHint(null, element, loader);
                } catch (final ComponentConfigurationException e) {
                    valueType = null;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jul 17 07:40:49 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/collect/SynchronizedDequeTest.java

        }
    
        @Override
        public @Nullable E peek() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.peek();
        }
    
        @Override
        public E element() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.element();
        }
    
        @Override
        public Iterator<E> iterator() {
          // We explicitly don't lock for iterator()
          assertFalse(Thread.holdsLock(mutex));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jul 16 17:42:14 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb/SmbException.java

            for (final int[] element : DOS_ERROR_CODES) {
                dosErrorCodeStatusesTmp.put(element[0], element[1]);
                final int mappedNtCode = element[1];
                final String mappedNtMessage = errorCodeMessagesTmp.get(mappedNtCode);
                if (mappedNtMessage != null) {
                    errorCodeMessagesTmp.put(element[0], mappedNtMessage);
                }
            }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/AbstractIndexedListIterator.java

      private int position;
    
      /** Returns the element with the specified index. This method is called by {@link #next()}. */
      @ParametricNullness
      protected abstract E get(int index);
    
      /**
       * Constructs an iterator across a sequence of the given size whose initial position is 0. That
       * is, the first call to {@link #next()} will return the first element (or throw {@link
       * NoSuchElementException} if {@code size} is zero).
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

          }
    
          @Override
          public T set(int index, T element) {
            return data.set(index, element);
          }
    
          @Override
          public boolean add(T element) {
            return data.add(element);
          }
    
          @Override
          public void add(int index, T element) {
            data.add(index, element);
          }
    
          @Override
          public T remove(int index) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 17.2K bytes
    - Click Count (0)
Back to Top