Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 318 for Kirsty (0.17 sec)

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

          ImmutableSortedSet.Builder<String> builder = ImmutableSortedSet.orderedBy(comparator);
          builder.add(BEFORE_FIRST);
          builder.add(BEFORE_FIRST_2);
          builder.add(elements);
          builder.add(AFTER_LAST);
          builder.add(AFTER_LAST_2);
          return builder
              .build()
              .subSet(BEFORE_FIRST_2, AFTER_LAST_2)
              .asList()
              .subList(1, elements.length + 1);
        }
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/CharMatcher.java

        int len = sequence.length();
        int first;
        int last;
    
        for (first = 0; first < len; first++) {
          if (!matches(sequence.charAt(first))) {
            break;
          }
        }
        for (last = len - 1; last > first; last--) {
          if (!matches(sequence.charAt(last))) {
            break;
          }
        }
    
        return sequence.subSequence(first, last + 1).toString();
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/TablesTransformValuesColumnMapTest.java

        return Tables.transformValues(original, FIRST_CHARACTER);
      }
    
      @Override
      protected Map<String, Map<Integer, Character>> makePopulatedMap() {
        Table<Integer, String, String> table = HashBasedTable.create();
        table.put(1, "foo", "apple");
        table.put(1, "bar", "banana");
        table.put(3, "foo", "cat");
        return Tables.transformValues(table, FIRST_CHARACTER).columnMap();
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableSortedSet.java

        }
      }
    
      /**
       * Constructs an {@code ImmutableSortedSet} from the first {@code n} elements of {@code contents}.
       * If {@code k} is the size of the returned {@code ImmutableSortedSet}, then the sorted unique
       * elements are in the first {@code k} positions of {@code contents}, and {@code contents[i] ==
       * null} for {@code k <= i < n}.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 38.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableSetMultimap.java

       * <p>Example:
       *
       * <pre>{@code
       * static final Multimap<Character, String> FIRST_LETTER_MULTIMAP =
       *     Stream.of("banana", "apple", "carrot", "asparagus", "cherry")
       *         .collect(toImmutableSetMultimap(str -> str.charAt(0), str -> str.substring(1)));
       *
       * // is equivalent to
       *
       * static final Multimap<Character, String> FIRST_LETTER_MULTIMAP =
       *     new ImmutableSetMultimap.Builder<Character, String>()
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

         *
         * @param first the first entry of the table
         * @param entry the entry being removed from the table
         * @return the new first entry for the table
         */
        @GuardedBy("this")
        @CheckForNull
        E removeFromChain(E first, E entry) {
          int newCount = count;
          E newFirst = entry.getNext();
          for (E e = first; e != entry; e = e.getNext()) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelNormalizer.java

                for (Plugin plugin : plugins) {
                    Object key = plugin.getKey();
                    Plugin first = normalized.get(key);
                    if (first != null) {
                        plugin = merger.mergePlugin(plugin, first);
                    }
                    normalized.put(key, plugin);
                }
    
                if (plugins.size() != normalized.size()) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Collections2.java

      }
    
      /** Returns {@code true} if the second list is a permutation of the first. */
      private static boolean isPermutation(List<?> first, List<?> second) {
        if (first.size() != second.size()) {
          return false;
        }
        ObjectCountHashMap<?> firstCounts = counts(first);
        ObjectCountHashMap<?> secondCounts = counts(second);
        if (first.size() != second.size()) {
          return false;
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/SortedSetNavigationTester.java

      @CollectionSize.Require(ONE)
      public void testSingletonSetFirst() {
        assertEquals(a, sortedSet.first());
      }
    
      @CollectionSize.Require(ONE)
      public void testSingletonSetLast() {
        assertEquals(a, sortedSet.last());
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testFirst() {
        assertEquals(a, sortedSet.first());
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testLast() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/AbstractSequentialIteratorTest.java

        // We can't retrieve even the known first element:
        try {
          broken.next();
          fail();
        } catch (MyException expected) {
        }
        try {
          broken.next();
          fail();
        } catch (MyException expected) {
        }
      }
    
      private static Iterator<Integer> newDoubler(int first, final int last) {
        return new AbstractSequentialIterator<Integer>(first) {
          @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 17:19:08 GMT 2024
    - 4.7K bytes
    - Viewed (0)
Back to top