
org.divxdede.commons.Sizable Maven / Gradle / Ivy
/*
* Copyright (c) 2010 ANDRE S?bastien (divxdede). All rights reserved.
* Sizable.java is a part of this Commons library
* ====================================================================
*
* Commons library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation, either version 3 of the License,
* or any later version.
*
* This is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, see .
*/
package org.divxdede.commons;
/**
* General interface describing any container
objects that can have a size semantics.
*
* @author Andr? S?bastien (divxdede)
*/
public interface Sizable {
/** Return this current size of this object.
* @return Current size of this object
*/
public int size() ;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy