john pfeiffer
  • Home
  • Categories
  • Tags
  • Archives

Block

//2012-03-16 johnpfeiffer

class Block
{
    private static String id;
    private static int sizeInBytes;
    private static Sha1 sha1;

    Block( String identifier , int size )
    {
        this.id = identifier;
        this.sizeInBytes = size;
    }

    protected int getSize()
    {   return sizeInBytes;
    }

    protected String getId()
    {   return id;
    }

} //end class

  • « BlockTest
  • ResourceTest »

Published

Mar 17, 2012

Category

java-classes

~37 words

Tags

  • block 6
  • classes 92
  • java 252