/** * Clears the buffer and resets all attributes. */ public void clear() { init(this.maxSize); }
/** * Instantiate a new CyclicBuffer of at most <code>maxSize</code> events. * * The <code>maxSize</code> argument must a positive integer. * * @param maxSize * The maximum number of elements in the buffer. */ public CyclicBuffer(int maxSize) throws IllegalArgumentException { if (maxSize < 1) { throw new IllegalArgumentException("The maxSize argument (" + maxSize + ") is not a positive integer."); } init(maxSize); }
/** * Clears the buffer and resets all attributes. */ public void clear() { init(this.maxSize); }
/** * Clears the buffer and resets all attributes. */ public void clear() { init(this.maxSize); }
/** * Clears the buffer and resets all attributes. */ public void clear() { init(this.maxSize); }
/** * Clears the buffer and resets all attributes. */ public void clear() { init(this.maxSize); }
/** * Clears the buffer and resets all attributes. */ public void clear() { init(this.maxSize); }
/** * Clears the buffer and resets all attributes. */ public void clear() { init(this.maxSize); }
/** * Clears the buffer and resets all attributes. */ public void clear() { init(this.maxSize); }
/** * Clears the buffer and resets all attributes. */ public void clear() { init(this.maxSize); }
/** * Instantiate a new CyclicBuffer of at most <code>maxSize</code> events. * * The <code>maxSize</code> argument must a positive integer. * * @param maxSize * The maximum number of elements in the buffer. */ public CyclicBuffer(int maxSize) throws IllegalArgumentException { if (maxSize < 1) { throw new IllegalArgumentException("The maxSize argument (" + maxSize + ") is not a positive integer."); } init(maxSize); }
/** * Instantiate a new CyclicBuffer of at most <code>maxSize</code> events. * * The <code>maxSize</code> argument must a positive integer. * * @param maxSize * The maximum number of elements in the buffer. */ public CyclicBuffer(int maxSize) throws IllegalArgumentException { if (maxSize < 1) { throw new IllegalArgumentException("The maxSize argument (" + maxSize + ") is not a positive integer."); } init(maxSize); }
/** * Instantiate a new CyclicBuffer of at most <code>maxSize</code> events. * * The <code>maxSize</code> argument must a positive integer. * * @param maxSize * The maximum number of elements in the buffer. */ public CyclicBuffer(int maxSize) throws IllegalArgumentException { if (maxSize < 1) { throw new IllegalArgumentException("The maxSize argument (" + maxSize + ") is not a positive integer."); } init(maxSize); }
/** * Instantiate a new CyclicBuffer of at most <code>maxSize</code> events. * * The <code>maxSize</code> argument must a positive integer. * * @param maxSize * The maximum number of elements in the buffer. */ public CyclicBuffer(int maxSize) throws IllegalArgumentException { if (maxSize < 1) { throw new IllegalArgumentException("The maxSize argument (" + maxSize + ") is not a positive integer."); } init(maxSize); }
/** * Instantiate a new CyclicBuffer of at most <code>maxSize</code> events. * * The <code>maxSize</code> argument must a positive integer. * * @param maxSize * The maximum number of elements in the buffer. */ public CyclicBuffer(int maxSize) throws IllegalArgumentException { if (maxSize < 1) { throw new IllegalArgumentException("The maxSize argument (" + maxSize + ") is not a positive integer."); } init(maxSize); }
/** * Instantiate a new CyclicBuffer of at most <code>maxSize</code> events. * * The <code>maxSize</code> argument must a positive integer. * * @param maxSize * The maximum number of elements in the buffer. */ public CyclicBuffer(int maxSize) throws IllegalArgumentException { if (maxSize < 1) { throw new IllegalArgumentException("The maxSize argument (" + maxSize + ") is not a positive integer."); } init(maxSize); }
/** * Instantiate a new CyclicBuffer of at most <code>maxSize</code> events. * * The <code>maxSize</code> argument must a positive integer. * * @param maxSize * The maximum number of elements in the buffer. */ public CyclicBuffer(int maxSize) throws IllegalArgumentException { if (maxSize < 1) { throw new IllegalArgumentException("The maxSize argument (" + maxSize + ") is not a positive integer."); } init(maxSize); }
/** * Instantiate a new CyclicBuffer of at most <code>maxSize</code> events. * * The <code>maxSize</code> argument must a positive integer. * * @param maxSize * The maximum number of elements in the buffer. */ public CyclicBuffer(int maxSize) throws IllegalArgumentException { if (maxSize < 1) { throw new IllegalArgumentException("The maxSize argument (" + maxSize + ") is not a positive integer."); } init(maxSize); }