Java Random isRandomList(List list)

Here you can find the source of isRandomList(List list)

Description

is Random List

License

Open Source License

Declaration

private static boolean isRandomList(List<?> list) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import java.util.*;

public class Main {
    private static boolean isRandomList(List<?> list) {
        return (list instanceof RandomAccess);
    }/*w  ww.j a  v a  2s  .  c  o  m*/
}

Related

  1. getRandomObject()
  2. getRandomPort(int low, int high)
  3. getRandomRequestId(Integer serviceId)
  4. getRandomServices(int maxSize)
  5. getRandomUUID()
  6. medianHelper(List list, int k, Random r)
  7. multSample(Random rng, double[] vals, double normsum)
  8. permute(Object[] arr, Random random)
  9. rand()