用来判断某点是否在矩形内http://www.javayou.com
解决方案 »
- java io 读入文件 怎么过滤特殊字符
- 程序加入SQL数据库包后,打包无法运行。
- 玩过robocode的大大进来``
- 如何在Tomcat中增加自定义参数
- 这段代码执行后的结果是什么?为什么?关于java中按值传递的问题!!
- 谁能给我解释下Singleton啊...
- HTTP服务器的模拟程序:怎么判断客户机传送过来的数据已经完毕啊??
- 请教Java基本类库中ResourceBundle的getBundleImpl(String baseName, Locale locale,ClassLoader loader)的实现
- 快要大四毕业了,请问哪位大虾能为我的毕业论文找个题目,关于Java的?
- 谢谢各位大神
- "sun.io.MalformedInputException"异常?
- 关于《Thinking in Java》隐藏实现细目的一道题
public boolean contains(Point2D p)
Tests if a specified Point2D lies inside the boundary of the this Area object. Specified by:
contains in interface Shape
Parameters:
p - the Point2D to test
Returns:
true if the specified Point2D lies completely within the interior of the Area; false otherwise.