📄 constraint.java
字号:
/* Copyright (c) 2000-2004 jMock.org
*/
package org.jmock.core;
/**
* A constraint over acceptable values.
*/
public interface Constraint extends SelfDescribing
{
/**
* Evaluates the constraint for argument <var>o</var>.
*
* @param o the object against which the constraint is evaluated.
* @return <code>true</code> if <var>o</var> meets the constraint,
* <code>false</code> if it does not.
*/
boolean eval( Object o );
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -