Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 8,503 for copyOf (0.56 sec)

  1. android/guava-tests/test/com/google/common/io/TestByteSource.java

      private boolean inputStreamOpened;
      private boolean inputStreamClosed;
    
      TestByteSource(byte[] bytes, TestOption... options) {
        this.bytes = checkNotNull(bytes);
        this.options = ImmutableSet.copyOf(options);
      }
    
      @Override
      public boolean wasStreamOpened() {
        return inputStreamOpened;
      }
    
      @Override
      public boolean wasStreamClosed() {
        return inputStreamClosed;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Apr 21 02:27:51 UTC 2017
    - 1.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/AllEqualOrdering.java

        return Lists.newArrayList(iterable);
      }
    
      @Override
      public <E> ImmutableList<E> immutableSortedCopy(Iterable<E> iterable) {
        return ImmutableList.copyOf(iterable);
      }
    
      @SuppressWarnings("unchecked")
      @Override
      public <S extends @Nullable Object> Ordering<S> reverse() {
        return (Ordering<S>) this;
      }
    
      private Object readResolve() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 19:24:26 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/TestByteSource.java

      private boolean inputStreamOpened;
      private boolean inputStreamClosed;
    
      TestByteSource(byte[] bytes, TestOption... options) {
        this.bytes = checkNotNull(bytes);
        this.options = ImmutableSet.copyOf(options);
      }
    
      @Override
      public boolean wasStreamOpened() {
        return inputStreamOpened;
      }
    
      @Override
      public boolean wasStreamClosed() {
        return inputStreamClosed;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Sep 15 13:47:32 UTC 2016
    - 1.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/AllEqualOrdering.java

        return Lists.newArrayList(iterable);
      }
    
      @Override
      public <E> ImmutableList<E> immutableSortedCopy(Iterable<E> iterable) {
        return ImmutableList.copyOf(iterable);
      }
    
      @SuppressWarnings("unchecked")
      @Override
      public <S extends @Nullable Object> Ordering<S> reverse() {
        return (Ordering<S>) this;
      }
    
      private Object readResolve() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 19:24:26 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/TestOutputStream.java

        this(out, Arrays.asList(options));
      }
    
      public TestOutputStream(OutputStream out, Iterable<TestOption> options) throws IOException {
        super(checkNotNull(out));
        this.options = ImmutableSet.copyOf(options);
        throwIf(OPEN_THROWS);
      }
    
      public boolean closed() {
        return closed;
      }
    
      @Override
      public void write(byte[] b, int off, int len) throws IOException {
        throwIf(closed);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/TestInputStream.java

        this(in, Arrays.asList(options));
      }
    
      public TestInputStream(InputStream in, Iterable<TestOption> options) throws IOException {
        super(checkNotNull(in));
        this.options = ImmutableSet.copyOf(options);
        throwIf(OPEN_THROWS);
      }
    
      public boolean closed() {
        return closed;
      }
    
      @Override
      public int read() throws IOException {
        throwIf(closed);
        throwIf(READ_THROWS);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

      private static void testReverse(float[] input, float[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        Floats.reverse(input);
        assertThat(input).isEqualTo(expectedOutput);
      }
    
      private static void testReverse(
          float[] input, int fromIndex, int toIndex, float[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        Floats.reverse(input, fromIndex, toIndex);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/IntsTest.java

      }
    
      private static void testReverse(int[] input, int[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        Ints.reverse(input);
        assertThat(input).isEqualTo(expectedOutput);
      }
    
      private static void testReverse(int[] input, int fromIndex, int toIndex, int[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        Ints.reverse(input, fromIndex, toIndex);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/primitives/DoublesTest.java

      private static void testReverse(double[] input, double[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        Doubles.reverse(input);
        assertThat(input).isEqualTo(expectedOutput);
      }
    
      private static void testReverse(
          double[] input, int fromIndex, int toIndex, double[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        Doubles.reverse(input, fromIndex, toIndex);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/primitives/FloatsTest.java

      private static void testReverse(float[] input, float[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        Floats.reverse(input);
        assertThat(input).isEqualTo(expectedOutput);
      }
    
      private static void testReverse(
          float[] input, int fromIndex, int toIndex, float[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        Floats.reverse(input, fromIndex, toIndex);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 30.3K bytes
    - Viewed (0)
Back to top