Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 924 for Element (0.09 sec)

  1. guava-testlib/src/com/google/common/collect/testing/google/TestStringSetMultimapGenerator.java

        return new String[length];
      }
    
      @Override
      public final String[] createValueArray(int length) {
        return new String[length];
      }
    
      /** Returns the original element list, unchanged. */
      @Override
      public Iterable<Entry<String, String>> order(List<Entry<String, String>> insertionOrder) {
        return insertionOrder;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/ShareEnumIterator.java

            this.parent = parent;
            this.delegate = delegate;
            this.filter = filter;
            this.next = advance();
        }
    
    
        /**
         * @return next element
         */
        private SmbResource advance () {
            while ( this.delegate.hasNext() ) {
                FileEntry n = this.delegate.next();
                if ( this.filter == null ) {
                    try {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        StackTraceElement[] elements = e.getStackTrace();
        for (int i = 0; i < elements.length; i++) {
          StackTraceElement element = elements[i];
          if (element.getClassName().equals(clazz) && element.getMethodName().equals(method)) {
            return i;
          }
        }
        throw new AssertionError(
            "Expected element " + clazz + "." + method + " not found in stack trace", e);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/PredecessorsFunction.java

       *       href="https://github.com/google/guava/wiki/GraphsExplained#graph-elements-nodes-and-edges">
       *       graph elements</a> for details)
       * </ul>
       *
       * @throws IllegalArgumentException if {@code node} is not an element of this graph
       */
      Iterable<? extends N> predecessors(N node);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 4.1K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/ListSetTester.java

      public void testSet_replacingNull() {
        E[] elements = createSamplesArray();
        int i = aValidIndex();
        elements[i] = null;
        collection = getSubjectGenerator().create(elements);
    
        doTestSet(e3());
      }
    
      private void doTestSet(E newValue) {
        int index = aValidIndex();
        E initialValue = getList().get(index);
        assertEquals(
            "set(i, x) should return the old element at position i.",
            initialValue,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableTable.java

    @ElementTypesAreNonnullByDefault
    public abstract class ImmutableTable<R, C, V> extends AbstractTable<R, C, V>
        implements Serializable {
    
      /**
       * Returns a {@code Collector} that accumulates elements into an {@code ImmutableTable}. Each
       * input element is mapped to one cell in the returned table, with the rows, columns, and values
       * generated by applying the specified functions.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  7. android/guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java

          numCallsToNewTargetIterator++;
          return Lists.newArrayList(1).iterator();
        }
    
        @Override
        protected void verify(List<Integer> elements) {
          numCallsToVerify++;
          super.verify(elements);
        }
      }
    
      public void testVerifyGetsCalled() {
        TesterThatCountsCalls tester = new TesterThatCountsCalls();
    
        tester.test();
    
        assertEquals(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/primitives/ByteArrayAsListTest.java

        protected List<Byte> create(Byte[] elements) {
          return asList(elements);
        }
      }
    
      public static final class BytesAsListHeadSubListGenerator extends TestByteListGenerator {
        @Override
        protected List<Byte> create(Byte[] elements) {
          Byte[] suffix = {Byte.MIN_VALUE, Byte.MAX_VALUE};
          Byte[] all = concat(elements, suffix);
          return asList(all).subList(0, elements.length);
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/primitives/LongArrayAsListTest.java

        protected List<Long> create(Long[] elements) {
          return asList(elements);
        }
      }
    
      public static final class LongsAsListHeadSubListGenerator extends TestLongListGenerator {
        @Override
        protected List<Long> create(Long[] elements) {
          Long[] suffix = {Long.MIN_VALUE, Long.MAX_VALUE};
          Long[] all = concat(elements, suffix);
          return asList(all).subList(0, elements.length);
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionToStringTester.java

      }
    
      @CollectionSize.Require(ONE)
      @CollectionFeature.Require(absent = NON_STANDARD_TOSTRING)
      public void testToString_size1() {
        assertEquals(
            "size1Collection.toString should return [{element}]",
            "[" + e0() + "]",
            collection.toString());
      }
    
      @CollectionSize.Require(SEVERAL)
      @CollectionFeature.Require(value = KNOWN_ORDER, absent = NON_STANDARD_TOSTRING)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top