Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 2,485 for Object (0.14 sec)

  1. android/guava-tests/test/com/google/common/collect/QueuesTest.java

       */
    
      public static List<BlockingQueue<Object>> blockingQueues() {
        return ImmutableList.<BlockingQueue<Object>>of(
            new LinkedBlockingQueue<Object>(),
            new LinkedBlockingQueue<Object>(10),
            new SynchronousQueue<Object>(),
            new ArrayBlockingQueue<Object>(10),
            new LinkedBlockingDeque<Object>(),
            new LinkedBlockingDeque<Object>(10),
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 12K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/TestThread.java

     * test with reference to the same "lock-like object", and then their interactions with that object
     * are choreographed via the various methods on this class.
     *
     * <p>A "lock-like object" is really any object that may be used for concurrency control. If the
     * {@link #callAndAssertBlocks} method is ever called in a test, the lock-like object must have a
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableMultimap.java

        }
    
        @Override
        public int size() {
          return multimap.size();
        }
    
        @Override
        public boolean contains(@CheckForNull Object object) {
          if (object instanceof Entry) {
            Entry<?, ?> entry = (Entry<?, ?>) object;
            return multimap.containsEntry(entry.getKey(), entry.getValue());
          }
          return false;
        }
    
        // redeclare to help optimizers with b/310253115
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 25.6K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/MinimalSet.java

    @ElementTypesAreNonnullByDefault
    public class MinimalSet<E extends @Nullable Object> extends MinimalCollection<E> implements Set<E> {
    
      @SuppressWarnings("unchecked") // empty Object[] as E[]
      public static <E extends @Nullable Object> MinimalSet<E> of(E... contents) {
        return ofClassAndContents(Object.class, (E[]) new Object[0], Arrays.asList(contents));
      }
    
      @SuppressWarnings("unchecked") // empty Object[] as E[]
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/MinimalSet.java

    @ElementTypesAreNonnullByDefault
    public class MinimalSet<E extends @Nullable Object> extends MinimalCollection<E> implements Set<E> {
    
      @SuppressWarnings("unchecked") // empty Object[] as E[]
      public static <E extends @Nullable Object> MinimalSet<E> of(E... contents) {
        return ofClassAndContents(Object.class, (E[]) new Object[0], Arrays.asList(contents));
      }
    
      @SuppressWarnings("unchecked") // empty Object[] as E[]
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ForwardingSortedSet.java

      @Override
      protected boolean standardContains(@CheckForNull Object object) {
        try {
          // any ClassCastExceptions and NullPointerExceptions are caught
          @SuppressWarnings({"unchecked", "nullness"})
          SortedSet<@Nullable Object> self = (SortedSet<@Nullable Object>) this;
          Object ceiling = self.tailSet(object).first();
          return unsafeCompare(comparator(), ceiling, object) == 0;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 12 15:26:39 GMT 2023
    - 5.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ObjectArraysTest.java

      }
    
      @GwtIncompatible // ObjectArrays.concat(Object[], Object[], Class)
      public void testConcatEmptyEmpty() {
        String[] result = ObjectArrays.concat(new String[0], new String[0], String.class);
        assertEquals(String[].class, result.getClass());
        assertThat(result).isEmpty();
      }
    
      @GwtIncompatible // ObjectArrays.concat(Object[], Object[], Class)
      public void testConcatEmptyNonempty() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 8.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/cache/TestingWeighers.java

      static Weigher<Object, Integer> intValueWeigher() {
        return new IntValueWeigher();
      }
    
      static final class ConstantWeigher implements Weigher<Object, Object> {
        private final int constant;
    
        ConstantWeigher(int constant) {
          this.constant = constant;
        }
    
        @Override
        public int weigh(Object key, Object value) {
          return constant;
        }
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.9K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/it/CrawlTestBase.java

            return idList;
        }
    
        protected static List<Map<String, Object>> readJobLog(final String namePrefix) {
            final List<Map<String, Object>> logList = readLogItems("joblog");
            final List<Map<String, Object>> resList = new ArrayList<>();
            for (Map<String, Object> elem : logList) {
                if (elem.containsKey("job_name") && elem.get("job_name").equals(namePrefix + "Scheduler")) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableTable.java

        private final Object[] cellValues;
        private final int[] cellRowIndices;
        private final int[] cellColumnIndices;
    
        private SerializedForm(
            Object[] rowKeys,
            Object[] columnKeys,
            Object[] cellValues,
            int[] cellRowIndices,
            int[] cellColumnIndices) {
          this.rowKeys = rowKeys;
          this.columnKeys = columnKeys;
          this.cellValues = cellValues;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 17.6K bytes
    - Viewed (0)
Back to top