1 /*
2  * Copyright (c) 2013, 2021, Oracle and/or its affiliates. All rights reserved.
3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4  *
5  * This code is free software; you can redistribute it and/or modify it
6  * under the terms of the GNU General Public License version 2 only, as
7  * published by the Free Software Foundation.  Oracle designates this
8  * particular file as subject to the "Classpath" exception as provided
9  * by Oracle in the LICENSE file that accompanied this code.
10  *
11  * This code is distributed in the hope that it will be useful, but WITHOUT
12  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
14  * version 2 for more details (a copy is included in the LICENSE file that
15  * accompanied this code).
16  *
17  * You should have received a copy of the GNU General Public License version
18  * 2 along with this work; if not, write to the Free Software Foundation,
19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20  *
21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22  * or visit www.oracle.com if you need additional information or have any
23  * questions.
24  */
25 
26 package java.util;
27 
28 @SuppressWarnings({"unchecked", "deprecation", "all"})
29 public final class SplittableRandom implements java.util.random.RandomGenerator, java.util.random.RandomGenerator.SplittableGenerator {
30 
SplittableRandom(long seed)31 public SplittableRandom(long seed) { throw new RuntimeException("Stub!"); }
32 
SplittableRandom()33 public SplittableRandom() { throw new RuntimeException("Stub!"); }
34 
split()35 public java.util.SplittableRandom split() { throw new RuntimeException("Stub!"); }
36 
37 @android.annotation.FlaggedApi(com.android.libcore.Flags.FLAG_V_APIS)
split(java.util.random.RandomGenerator.SplittableGenerator source)38 public java.util.SplittableRandom split(java.util.random.RandomGenerator.SplittableGenerator source) { throw new RuntimeException("Stub!"); }
39 
nextInt()40 public int nextInt() { throw new RuntimeException("Stub!"); }
41 
nextLong()42 public long nextLong() { throw new RuntimeException("Stub!"); }
43 
nextBytes(byte[] bytes)44 public void nextBytes(byte[] bytes) { throw new RuntimeException("Stub!"); }
45 
46 @android.annotation.FlaggedApi(com.android.libcore.Flags.FLAG_V_APIS)
splits()47 public java.util.stream.Stream<java.util.random.RandomGenerator.SplittableGenerator> splits() { throw new RuntimeException("Stub!"); }
48 
49 @android.annotation.FlaggedApi(com.android.libcore.Flags.FLAG_V_APIS)
splits(long streamSize)50 public java.util.stream.Stream<java.util.random.RandomGenerator.SplittableGenerator> splits(long streamSize) { throw new RuntimeException("Stub!"); }
51 
52 @android.annotation.FlaggedApi(com.android.libcore.Flags.FLAG_V_APIS)
splits(java.util.random.RandomGenerator.SplittableGenerator source)53 public java.util.stream.Stream<java.util.random.RandomGenerator.SplittableGenerator> splits(java.util.random.RandomGenerator.SplittableGenerator source) { throw new RuntimeException("Stub!"); }
54 
55 @android.annotation.FlaggedApi(com.android.libcore.Flags.FLAG_V_APIS)
splits(long streamSize, java.util.random.RandomGenerator.SplittableGenerator source)56 public java.util.stream.Stream<java.util.random.RandomGenerator.SplittableGenerator> splits(long streamSize, java.util.random.RandomGenerator.SplittableGenerator source) { throw new RuntimeException("Stub!"); }
57 
ints(long streamSize)58 public java.util.stream.IntStream ints(long streamSize) { throw new RuntimeException("Stub!"); }
59 
ints()60 public java.util.stream.IntStream ints() { throw new RuntimeException("Stub!"); }
61 
ints(long streamSize, int randomNumberOrigin, int randomNumberBound)62 public java.util.stream.IntStream ints(long streamSize, int randomNumberOrigin, int randomNumberBound) { throw new RuntimeException("Stub!"); }
63 
ints(int randomNumberOrigin, int randomNumberBound)64 public java.util.stream.IntStream ints(int randomNumberOrigin, int randomNumberBound) { throw new RuntimeException("Stub!"); }
65 
longs(long streamSize)66 public java.util.stream.LongStream longs(long streamSize) { throw new RuntimeException("Stub!"); }
67 
longs()68 public java.util.stream.LongStream longs() { throw new RuntimeException("Stub!"); }
69 
longs(long streamSize, long randomNumberOrigin, long randomNumberBound)70 public java.util.stream.LongStream longs(long streamSize, long randomNumberOrigin, long randomNumberBound) { throw new RuntimeException("Stub!"); }
71 
longs(long randomNumberOrigin, long randomNumberBound)72 public java.util.stream.LongStream longs(long randomNumberOrigin, long randomNumberBound) { throw new RuntimeException("Stub!"); }
73 
doubles(long streamSize)74 public java.util.stream.DoubleStream doubles(long streamSize) { throw new RuntimeException("Stub!"); }
75 
doubles()76 public java.util.stream.DoubleStream doubles() { throw new RuntimeException("Stub!"); }
77 
doubles(long streamSize, double randomNumberOrigin, double randomNumberBound)78 public java.util.stream.DoubleStream doubles(long streamSize, double randomNumberOrigin, double randomNumberBound) { throw new RuntimeException("Stub!"); }
79 
doubles(double randomNumberOrigin, double randomNumberBound)80 public java.util.stream.DoubleStream doubles(double randomNumberOrigin, double randomNumberBound) { throw new RuntimeException("Stub!"); }
81 }
82 
83