Package algs14

Class XPerformanceOfArrays

java.lang.Object
algs14.XPerformanceOfArrays

public class XPerformanceOfArrays extends Object
  • Field Details

    • a

      private double[] a
    • N

      private int N
    • ops

      private static long ops
    • SHOW

      private static boolean SHOW
  • Constructor Details

  • Method Details

    • resize

      private void resize(int capacity)
    • push

      public void push(double item)
    • main

      public static void main(String[] args)
    • timeTrial

      public static double timeTrial(int N)