Skip to content

Instantly share code, notes, and snippets.

Oscar Luis Vera Pérez oscarlvp

  • France
Block or report user

Report or block oscarlvp

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@oscarlvp
oscarlvp / VList.java
Created Dec 21, 2018
Introductory example of a pseudo-tested method
View VList.java
class VList {
private List elements;
private int version;
public void add(Object item) {
elements.add(item);
incrementVersion();
}
private void incrementVersion() { // This method is pseudo-tested
version++;
You can’t perform that action at this time.