Math2mat

/home/ythoma/docs/math2mat/svn/wp1/framework/m2mGUI/src/m2m/backend/buildingblocks/BuildingBlockIntUInt.java

Go to the documentation of this file.
00001 
00002 package m2m.backend.buildingblocks;
00003 
00010 public abstract class BuildingBlockIntUInt extends BuildingBlock {
00011 
00015         BuildingBlockIntUInt() {
00016                 m_size=16;
00017         }
00018         
00022         @Override
00023         public NumType numType() {
00024                 return NumType.INTUINT;
00025         }
00026     
00027 
00034         @Override
00035         public boolean useGenericSize() {
00036                 return true;
00037         }
00038         
00045         public boolean setSize(int size) {
00046                 if (m_size<0)
00047                         return false;
00048                 m_size = size;
00049                 return true;
00050         }
00051     
00055         protected int m_size;
00056 }
00057 
 All Classes Namespaces Files Functions Variables Enumerations