|
Scala example source code file (JLabel.java)
The Scala JLabel.java source code/* FJBG -- Fast Java Bytecode Generator * Copyright 2002-2011 LAMP/EPFL * @author Michel Schinz */ package ch.epfl.lamp.fjbg; /** * Labels which can be attached to instructions. * * @author Michel Schinz * @version 1.0 */ public class JLabel { public final static int UNDEFINED_ANCHOR = -1; protected int anchor = UNDEFINED_ANCHOR; public boolean isAnchored() { return anchor != UNDEFINED_ANCHOR; } public int getAnchor() { assert isAnchored(); return anchor; } public void setAnchor(int anchor) { assert !isAnchored(); this.anchor = anchor; } } Other Scala examples (source code examples)Here is a short list of links related to this Scala JLabel.java source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.