com.cyc.tool.subl.jrtl.nativeCode.type.core
Interface SubLObject
- All Superinterfaces:
- java.lang.Cloneable
- All Known Subinterfaces:
- SubLBignum, SubLBoolean, SubLCons, SubLFloat, SubLFunction, SubLInOutBinaryStream, SubLInOutTextStream, SubLInputBinaryStream, SubLInputStream, SubLInputTextStream, SubLInteger, SubLList, SubLNumber, SubLOperator, SubLOutputBinaryStream, SubLOutputStream, SubLOutputTextStream, SubLSequence, SubLStream, SubLStruct, SubLSymbol
- All Known Implementing Classes:
- AbstractRandomAccessSubLStream, AbstractSubLArraySequence, AbstractSubLBinaryStream, AbstractSubLFloat, AbstractSubLFunction, AbstractSubLInteger, AbstractSubLIntegerBignum, AbstractSubLList, AbstractSubLNumber, AbstractSubLObject, AbstractSubLOperator, AbstractSubLSequence, AbstractSubLStream, AbstractSubLStruct, AbstractSubLSymbol, AbstractSubLTextStream, accumulation.$accumulator_native, arg_type.$arg_constraint_native, assertion_handles.$assertion_native, assertions_low.$assertion_content_native, bag.$bag_native, balancing_tactician.$balancing_tactician_data_native, bijection.$bijection_native, binary_tree.$avl_tree_native, binary_tree.$avl_tree_node_native, binary_tree.$btree_native, cache_utilities.$cache_metrics_native, cache_utilities.$metered_cache_native, cache_utilities.$recording_cache_strategy_facade_native, cache.$cache_entry_native, cache.$cache_native, cfasl.$cfasl_count_stream_native, cfasl.$cfasl_decoding_stream_native, cfasl.$cfasl_encoding_stream_native, clause_strucs.$clause_struc_native, constant_handles.$constant_native, cyc_testing.$cyc_test_file_native, cyc_testing.$cyc_test_native, cycl_query_specification.$cycl_query_specification_native, cycml_generator.$cycml_kp_info_native, czer_graph.$arc_native, czer_graph.$graph_search_node_native, czer_graph.$v_colour_native, czer_graph.$vertex_native, deck.$deck_native, deduction_handles.$deduction_native, deductions_low.$deduction_content_native, dictionary_utilities.$synchronized_dictionary_native, dictionary.$dictionary_native, evaluatable_relation_tests.$evaluatable_relation_test_native, file_backed_cache_setup.$file_backed_cache_registration_native, file_backed_cache.$file_backed_cache_native, file_hash_table.$fast_create_fht_native, file_hash_table.$fast_fht_keystream_sorter_native, file_hash_table.$fht_serialization_entry_native, file_hash_table.$file_hash_table_native, file_hash_table.$htfile_file_block_entry_native, file_hash_table.$htfile_header_native, file_hash_table.$htfile_key_entry_native, file_hash_table.$htfile_object_entry_native, file_translation.$trans_subl_file_native, file_vector_utilities.$backed_map_native, file_vector_utilities.$file_vector_reference_native, file_vector.$fvector_native, finite_state_transducer.$finite_state_transducer_native, formula_templates.$arg_position_details_native, formula_templates.$formula_template_native, formula_templates.$template_topic_native, forts.$fort_id_index_native, fraction_utilities.$fraction_native, generic_testing.$generic_test_case_table_native, ghl_search_vars.$ghl_search_native, glob.$glob_native, graphic_library_format.$glf_arc_native, graphic_library_format.$glf_graph_native, graphic_library_format.$glf_node_native, graphic_library_format.$glf_rendering_native, graphl_search_vars.$graphl_search_native, guardian.$guardian_request_native, heap.$heap_impl_native, heap.$heap_test_example_native, hierarchical_visitor.$hierarchical_visitor_native, id_index.$id_index_native, inference_balanced_tactician_datastructures.$balanced_strategy_data_native, inference_datastructures_forward_propagate.$forward_propagate_native, inference_datastructures_inference.$inference_answer_justification_native, inference_datastructures_inference.$inference_answer_native, inference_datastructures_inference.$inference_native, inference_datastructures_problem_link.$mapped_problem_native, inference_datastructures_problem_link.$problem_link_native, inference_datastructures_problem_store.$problem_store_janitor_native, inference_datastructures_problem_store.$problem_store_native, inference_datastructures_problem.$problem_native, inference_datastructures_proof.$proof_native, inference_datastructures_strategy.$problem_strategic_properties_native, inference_datastructures_strategy.$strategy_native, inference_datastructures_strategy.$tactic_strategic_properties_native, inference_datastructures_tactic.$tactic_native, inference_metrics.$inference_metric_native, inference_modules.$hl_module_native, inference_unit_tests.$inference_unit_test_native, inference_worker_join_ordered.$join_ordered_link_data_native, inference_worker_join.$join_link_data_native, inference_worker_removal.$removal_link_data_native, inference_worker_restriction.$restriction_link_data_native, inference_worker_restriction.$restriction_listening_link_data_native, inference_worker_rewrite.$rewrite_link_data_native, inference_worker_transformation.$transformation_link_data_native, integer_sequence_generator.$integer_sequence_generator_native, interval_span.$interval_span_native, InvalidSubLExpressionException, iteration.$iterator_native, kb_compare.$kb_difference_native, kb_compare.$kb_intersection_native, kb_hl_supports.$kb_hl_support_content_native, kb_hl_supports.$kb_hl_support_native, kb_object_manager.$kb_object_manager_native, kbq_query_run.$kbq_runstate_native, kbq_query_run.$kct_runstate_native, kbq_query_run.$kct_set_runstate_native, keyhash.$keyhash_native, lucene_session.$lucene_session_native, mail_message.$message_native, mail_message.$message_part_native, memoization_state.$caching_state_native, memoization_state.$memoization_state_native, modules.$module_native, modules.$system_native, nart_handles.$nart_native, neural_net.$neural_net_native, neural_net.$nn_input_node_native, new_cycl_query_specification.$new_cycl_query_specification_native, new_root_tactician_datastructures.$new_root_strategy_data_native, os_process_utilities.$os_process_impl_native, pred_relevance_macros.$pred_info_object_native, preference_modules.$preference_module_native, process_utilities.$ipc_queue_native, process_utilities.$ordered_ipc_queue_native, process_utilities.$process_wrapper_native, process_utilities.$task_native, process_utilities.$thinking_task_native, queues.$lazy_priority_queue_native, queues.$locked_p_queue_native, queues.$locked_queue_native, queues.$priority_queue_native, queues.$queue_native, reader.$read_token_native, reader.$readtable_native, red_api.$red_element_struct_native, red_api.$red_repository_list_struct_native, red_api.$red_repository_struct_native, red_api.$red_struct_native, red_infrastructure.$red_symbol_native, remote_image.$remote_image_connection_native, remote_image.$remote_image_native, removal_module_cost_tests.$removal_module_cost_test_native, removal_module_tests.$removal_module_test_native, removal_tactician_datastructures.$removal_strategy_data_native, ResumeException, sbhl_iteration.$sbhl_iterator_native, sbhl_link_iterators.$sbhl_link_node_search_state_iterator_state_native, sbhl_link_iterators.$sbhl_module_direction_link_search_state_iterator_state_native, sbhl_link_iterators.$sbhl_module_naut_link_node_search_state_iterator_state_native, sbhl_link_iterators.$sbhl_module_tv_link_node_search_state_iterator_state_native, sbhl_links.$sbhl_directed_link_native, sbhl_links.$sbhl_undirected_link_native, sbhl_module_vars.$sbhl_module_native, sbhl_search_datastructures.$sbhl_link_node_search_state_native, sbhl_search_datastructures.$sbhl_stack_native, sdbc.$sdbc_error_native, sdbc.$sql_connection_native, sdbc.$sql_result_set_native, sdbc.$sql_statement_native, sdbc.$sql_ticket_native, search.$search_node_native, search.$search_struc_native, secure_translation.$secure_id_database_native, set.$set_native, shelfs.$shelf_info_native, shelfs.$shelf_native, simple_lru_cache_strategy.$simple_lru_cache_strategy_native, sparse_matrix.$sparse_matrix_native, sparse_vector.$sparse_vector_native, special_variable_state.$special_variable_state_native, stacks.$locked_stack_native, stacks.$stack_native, standard_tokenization.$dot_analysis_native, stream_buffer.$stream_buffer_native, stream_buffer.$string_buffer_native, string_utilities.$cyclify_status_native, SubLArrayList, SubLBigIntBignum, SubLBroadcastStream, SubLCharacter, SubLCompiledFunction, SubLConsFacade, SubLConsPair, SubLDoubleFloat, SubLEnvironment, SubLException, SubLFixnum, SubLGuid, SubLHashtable, SubLHashtableIterator, SubLInOutBinaryStreamImpl, SubLInOutTextStreamImpl, SubLInputBinaryStreamImpl, SubLInputTextStreamImpl, SubLIntegerBignum, SubLInterpretedFunction, SubLKeyhash, SubLKeyhashIterator, SubLLock, SubLLongBignum, SubLMacro, SubLNil, SubLOutputBinaryStreamImpl, SubLOutputTextStreamImpl, SubLPackage, SubLProcess, SubLProcess.TerminationRequest, SubLQuote, SubLReadWriteLock, SubLRegexPattern, SubLSemaphore, SubLSocketStream, SubLSpecialOperator, SubLStreamNilException, SubLString, SubLStructInterpreted, SubLStructNative, SubLSymbolImpl, SubLSymbolKeyword, SubLSynonymStream, SubLT, SubLVector, system_translation.$system_translation_native, task_processor.$task_info_native, task_processor.$task_process_pool_native, task_processor.$task_processor_native, task_processor.$task_result_set_native, tcp_server_utilities.$tcp_server_native, test_query_suite.$test_query_suite_native, timing.$timing_info_native, transformation_module_tests.$transformation_module_test_native, transformation_tactician_datastructures.$transformation_strategy_data_native, tries.$trie_native, tva_cache.$tva_cache_native, tva_inference.$tva_inference_native, tva_strategy.$tva_strategy_native, tva_tactic.$tva_tactic_native, Unhandleable, unicode_streams.$utf8_stream_native, unicode_strings.$unicode_char_native, unicode_strings.$unicode_string_native, user_actions.$action_type_native, user_actions.$user_action_native, value_tables.$value_table_column_native, value_tables.$value_table_native, value_tables.$variable_mapping_table_native, variables.$variable_native, web_utilities.$xml_token_iterator_state_native, wff_module_datastructures.$wff_module_native, xref_database.$xref_module_native, xref_database.$xref_system_native
public interface SubLObject
- extends java.lang.Cloneable
DO_CHECK_TYPES
static final boolean DO_CHECK_TYPES
- See Also:
- Constant Field Values
DO_PARANOID_TYPE_CHECKING
static final boolean DO_PARANOID_TYPE_CHECKING
- See Also:
- Constant Field Values
MAX_HASH_LENGTH
static final int MAX_HASH_LENGTH
- See Also:
- Constant Field Values
MAX_HASH_DEPTH
static final int MAX_HASH_DEPTH
- See Also:
- Constant Field Values
DEFAULT_EXCEEDED_HASH_VALUE
static final int DEFAULT_EXCEEDED_HASH_VALUE
- See Also:
- Constant Field Values
eval
SubLObject eval(SubLEnvironment env)
throws InvalidSubLExpressionException
- Throws:
InvalidSubLExpressionException
eql
boolean eql(SubLObject obj)
equal
boolean equal(SubLObject obj)
equalp
boolean equalp(SubLObject obj)
hashCode
int hashCode(int currentDepth)
toTypeName
java.lang.String toTypeName()
canFastHash
boolean canFastHash()
superHash
int superHash()
checkType
void checkType(SubLSymbol predicate)
throws SubLException
- Throws:
SubLException
enforceType
void enforceType(SubLSymbol predicate)
throws SubLException
- Throws:
SubLException
checkTypeInternal
void checkTypeInternal(SubLSymbol predicate)
throws SubLException
- Throws:
SubLException
enforceTypeInternal
void enforceTypeInternal(SubLSymbol predicate)
throws SubLException
- Throws:
SubLException
getType
SubLSymbol getType()
getTypeCode
SubLFixnum getTypeCode()
clone
java.lang.Object clone()
makeCopy
SubLObject makeCopy()
makeDeepCopy
SubLObject makeDeepCopy()
getNumSize
int getNumSize()
- Functions created to avoid casting
inc
SubLObject inc()
dec
SubLObject dec()
add
SubLObject add(SubLObject num)
sub
SubLObject sub(SubLObject num)
mult
SubLObject mult(SubLObject num)
currentBinding
SubLObject currentBinding(SubLObject[] bindings)
bind
void bind(SubLObject newValue,
SubLObject[] bindings)
rebind
void rebind(SubLObject oldValue,
SubLObject[] bindings)
get
SubLObject get(SubLObject obj)
put
SubLObject put(SubLObject key,
SubLObject value)
remove
SubLObject remove(SubLObject obj)
hasKey
boolean hasKey(SubLObject obj)
addKey
void addKey(SubLObject key)
remKey
boolean remKey(SubLObject obj)
size
int size()
get
SubLObject get(int index)
getCharacter
SubLCharacter getCharacter(int index)
set
void set(int index,
SubLObject val)
reverse
SubLSequence reverse(boolean isDestructive)
numL
boolean numL(SubLObject x)
numLE
boolean numLE(SubLObject x)
numG
boolean numG(SubLObject x)
numGE
boolean numGE(SubLObject x)
numE
boolean numE(SubLObject x)
isPositive
boolean isPositive()
isNegative
boolean isNegative()
isZero
boolean isZero()
intValue
int intValue()
longValue
long longValue()
doubleValue
double doubleValue()
bigIntegerValue
java.math.BigInteger bigIntegerValue()
rest
SubLObject rest()
first
SubLObject first()
setFirst
SubLCons setFirst(SubLObject first)
setRest
SubLCons setRest(SubLObject rest)
asConsList
SubLList asConsList()
asArrayList
SubLList asArrayList()
isArrayBased
boolean isArrayBased()
last
SubLObject last(int i)
nthCdr
SubLObject nthCdr(int index)
getString
java.lang.String getString()
getField
SubLObject getField(int fieldNum)
setField
void setField(int fieldNum,
SubLObject value)
getStream
SubLStream getStream(boolean followSynonymStream)
toInputStream
SubLInputStream toInputStream()
toInputTextStream
SubLInputTextStream toInputTextStream()
toInputBinaryStream
SubLInputBinaryStream toInputBinaryStream()
toOutputStream
SubLOutputStream toOutputStream()
toOutputTextStream
SubLOutputTextStream toOutputTextStream()
toOutputBinaryStream
SubLOutputBinaryStream toOutputBinaryStream()
getFunc
SubLFunction getFunc()
toPackage
SubLPackage toPackage()
toStruct
SubLStruct toStruct()
toVect
SubLVector toVect()
toSymbol
SubLSymbol toSymbol()
toList
SubLList toList()
toSeq
SubLSequence toSeq()
toChar
SubLCharacter toChar()
toGuid
SubLGuid toGuid()
toSemaphore
SubLSemaphore toSemaphore()
toStr
SubLString toStr()
toMacro
SubLMacro toMacro()
toEnv
SubLEnvironment toEnv()
toCons
SubLCons toCons()
toNumber
SubLNumber toNumber()
toProcess
SubLProcess toProcess()
toLock
SubLLock toLock()
toReadWriteLock
SubLReadWriteLock toReadWriteLock()
toInteger
SubLInteger toInteger()
toFixnum
SubLFixnum toFixnum()
toDouble
SubLDoubleFloat toDouble()
toHashtable
SubLHashtable toHashtable()
toHashtableIterator
SubLHashtableIterator toHashtableIterator()
toKeyhash
SubLKeyhash toKeyhash()
toKeyhashIterator
SubLKeyhashIterator toKeyhashIterator()
toRegexPattern
SubLRegexPattern toRegexPattern()
getFileDesignator
java.lang.String getFileDesignator()
charValue
char charValue()
second
SubLObject second()
third
SubLObject third()
fourth
SubLObject fourth()
fifth
SubLObject fifth()
sixth
SubLObject sixth()
seventh
SubLObject seventh()
eighth
SubLObject eighth()
ninth
SubLObject ninth()
tenth
SubLObject tenth()
getField0
SubLObject getField0()
setField0
SubLObject setField0(SubLObject newVal)
getField1
SubLObject getField1()
setField1
SubLObject setField1(SubLObject newVal)
getField2
SubLObject getField2()
setField2
SubLObject setField2(SubLObject newVal)
getField3
SubLObject getField3()
setField3
SubLObject setField3(SubLObject newVal)
getField4
SubLObject getField4()
setField4
SubLObject setField4(SubLObject newVal)
getField5
SubLObject getField5()
setField5
SubLObject setField5(SubLObject newVal)
getField6
SubLObject getField6()
setField6
SubLObject setField6(SubLObject newVal)
getField7
SubLObject getField7()
setField7
SubLObject setField7(SubLObject newVal)
getField8
SubLObject getField8()
setField8
SubLObject setField8(SubLObject newVal)
getField9
SubLObject getField9()
setField9
SubLObject setField9(SubLObject newVal)
getField10
SubLObject getField10()
setField10
SubLObject setField10(SubLObject newVal)
getField11
SubLObject getField11()
setField11
SubLObject setField11(SubLObject newVal)
getField12
SubLObject getField12()
setField12
SubLObject setField12(SubLObject newVal)
getField13
SubLObject getField13()
setField13
SubLObject setField13(SubLObject newVal)
getField14
SubLObject getField14()
setField14
SubLObject setField14(SubLObject newVal)
getField15
SubLObject getField15()
setField15
SubLObject setField15(SubLObject newVal)
getField16
SubLObject getField16()
setField16
SubLObject setField16(SubLObject newVal)
getField17
SubLObject getField17()
setField17
SubLObject setField17(SubLObject newVal)
getField18
SubLObject getField18()
setField18
SubLObject setField18(SubLObject newVal)
getField19
SubLObject getField19()
setField19
SubLObject setField19(SubLObject newVal)
getField20
SubLObject getField20()
setField20
SubLObject setField20(SubLObject newVal)
isNil
boolean isNil()
isBoolean
boolean isBoolean()
isSymbol
boolean isSymbol()
isKeyword
boolean isKeyword()
isAtom
boolean isAtom()
isCons
boolean isCons()
isList
boolean isList()
isSequence
boolean isSequence()
isNumber
boolean isNumber()
isFixnum
boolean isFixnum()
isBignum
boolean isBignum()
isIntBignum
boolean isIntBignum()
isLongBignum
boolean isLongBignum()
isBigIntegerBignum
boolean isBigIntegerBignum()
isInteger
boolean isInteger()
isDouble
boolean isDouble()
isChar
boolean isChar()
isString
boolean isString()
isVector
boolean isVector()
isFunction
boolean isFunction()
isFunctionSpec
boolean isFunctionSpec()
isMacroOperator
boolean isMacroOperator()
isHashtable
boolean isHashtable()
isProcess
boolean isProcess()
isLock
boolean isLock()
isReadWriteLock
boolean isReadWriteLock()
isStructure
boolean isStructure()
isStream
boolean isStream()
isPackage
boolean isPackage()
isError
boolean isError()
isGuid
boolean isGuid()
isSemaphore
boolean isSemaphore()
isEnvironment
boolean isEnvironment()
isHashtableIterator
boolean isHashtableIterator()
isRegexPattern
boolean isRegexPattern()
isKeyhash
boolean isKeyhash()
isKeyhashIterator
boolean isKeyhashIterator()