Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for colonne (0.16 sec)

  1. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

          oos.writeObject(o);
          oos.flush();
          oos.close();
          ObjectInputStream ois = new ObjectInputStream(new ByteArrayInputStream(bos.toByteArray()));
          T clone = (T) ois.readObject();
          assertSame(o.getClass(), clone.getClass());
          return clone;
        } catch (Throwable t) {
          threadUnexpectedException(t);
          return null;
        }
      }
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

       * @since 3.0
       */
      public static <E extends Comparable<? super E>> ImmutableSortedSet<E> copyOf(E[] elements) {
        return construct(Ordering.natural(), elements.length, elements.clone());
      }
    
      /**
       * Returns an immutable sorted set containing the given elements sorted by their natural ordering.
       * When multiple elements are equivalent according to {@code compareTo()}, only the first one
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableList.java

        switch (elements.length) {
          case 0:
            return of();
          case 1:
            return of(elements[0]);
          default:
            return construct(elements.clone());
        }
      }
    
      /**
       * Returns an immutable list containing the given elements, sorted according to their natural
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 30K bytes
    - Viewed (1)
  4. guava/src/com/google/common/collect/ImmutableEnumSet.java

        }
      }
    
      /*
       * Notes on EnumSet and <E extends Enum<E>>:
       *
       * This class isn't an arbitrary ForwardingImmutableSet because we need to
       * know that calling {@code clone()} during deserialization will return an
       * object that no one else has a reference to, allowing us to guarantee
       * immutability. Hence, we support only {@link EnumSet}.
       */
      private final transient EnumSet<E> delegate;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/MinimalCollection.java

      MinimalCollection(Class<? super @NonNull E> type, boolean allowNulls, E... contents) {
        // TODO: consider making it shuffle the contents to test iteration order.
        this.contents = Platform.clone(contents);
        this.type = type;
        this.allowNulls = allowNulls;
    
        if (!allowNulls) {
          for (Object element : contents) {
            if (element == null) {
              throw new NullPointerException();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

          oos.writeObject(o);
          oos.flush();
          oos.close();
          ObjectInputStream ois = new ObjectInputStream(new ByteArrayInputStream(bos.toByteArray()));
          T clone = (T) ois.readObject();
          assertSame(o.getClass(), clone.getClass());
          return clone;
        } catch (Throwable t) {
          threadUnexpectedException(t);
          return null;
        }
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/reflect/TypesTest.java

            .asList()
            .containsExactlyElementsIn(asList(expected.getBounds()))
            .inOrder();
      }
    
      /**
       * Working with arrays requires defensive code. Verify that we clone the type array for both input
       * and output.
       */
      public void testNewParameterizedTypeImmutability() {
        Type[] typesIn = {String.class, Integer.class};
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableSet.java

          this.expandTableThreshold = 0;
        }
    
        RegularSetBuilderImpl(RegularSetBuilderImpl<E> toCopy) {
          super(toCopy);
          this.hashTable = (toCopy.hashTable == null) ? null : toCopy.hashTable.clone();
          this.maxRunBeforeFallback = toCopy.maxRunBeforeFallback;
          this.expandTableThreshold = toCopy.expandTableThreshold;
          this.hashCode = toCopy.hashCode;
        }
    
        @Override
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 35.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/BaseEncoding.java

        }
    
        /** Returns an equivalent {@code Alphabet} except it ignores case. */
        Alphabet ignoreCase() {
          if (ignoreCase) {
            return this;
          }
    
          // We can't use .clone() because of GWT.
          byte[] newDecodabet = Arrays.copyOf(decodabet, decodabet.length);
          for (int upper = 'A'; upper <= 'Z'; upper++) {
            int lower = upper | 0x20;
            byte decodeUpper = decodabet[upper];
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Mar 15 16:33:32 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/cache/LocalCache.java

                    tailIndex = newIndex;
                    tail = e;
                  }
                }
                newTable.set(tailIndex, tail);
    
                // Clone nodes leading up to the tail.
                for (ReferenceEntry<K, V> e = head; e != tail; e = e.getNext()) {
                  int newIndex = e.getHash() & newMask;
                  ReferenceEntry<K, V> newNext = newTable.get(newIndex);
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
Back to top