Back to project page elf.map.android.
The source code is released under:
This is free and unencumbered software released into the public domain. Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a co...
If you think the Android project elf.map.android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
/* * License: Public Domain//from w ww . j a va 2 s.c o m * Author: elf * EMail: elf198012@gmail.com */ package elf.map; public class Size{ public Size(){} public Size(long width, long height){ Set(width, height); } public Size(Size size){ Set(size.Width(), size.Height()); } public long Width(){ return _width; } public long Height(){ return _height; } public void SetWidth(long width){ this._width = width; } public void SetHeight(long height){ this._height = height; } public void Set(long width, long height){ SetWidth(width); SetHeight(height); } public void Set(Size size){ Set(size.Width(), size.Height()); } private long _width; private long _height; }