-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathno.py
More file actions
27 lines (24 loc) · 662 Bytes
/
no.py
File metadata and controls
27 lines (24 loc) · 662 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
class No:
valorX = None
valorY = None
proximo = None
anterior = None
def __init__(self,valorX,valorY):
self.valorX = valorX
self.valorY = valorY
def getValorX(self):
return self.valorX
def getValorY(self):
return self.valorY
def getProximo(self):
return self.proximo
def getAnterior(self):
return self.anterior
def setValorX(self,valorX):
self.valorX = valorX
def setValorY(self,valorY):
self.valorY = valorY
def setProximo(self,proximo):
self.proximo = proximo
def setAnterior(self,anterior):
self.anterior = anterior