code: public static Map<Percentage, Long> percentiles(final long[] sortedArray) {
          N.checkArgNotNullOrEmpty(sortedArray, "The spcified 'sortedArray' can not be null or empty");
  
          final int len = sortedArray.length;
          final Map<Percentage, Long> m = new LinkedHashMap<>(N.initHashCapacity(Percentage.values().length));
  
          for (Percentage p : Percentage.values()) {
              m.put(p, sortedArray[(int) (len * p.doubleValue())]);
          }
  
          return ImmutableMap.of(m);
      }
docs: Returns the elements at: <code>Percentage</code> * length of the specified array.
  
  @param sortedArray
  @return
  @throws IllegalArgumentException if the specified <code>sortedArray</code> is null or empty.