MCPcopy Create free account
hub / github.com/apache/arrow / MappedView

Class MappedView

cpp/gdb_arrow.py:777–787  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

775
776
777class MappedView(Sequence):
778
779 def __init__(self, func, view):
780 self.view = view
781 self.func = func
782
783 def __len__(self):
784 return len(self.view)
785
786 def __getitem__(self, index):
787 return self.func(self.view[index])
788
789
790class StarMappedView(Sequence):

Callers 1

_values_viewMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected