Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public SimpleObject() {
- this.number = minimum + (int)(Math.random()* maximum);
- this.id = this.number;
- this.partitionAffinityKey = this.number % SimpleObject.MODULUS_VALUE;
- this.cluster = (int)(Math.random() * groupMaximum);
- this.word = (number % 2 == 0 ? "orange":"cat");
- this.sentence = "apple pie tastes good";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement