Mercurial > lasercutter
comparison 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 |
comparison
equal
deleted
inserted
replaced
9:35cf337adfcf | 10:ef7dbbd6452c |
---|---|
1 package clojure.lang; | |
2 | |
3 /** | |
4 * Copyright (c) Rich Hickey. All rights reserved. | |
5 * The use and distribution terms for this software are covered by the | |
6 * Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) | |
7 * which can be found in the file epl-v10.html at the root of this distribution. | |
8 * By using this software in any fashion, you are agreeing to be bound by | |
9 * the terms of this license. | |
10 * You must not remove this notice, or any other, from this software. | |
11 */ | |
12 | |
13 /* A class that implements Counted promises that it is a collection | |
14 * that implement a constant-time count() */ | |
15 | |
16 public interface Counted { | |
17 int count(); | |
18 } |