com.github.ibole.infrastructure.cache.session.redis.SessionEnumeration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of infrastructure-all Show documentation
Show all versions of infrastructure-all Show documentation
The all in one project of ibole infrastructure
The newest version!
package com.github.ibole.infrastructure.cache.session.redis;
import java.util.Enumeration;
import java.util.Iterator;
import java.util.Map;
/*********************************************************************************************
* .
*
*
* Copyright 2016, iBole Inc. All rights reserved.
*
*
.
*
*********************************************************************************************/
public class SessionEnumeration implements Enumeration {
private Iterator iterator;
public SessionEnumeration(Map data) {
this.iterator = data.keySet().iterator();
}
public boolean hasMoreElements() {
return this.iterator.hasNext();
}
public String nextElement() {
return this.iterator.next();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy