Logo

GitLab

Sign in

Wojciech Jaworski / ENIAM

  • Back to Dashboard
  • Project
  • Activity
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • ENIAM
  • ..
  • data
  • Long2IntInterface.java
  • Dependency Parser split into two versions: basic and experimental
    d104f60d
    Jan Lupa authored
    2016-08-11 03:07:01 +0200  
    Browse Code ยป
Long2IntInterface.java 278 Bytes
Edit Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
package is2.data;

public interface Long2IntInterface {

	public abstract int size();

	/**
	 * Maps a long to a integer value. This is very useful to save memory for
	 * sparse data long values
	 * 
	 * @param l
	 * @return the integer
	 */
	public abstract int l2i(long l);

}