-
Notifications
You must be signed in to change notification settings - Fork 273
ReadOnly Implementation
okram edited this page Apr 2, 2011
·
5 revisions
ReadOnlyGraph
and ReadOnlyIndexableGraph
wrap any Graph
or IndexableGraph
, respectively. The purpose of a ReadOnlyGraph
is to ensure that the graph is not mutated by a mutating method invocation. The following methods throw an UnsupportedOperationException
:
-
Graph
:addVertex()
,removeVertex()
,addEdge()
,removeEdge()
,clear()
,shutdown()
-
IndexableGraph
:dropIndex()
,createManualIndex()
,createAutomaticIndex()
-
Element
:setProperty()
,removeProperty()
-
Index
:put()
,remove()