Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 681 for Clements (0.23 sec)

  1. docs/sts/client_grants/sts_element.py

    
    class STSElement(object):
        """STS aware XML parsing class. Wraps a root element name and
        cElementTree.Element instance. Provides STS namespace aware parsing
        functions.
    
        """
    
        def __init__(self, root_name, element):
            self.root_name = root_name
            self.element = element
    
        @classmethod
        def fromstring(cls, root_name, data):
    Python
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 2.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/EnumMultiset.java

       * Creates a new {@code EnumMultiset} containing the specified elements.
       *
       * <p>This implementation is highly efficient when {@code elements} is itself a {@link Multiset}.
       *
       * @param elements the elements that the multiset should contain
       * @throws IllegalArgumentException if {@code elements} is empty
       */
      public static <E extends Enum<E>> EnumMultiset<E> create(Iterable<E> elements) {
        Iterator<E> iterator = elements.iterator();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/EnumMultiset.java

       * Creates a new {@code EnumMultiset} containing the specified elements.
       *
       * <p>This implementation is highly efficient when {@code elements} is itself a {@link Multiset}.
       *
       * @param elements the elements that the multiset should contain
       * @throws IllegalArgumentException if {@code elements} is empty
       */
      public static <E extends Enum<E>> EnumMultiset<E> create(Iterable<E> elements) {
        Iterator<E> iterator = elements.iterator();
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/collection/LruHashSet.java

        /**
         * Returns an iterator over the elements in this set. The elements are
         * returned in no particular order.
         *
         * @return an Iterator over the elements in this set.
         * @see ConcurrentModificationException
         */
        @Override
        public Iterator<E> iterator() {
            return map.keySet().iterator();
        }
    
        /**
         * Returns the number of elements in this set (its cardinality).
         *
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

        assertEquals("Should have removed an element", 2, list.size());
        assertFalse("Second element should be gone", list.contains("B"));
      }
    
      static class ThrowsAtEndException extends RuntimeException {
        /* nothing */
      }
    
      /**
       * This Iterator claims to have more elements than the underlying iterable, but when you try to
       * fetch the extra elements, it throws an unchecked exception.
       */
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

        assertEquals("Should have removed an element", 2, list.size());
        assertFalse("Second element should be gone", list.contains("B"));
      }
    
      static class ThrowsAtEndException extends RuntimeException {
        /* nothing */
      }
    
      /**
       * This Iterator claims to have more elements than the underlying iterable, but when you try to
       * fetch the extra elements, it throws an unchecked exception.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 9K bytes
    - Viewed (0)
  7. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSet.java

      @JsMethod(name = "of")
      static <E> ImmutableSet<E> jsOf(E... elements) {
        return copyOf(elements);
      }
    
      @JsMethod
      public static <E> ImmutableSet<E> copyOf(E[] elements) {
        checkNotNull(elements);
        switch (elements.length) {
          case 0:
            return of();
          case 1:
            return of(elements[0]);
          default:
            return create(elements);
        }
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/ReleaseNotesTransformer.java

        private void wrapH2InSectionTopic(Document document) {
            Element heading = document.body().select("h2").first();
    
            List<Element> inSection = new ArrayList<>();
            inSection.add(heading);
    
            Element next = heading.nextElementSibling();
            while (true) {
                if (next == null || next.tagName().equals("h2")) {
                    Element section = heading.before("<section class='topic'/>").previousElementSibling();
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Apr 25 04:49:56 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/SetHashCodeTester.java

      public void testHashCode_containingNull() {
        Collection<E> elements = getSampleElements(getNumElements() - 1);
        int expectedHashCode = 0;
        for (E element : elements) {
          expectedHashCode += ((element == null) ? 0 : element.hashCode());
        }
    
        elements.add(null);
        collection = getSubjectGenerator().create(elements.toArray());
        assertEquals(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3K bytes
    - Viewed (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/BuildableDOMCategory.groovy

    package gradlebuild.docs
    
    import groovy.xml.dom.DOMCategory
    import org.w3c.dom.Element
    import org.w3c.dom.Node
    
    class BuildableDOMCategory extends DOMCategory {
        public static void setText(Element element, String value) {
            while (element.hasChildNodes()) {
                element.removeChild(element.getFirstChild())
            }
            element.appendChild(element.ownerDocument.createTextNode(value))
        }
    
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Aug 11 15:32:19 GMT 2022
    - 2.8K bytes
    - Viewed (0)
Back to top