annotate src/clojure/lang/Counted.java @ 10:ef7dbbd6452c

added clojure source goodness
author Robert McIntyre <rlm@mit.edu>
date Sat, 21 Aug 2010 06:25:44 -0400
parents
children
rev   line source
rlm@10 1 package clojure.lang;
rlm@10 2
rlm@10 3 /**
rlm@10 4 * Copyright (c) Rich Hickey. All rights reserved.
rlm@10 5 * The use and distribution terms for this software are covered by the
rlm@10 6 * Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
rlm@10 7 * which can be found in the file epl-v10.html at the root of this distribution.
rlm@10 8 * By using this software in any fashion, you are agreeing to be bound by
rlm@10 9 * the terms of this license.
rlm@10 10 * You must not remove this notice, or any other, from this software.
rlm@10 11 */
rlm@10 12
rlm@10 13 /* A class that implements Counted promises that it is a collection
rlm@10 14 * that implement a constant-time count() */
rlm@10 15
rlm@10 16 public interface Counted {
rlm@10 17 int count();
rlm@10 18 }