All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.tracee.EmptyEnumeration Maven / Gradle / Ivy

There is a newer version: 1.2.0
Show newest version
package io.tracee;

import java.util.Enumeration;

public final class EmptyEnumeration implements Enumeration {

	public static  EmptyEnumeration emptyEnumeration() {
		return new EmptyEnumeration();
	}

	@Override
	public boolean hasMoreElements() {
		return false;
	}

	@Override
	public T nextElement() {
		return null;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy