php.runtime.Memory.smallerEq()方法的使用及代码示例

x33g5p2x  于2022-01-25 转载在 其他  
字(2.3k)|赞(0)|评价(0)|浏览(117)

本文整理了Java中php.runtime.Memory.smallerEq()方法的一些代码示例,展示了Memory.smallerEq()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Memory.smallerEq()方法的具体详情如下:
包路径:php.runtime.Memory
类名称:Memory
方法名:smallerEq

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);
}

相关文章