Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /* ************************************************************************
 #
 #  DivConq
 #
 #  http://divconq.com/
 #
 #  Copyright:
 #    Copyright 2014 eTimeline, LLC. All rights reserved.
 #
#  License:
#    See the license.txt file in the project's top-level directory for details.
#  Authors:
#    * Andy White
************************************************************************ */
package divconq.mod;
public class LibLoader {
	protected String name = null;
	protected Map<String,byte[]> entries = new HashMap<String,byte[]>();
	public LibLoader(String name) {
		this. = name;
	}
	public byte[] getEntry(String name) {
		return this..get(name);
	}
	public boolean hasEntry(String name) {
		return this..containsKey(name);
	}
	public void adler(Adler32 ad) {
		for (byte[] entry : this..values())
			ad.update(entry);
	}
New to GrepCode? Check out our FAQ X