001 // Copyright 2009 Waterken Inc. under the terms of the MIT X license 002 // found at http://www.opensource.org/licenses/mit-license.html 003 package org.waterken.bang; 004 005 import java.io.Serializable; 006 007 import org.joe_e.Struct; 008 009 /** 010 * A {@link Drum} factory. 011 */ 012 public final class 013 DrumFactory extends Struct implements Serializable { 014 static private final long serialVersionUID = 1L; 015 016 private 017 DrumFactory() {} 018 019 /** 020 * Constructs an instance. 021 */ 022 static public DrumFactory 023 make() { return new DrumFactory(); } 024 025 /** 026 * Constructs a drum. 027 */ 028 public Drum 029 makeDrum() { return Bang.make(); } 030 }