com.caucho.quercus.env
Class CompiledConstStringValue

java.lang.Object
  extended by com.caucho.quercus.env.Value
      extended by com.caucho.quercus.env.StringValue
          extended by com.caucho.quercus.env.BinaryValue
              extended by com.caucho.quercus.env.StringBuilderValue
                  extended by com.caucho.quercus.env.ConstStringValue
                      extended by com.caucho.quercus.env.CompiledConstStringValue
All Implemented Interfaces:
ByteAppendable, java.io.Serializable, java.lang.CharSequence

public final class CompiledConstStringValue
extends ConstStringValue

Represents a StringValue that is never modified. For compiled code.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.caucho.quercus.env.ConstStringValue
EMPTY
 
Fields inherited from class com.caucho.quercus.env.StringValue
IS_DOUBLE, IS_LONG, IS_STRING, MIN_LENGTH
 
Fields inherited from class com.caucho.quercus.env.Value
L, NULL_ARGS, NULL_VALUE_ARRAY, SCALAR_V
 
Constructor Summary
CompiledConstStringValue(char ch, LongValue longValue, DoubleValue doubleValue, ValueType valueType, int hashCode)
           
CompiledConstStringValue(char ch, LongValue longValue, DoubleValue doubleValue, ValueType valueType, Value key, int hashCode)
           
CompiledConstStringValue(java.lang.String s)
           
CompiledConstStringValue(java.lang.String s, LongValue longValue, DoubleValue doubleValue, ValueType valueType, int hashCode)
           
CompiledConstStringValue(java.lang.String s, LongValue longValue, DoubleValue doubleValue, ValueType valueType, Value key, int hashCode)
           
CompiledConstStringValue(StringValue s)
           
 
Method Summary
 int hashCode()
          Returns the hash code.
 boolean isStatic()
           
 double toDouble()
          Converts to a double.
 long toLong()
          Converts to a long.
 
Methods inherited from class com.caucho.quercus.env.ConstStringValue
generate, getValueType, serialize, setDoubleValue, setKey, setLongValue, setString, setValueType, toDoubleValue, toKey, toLongValue, toString
 
Methods inherited from class com.caucho.quercus.env.StringBuilderValue
append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, appendByte, appendBytes, appendBytes, appendTo, appendTo, appendTo, appendTo, appendUnicode, appendUnicode, appendUnicode, appendUnicode, appendUtf8, charAt, charValueAt, copyStringBuilder, create, create, create, createStringBuilder, createStringBuilder, createStringBuilder, ensureAppendCapacity, ensureCapacity, eq, eql, equals, get, getBuffer, getBufferLength, getCrc32Value, getHashCode, getOffset, getOutputStream, getType, getValue, getValueType, hashCodeCaseInsensitive, indexOf, indexOf, indexOf, isEmpty, isPHP5String, isScalar, isset, length, print, print, put, regionMatches, regionMatchesIgnoreCase, setCharValueAt, setOffset, stringSubstring, subSequence, toBinaryValue, toBinaryValue, toBoolean, toBytes, toDebugString, toDouble, toInputStream, toJavaObject, toLowerCase, toStringBuilder, toStringBuilder, toStringBuilder, toStringBuilder, toUnicodeValue, toUnicodeValue, toUnicodeValue, toUpperCase, varDumpImpl, write, write, writeTo
 
Methods inherited from class com.caucho.quercus.env.BinaryValue
toBinaryValueMarshalCost
 
Methods inherited from class com.caucho.quercus.env.StringValue
add, append, append, append, append, append, appendBytes, appendBytes, appendRead, appendRead, appendReadAll, appendReadAll, appendReadAll, appendUnicode, appendUnicode, appendUnicode, appendUnicode, appendUnicode, appendUnicode, appendUnicode, appendUtf8, bitAnd, bitOr, bitXor, cmp, cmpString, convertToUnicode, create, create, endsWith, equalsIgnoreCase, getArg, getChars, getRawCharArray, increment, indexOf, isDoubleConvertible, isLongConvertible, isNumber, isNumeric, isString, jsonEncode, lastIndexOf, lastIndexOf, lastIndexOf, lastIndexOf, regionMatches, sub, substring, substring, toAutoArray, toAutoObject, toByteMarshalCost, toCallable, toCharArray, toCharArrayMarshalCost, toCharMarshalCost, toDouble, toDoubleMarshalCost, toFloatMarshalCost, toInputStream, toIntegerMarshalCost, toLong, toLongMarshalCost, toReader, toShortMarshalCost, toSimpleReader, toStringMarshalCost, toStringValue, toStringValue, toStringValueMarshalCost, toUnicode, valuesToArray, varExport
 
Methods inherited from class com.caucho.quercus.env.Value
abs, add, addOne, 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, checkPrivate, checkProtected, clone, containsKey, copy, copy, copy, copyArrayItem, copyReturn, copySaveFunArg, copyTree, current, div, div, end, eqValue, findFunction, geq, getArray, getArray, getBaseIterator, getCallableName, getCalledClass, getClassName, getCount, getCountRecursive, getDirty, getField, getFieldArg, getFieldArgRef, getFieldArray, getFieldObject, getFieldVar, 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, isDouble, isFieldInit, isLong, isNull, isNumberConvertible, isObject, isResource, isset, issetField, issetThisField, isUnicode, isVar, key, keyExists, leq, lshift, lt, mod, mul, mul, neg, next, nextIndex, pop, pos, postdecr, postincr, postincr, predecr, preincr, preincr, prev, printDepth, printJavaChar, printJavaString, printR, printRImpl, put, put, putField, putField, putField, putObject, putThisField, putThisField, putVar, remove, reset, rshift, serialize, set, setFieldInit, setJavaObject, shuffle, sub_rev, sub, subOne, toArgRef, toArray, toArrayValue, toBigDecimal, toBigInteger, toBinaryValue, toBooleanMarshalCost, toByteArrayMarshalCost, toChar, toException, 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, toUnicodeValueMarshalCost, toValue, toVar, unsetArray, unsetField, unsetThisArray, unsetThisField, varDump
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CompiledConstStringValue

public CompiledConstStringValue(StringValue s)

CompiledConstStringValue

public CompiledConstStringValue(java.lang.String s)

CompiledConstStringValue

public CompiledConstStringValue(char ch,
                                LongValue longValue,
                                DoubleValue doubleValue,
                                ValueType valueType,
                                Value key,
                                int hashCode)

CompiledConstStringValue

public CompiledConstStringValue(char ch,
                                LongValue longValue,
                                DoubleValue doubleValue,
                                ValueType valueType,
                                int hashCode)

CompiledConstStringValue

public CompiledConstStringValue(java.lang.String s,
                                LongValue longValue,
                                DoubleValue doubleValue,
                                ValueType valueType,
                                Value key,
                                int hashCode)

CompiledConstStringValue

public CompiledConstStringValue(java.lang.String s,
                                LongValue longValue,
                                DoubleValue doubleValue,
                                ValueType valueType,
                                int hashCode)
Method Detail

isStatic

public boolean isStatic()
Overrides:
isStatic in class ConstStringValue

toLong

public long toLong()
Converts to a long.

Overrides:
toLong in class ConstStringValue

toDouble

public double toDouble()
Converts to a double.

Overrides:
toDouble in class ConstStringValue

hashCode

public final int hashCode()
Description copied from class: StringBuilderValue
Returns the hash code.

Overrides:
hashCode in class StringBuilderValue