Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for firstKey (0.09 sec)

  1. src/main/java/jcifs/util/transport/Transport.java

            long firstKey = prepareRequests(request, response, params, timeout);
            doSend(request);
            return firstKey;
        }
    
    
        /**
         * @param request
         * @param response
         * @param params
         * @param timeout
         * @param firstKey
         * @return
         * @throws IOException
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 01 18:12:21 UTC 2020
    - 24.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/SynchronizedNavigableMapTest.java

        public Comparator<? super K> comparator() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate().comparator();
        }
    
        @Override
        public K firstKey() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate().firstKey();
        }
    
        @Override
        public K lastKey() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate().lastKey();
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/TreeBasedTable.java

          return new TreeRow(rowKey, fromKey, upperBound);
        }
    
        @Override
        public C firstKey() {
          updateBackingRowMapField();
          if (backingRowMap == null) {
            throw new NoSuchElementException();
          }
          return ((SortedMap<C, V>) backingRowMap).firstKey();
        }
    
        @Override
        public C lastKey() {
          updateBackingRowMapField();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java

        return ImmutableSortedSet.copyOf(comparator, sortedDelegate.keySet());
      }
    
      public Comparator<? super K> comparator() {
        return comparator;
      }
    
      @CheckForNull
      public K firstKey() {
        return sortedDelegate.firstKey();
      }
    
      @CheckForNull
      public K lastKey() {
        return sortedDelegate.lastKey();
      }
    
      @CheckForNull
      K higher(K k) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 27 19:19:19 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

        TreeMultimap<String, Integer> multimap = createPopulate();
        SortedMap<String, Collection<Integer>> asMap = multimap.asMap();
        assertEquals(Ordering.natural(), asMap.comparator());
        assertEquals("foo", asMap.firstKey());
        assertEquals("tree", asMap.lastKey());
        Set<Integer> fooValues = ImmutableSet.of(1, 3, 7);
        Set<Integer> googleValues = ImmutableSet.of(2, 6);
        Set<Integer> treeValues = ImmutableSet.of(4, 0);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/TreeBasedTableTest.java

      }
    
      public void testRowMapFirstKey() {
        sortedTable = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        assertSame("bar", sortedTable.rowMap().firstKey());
      }
    
      public void testRowMapLastKey() {
        sortedTable = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        assertSame("foo", sortedTable.rowMap().lastKey());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 15K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

          replica.put(newValue, new AtomicInteger(1));
        }
      }
    
      private static void removeMinFromReplica(
          SortedMap<Integer, AtomicInteger> replica, int minValue) {
        Integer replicatedMinValue = replica.firstKey();
        assertEquals(replicatedMinValue, (Integer) minValue);
        removeFromReplica(replica, replicatedMinValue);
      }
    
      private static void removeMaxFromReplica(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

          replica.put(newValue, new AtomicInteger(1));
        }
      }
    
      private static void removeMinFromReplica(
          SortedMap<Integer, AtomicInteger> replica, int minValue) {
        Integer replicatedMinValue = replica.firstKey();
        assertEquals(replicatedMinValue, (Integer) minValue);
        removeFromReplica(replica, replicatedMinValue);
      }
    
      private static void removeMaxFromReplica(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

            if ( prefixLen > 1 ) {
                prefixLen--;
                int firstSep = this.canon.indexOf('/', 1);
                if ( firstSep < 0 ) {
                    this.share = this.canon.substring(1);
                    this.unc = "\\";
                }
                else if ( firstSep == prefixLen ) {
                    this.share = this.canon.substring(1, firstSep);
                    this.unc = "\\";
                }
                else {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jul 20 08:24:53 UTC 2019
    - 23.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/tests/DfsTest.java

            URI dfsRoot = new URI(getDFSRootURL());
            String dfsRootPath = dfsRoot.getPath();
            int firstSep = dfsRootPath.indexOf('/', 1);
            String dfsShare;
            if ( firstSep > 0 ) {
                dfsShare = dfsRootPath.substring(1, firstSep);
            }
            else {
                dfsShare = dfsRootPath.substring(1, dfsRootPath.length() - 1);
            }
            return dfsShare;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Mar 01 09:46:04 UTC 2020
    - 13.5K bytes
    - Viewed (0)
Back to top