Search Options

Results per page
Sort
Preferred Languages
Advance

Results 441 - 450 of 938 for _element (0.09 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/QueuePeekTester.java

      public void testPeek_size1() {
        assertEquals("size1Queue.peek() should return first element", e0(), getQueue().peek());
        expectUnchanged();
      }
    
      @CollectionFeature.Require(KNOWN_ORDER)
      @CollectionSize.Require(SEVERAL)
      public void testPeek_sizeMany() {
        assertEquals("sizeManyQueue.peek() should return first element", e0(), getQueue().peek());
        expectUnchanged();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/security/MessageDigestUtil.java

            }
            final byte[] digest = msgDigest.digest();
    
            final StringBuilder buffer = new StringBuilder(200);
            for (final byte element : digest) {
                final String tmp = Integer.toHexString(element & 0xff);
                if (tmp.length() == 1) {
                    buffer.append('0').append(tmp);
                } else {
                    buffer.append(tmp);
                }
            }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/TestIntegerSortedSetGenerator.java

     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class TestIntegerSortedSetGenerator extends TestIntegerSetGenerator {
      @Override
      protected abstract SortedSet<Integer> create(Integer[] elements);
    
      /** Sorts the elements by their natural ordering. */
      @Override
      public List<Integer> order(List<Integer> insertionOrder) {
        sort(insertionOrder);
        return insertionOrder;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/ListEqualsTester.java

      @CollectionFeature.Require(ALLOWS_NULL_VALUES)
      public void testEquals_containingNull() {
        ArrayList<E> elements = new ArrayList<>(getSampleElements());
        elements.set(elements.size() / 2, null);
        collection = getSubjectGenerator().create(elements.toArray());
        List<E> other = new ArrayList<>(getSampleElements());
        assertFalse(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/collection/ArrayIterator.java

    /**
     * 配列を{@link Iterator}にするAdaptorです。
     * <p>
     * 次のように使います.
     * </p>
     *
     * <pre>
     * import static org.codelibs.core.collection.ArrayIterator.*;
     *
     * String[] array = ...;
     * for (String element : iterable(array)) {
     *     ...
     * }
     * </pre>
     *
     * @author shot
     * @param <T>
     *            配列の要素の型
     */
    public class ArrayIterator<T> implements Iterator<T> {
    
        /** イテレートする要素の配列 */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/collection/EnumerationIteratorTest.java

            final EnumerationIterator<String> itr = new EnumerationIterator<String>(vector.elements());
            itr.remove();
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testNext() throws Exception {
            final EnumerationIterator<String> itr = new EnumerationIterator<String>(new Vector<String>().elements());
            assertThat(itr.hasNext(), is(not(true)));
        }
    
        /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/TestContainerGenerator.java

      /** Returns the sample elements that this generate populates its container with. */
      SampleElements<E> samples();
    
      /**
       * Creates a new container containing the given elements. TODO: would be nice to figure out how to
       * use E... or E[] as a parameter type, but this doesn't seem to work because Java creates an
       * array of the erased type.
       */
      T create(Object... elements);
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/SetMultimapTestSuiteBuilder.java

            OneSizeTestContainerGenerator<SetMultimap<K, V>, Entry<K, V>> multimapGenerator) {
          super(multimapGenerator);
        }
    
        @Override
        public Set<Entry<K, V>> create(Object... elements) {
          return (Set<Entry<K, V>>) super.create(elements);
        }
      }
    
      static class MultimapGetGenerator<K, V>
          extends MultimapTestSuiteBuilder.MultimapGetGenerator<K, V, SetMultimap<K, V>>
          implements TestSetGenerator<V> {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/util/QueryStringBuilder.java

            if (!escape) {
                return value;
            }
    
            String newValue = value;
            for (final String element : Constants.RESERVED) {
                final String replacement = element.replaceAll("(.)", "\\\\$1");
                newValue = newValue.replace(element, replacement);
            }
            return newValue;
        }
    
        public String build() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

                if ( context.getServer() == null ) {
                    pos = 1;
                }
    
                // first remaining path element would be share
                if ( nameParts.length > pos ) {
                    this.share = nameParts[ pos++ ];
                }
    
                // all other remaining path elements are actual path
                if ( nameParts.length > pos ) {
                    String[] remainParts = new String[nameParts.length - pos];
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jul 20 08:24:53 UTC 2019
    - 23.9K bytes
    - Viewed (0)
Back to top