本文整理了Java中php.runtime.Memory.smallerEq()
方法的一些代码示例,展示了Memory.smallerEq()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Memory.smallerEq()
方法的具体详情如下:
包路径:php.runtime.Memory
类名称:Memory
方法名:smallerEq
暂无
代码示例来源:origin: jphp-group/jphp
@Override
public Memory calc(Environment env, TraceInfo trace, Memory o1, Memory o2) {
return o1.smallerEq(o2) ? Memory.TRUE : Memory.FALSE;
}
}
代码示例来源:origin: jphp-group/jphp
@Override
public boolean greaterEq(Memory memory) {
return memory.smallerEq(this);
}
代码示例来源:origin: jphp-group/jphp
@Override
public boolean greaterEq(Memory memory) {
return memory.smallerEq(this);
}
代码示例来源:origin: jphp-group/jphp
public boolean greaterRight(double value) { return this.smallerEq(value); }
public boolean greaterRight(boolean value) { return this.smallerEq(value); }
代码示例来源:origin: jphp-group/jphp
public boolean greaterRight(boolean value) { return this.smallerEq(value); }
public boolean greaterRight(String value) { return this.smallerEq(value); }
代码示例来源:origin: jphp-group/jphp
public boolean smallerEqRight(Memory value) { return value.smallerEq(this); }
public boolean smallerEqRight(long value) { return this.greater(value); }
代码示例来源:origin: jphp-group/jphp
public boolean greaterRight(long value) { return this.smallerEq(value); }
public boolean greaterRight(double value) { return this.smallerEq(value); }
代码示例来源:origin: jphp-group/jphp
public boolean greaterRight(String value) { return this.smallerEq(value); }
代码示例来源:origin: jphp-group/jphp
@Override
public boolean smallerEq(double value) {
return this.getValue().smallerEq(value);
}
代码示例来源:origin: jphp-group/jphp
@Override
public boolean smallerEq(String value) {
return this.getValue().smallerEq(value);
}
代码示例来源:origin: jphp-group/jphp
@Override
public boolean smallerEq(long value) {
return this.getValue().smallerEq(value);
}
代码示例来源:origin: jphp-group/jphp
@Override
public boolean smallerEq(boolean value) {
return this.getValue().smallerEq(value);
}
代码示例来源:origin: jphp-group/jphp
@Override
public boolean smallerEq(Memory memory) {
return getValue().smallerEq(memory);
}
代码示例来源:origin: jphp-group/jphp
public boolean smallerEq(String value) { return this.smallerEq(StringMemory.toNumeric(value)); }
代码示例来源:origin: jphp-group/jphp
@Override
public boolean smallerEq(Memory memory) {
switch (memory.type){
case STRING: return toString().compareTo(memory.toString()) <= 0;
case REFERENCE: return smaller(memory.toValue());
}
return toNumeric().smallerEq(memory);
}
内容来源于网络,如有侵权,请联系作者删除!