com.caucho.quercus.env
Class LongCacheValue

java.lang.Object
  extended by com.caucho.quercus.env.Value
      extended by com.caucho.quercus.env.NumberValue
          extended by com.caucho.quercus.env.LongValue
              extended by com.caucho.quercus.env.LongCacheValue
All Implemented Interfaces:
java.io.Serializable

public class LongCacheValue
extends LongValue

Represents a PHP long value.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.caucho.quercus.env.LongValue
MINUS_ONE, ONE, STATIC_MAX, STATIC_MIN, STATIC_VALUES, ZERO
 
Fields inherited from class com.caucho.quercus.env.Value
L, NULL_ARGS, NULL_VALUE_ARRAY, SCALAR_V
 
Constructor Summary
LongCacheValue(long value, LongValue next)
           
 
Method Summary
 Value addOne()
          Returns the next integer
 Value postdecr()
          Post-decrement the following value.
 Value postincr()
          Post-increment the following value.
 Value predecr()
          Pre-increment the following value.
 Value preincr()
          Pre-increment the following value.
 Value subOne()
          Returns the previous integer
 
Methods inherited from class com.caucho.quercus.env.LongValue
abs, add, add, appendTo, appendTo, appendTo, appendTo, cmp, create, create, eql, equals, generate, getType, getValueType, hashCode, increment, isDouble, isEmpty, isLong, isLongConvertible, isNumeric, isScalar, neg, nextIndex, pos, print, serialize, sub, sub, toBoolean, toByteMarshalCost, toDouble, toDoubleMarshalCost, toIntegerMarshalCost, toJavaObject, toKey, toLong, toLongMarshalCost, toLongValue, toObject, toShortMarshalCost, toString, toStringBuilder, varDumpImpl, varExport
 
Methods inherited from class com.caucho.quercus.env.NumberValue
compareNum, jsonEncode
 
Methods inherited from class com.caucho.quercus.env.Value
append, bitAnd, bitOr, bitXor, call, call, call, call, call, call, call, callCopy, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callRef, callRef, callRef, callRef, callRef, callRef, callRef, charValueAt, checkPrivate, checkProtected, clone, containsKey, copy, copy, copy, copyArrayItem, copyReturn, copySaveFunArg, copyStringBuilder, copyTree, current, div, div, end, eq, eqValue, findFunction, geq, get, getArg, getArray, getArray, getBaseIterator, getCallableName, getCalledClass, getClassName, getCount, getCountRecursive, getDirty, getField, getFieldArg, getFieldArgRef, getFieldArray, getFieldObject, getFieldVar, getHashCode, getIterator, getKeyArray, getKeyIterator, getObject, getObject, getQuercusClass, getRef, getResourceType, getSize, getThisField, getThisFieldArg, getThisFieldArgRef, getThisFieldArray, getThisFieldObject, getThisFieldVar, getValueArray, getValueIterator, getVar, gt, hasCurrent, initField, isA, isA, isArray, isBinary, isBoolean, isCallable, isDefault, isDoubleConvertible, isFieldInit, isNull, isNumberConvertible, isObject, isResource, isset, isset, issetField, issetThisField, isString, isUnicode, isVar, key, keyExists, length, leq, lshift, lt, mod, mul, mul, next, pop, postincr, preincr, prev, print, printDepth, printJavaChar, printJavaString, printR, printRImpl, put, put, put, putField, putField, putField, putObject, putThisField, putThisField, putVar, remove, reset, rshift, serialize, set, setCharValueAt, setFieldInit, setJavaObject, shuffle, sub_rev, toArgRef, toArray, toArrayValue, toAutoArray, toAutoObject, toBigDecimal, toBigInteger, toBinaryValue, toBinaryValue, toBinaryValue, toBinaryValueMarshalCost, toBooleanMarshalCost, toByteArrayMarshalCost, toCallable, toChar, toCharArrayMarshalCost, toCharMarshalCost, toDebugString, toDoubleValue, toException, toFloatMarshalCost, toInputStream, toInt, toInternString, toJavaBoolean, toJavaByte, toJavaCalendar, toJavaCharacter, toJavaCollection, toJavaDate, toJavaDouble, toJavaFloat, toJavaInteger, toJavaList, toJavaLong, toJavaMap, toJavaObject, toJavaObjectMarshalCost, toJavaObjectNotNull, toJavaShort, toJavaString, toJavaURL, toLocalRef, toLocalThis, toLocalValue, toLocalValueReadOnly, toLocalVar, toLocalVarDeclAsRef, toObject, toRef, toRefValue, toString, toStringBuilder, toStringBuilder, toStringBuilder, toStringMarshalCost, toStringValue, toStringValue, toStringValueMarshalCost, toUnicode, toUnicodeValue, toUnicodeValue, toUnicodeValueMarshalCost, toValue, toVar, unsetArray, unsetField, unsetThisArray, unsetThisField, valuesToArray, varDump
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LongCacheValue

public LongCacheValue(long value,
                      LongValue next)
Method Detail

addOne

public Value addOne()
Returns the next integer

Overrides:
addOne in class LongValue

subOne

public Value subOne()
Returns the previous integer

Overrides:
subOne in class LongValue

preincr

public Value preincr()
Pre-increment the following value.

Overrides:
preincr in class LongValue

predecr

public Value predecr()
Pre-increment the following value.

Overrides:
predecr in class LongValue

postincr

public Value postincr()
Post-increment the following value.

Overrides:
postincr in class LongValue

postdecr

public Value postdecr()
Post-decrement the following value.

Overrides:
postdecr in class LongValue