/** * Put the entire contents of the given set into this one. * * @param set {@code non-null;} the set to put into this instance */ public void putAll(RegisterSpecSet set) { int max = set.getMaxSize(); for (int i = 0; i < max; i++) { RegisterSpec spec = set.get(i); if (spec != null) { put(spec); } } }
/** * Gets the element with the same register number as the given * spec, if any. This is just a convenient shorthand for * {@code get(spec.getReg())}. * * @param spec {@code non-null;} spec with the desired register number * @return {@code null-ok;} the element with the matching register number or * {@code null} if there is none */ public RegisterSpec get(RegisterSpec spec) { return get(spec.getReg()); }
/** * Put the entire contents of the given set into this one. * * @param set {@code non-null;} the set to put into this instance */ public void putAll(RegisterSpecSet set) { int max = set.getMaxSize(); for (int i = 0; i < max; i++) { RegisterSpec spec = set.get(i); if (spec != null) { put(spec); } } }
/** * Gets the element with the same register number as the given * spec, if any. This is just a convenient shorthand for * {@code get(spec.getReg())}. * * @param spec {@code non-null;} spec with the desired register number * @return {@code null-ok;} the element with the matching register number or * {@code null} if there is none */ public RegisterSpec get(RegisterSpec spec) { return get(spec.getReg()); }
/** * Put the entire contents of the given set into this one. * * @param set {@code non-null;} the set to put into this instance */ public void putAll(RegisterSpecSet set) { int max = set.getMaxSize(); for (int i = 0; i < max; i++) { RegisterSpec spec = set.get(i); if (spec != null) { put(spec); } } }
/** * Gets the element with the same register number as the given * spec, if any. This is just a convenient shorthand for * {@code get(spec.getReg())}. * * @param spec {@code non-null;} spec with the desired register number * @return {@code null-ok;} the element with the matching register number or * {@code null} if there is none */ public RegisterSpec get(RegisterSpec spec) { return get(spec.getReg()); }
/** * Put the entire contents of the given set into this one. * * @param set {@code non-null;} the set to put into this instance */ public void putAll(RegisterSpecSet set) { int max = set.getMaxSize(); for (int i = 0; i < max; i++) { RegisterSpec spec = set.get(i); if (spec != null) { put(spec); } } }
/** * Gets the element with the same register number as the given * spec, if any. This is just a convenient shorthand for * {@code get(spec.getReg())}. * * @param spec {@code non-null;} spec with the desired register number * @return {@code null-ok;} the element with the matching register number or * {@code null} if there is none */ public RegisterSpec get(RegisterSpec spec) { return get(spec.getReg()); }
/** * Put the entire contents of the given set into this one. * * @param set {@code non-null;} the set to put into this instance */ public void putAll(RegisterSpecSet set) { int max = set.getMaxSize(); for (int i = 0; i < max; i++) { RegisterSpec spec = set.get(i); if (spec != null) { put(spec); } } }
/** * Gets the element with the same register number as the given * spec, if any. This is just a convenient shorthand for * {@code get(spec.getReg())}. * * @param spec {@code non-null;} spec with the desired register number * @return {@code null-ok;} the element with the matching register number or * {@code null} if there is none */ public RegisterSpec get(RegisterSpec spec) { return get(spec.getReg()); }
/** * Put the entire contents of the given set into this one. * * @param set {@code non-null;} the set to put into this instance */ public void putAll(RegisterSpecSet set) { int max = set.getMaxSize(); for (int i = 0; i < max; i++) { RegisterSpec spec = set.get(i); if (spec != null) { put(spec); } } }
/** * Gets the element with the same register number as the given * spec, if any. This is just a convenient shorthand for * {@code get(spec.getReg())}. * * @param spec {@code non-null;} spec with the desired register number * @return {@code null-ok;} the element with the matching register number or * {@code null} if there is none */ public RegisterSpec get(RegisterSpec spec) { return get(spec.getReg()); }
/** * Put the entire contents of the given set into this one. * * @param set {@code non-null;} the set to put into this instance */ public void putAll(RegisterSpecSet set) { int max = set.getMaxSize(); for (int i = 0; i < max; i++) { RegisterSpec spec = set.get(i); if (spec != null) { put(spec); } } }
/** * Gets the element with the same register number as the given * spec, if any. This is just a convenient shorthand for * {@code get(spec.getReg())}. * * @param spec {@code non-null;} spec with the desired register number * @return {@code null-ok;} the element with the matching register number or * {@code null} if there is none */ public RegisterSpec get(RegisterSpec spec) { return get(spec.getReg()); }
/** * Put the entire contents of the given set into this one. * * @param set {@code non-null;} the set to put into this instance */ public void putAll(RegisterSpecSet set) { int max = set.getMaxSize(); for (int i = 0; i < max; i++) { RegisterSpec spec = set.get(i); if (spec != null) { put(spec); } } }
/** * Gets the element with the same register number as the given * spec, if any. This is just a convenient shorthand for * {@code get(spec.getReg())}. * * @param spec {@code non-null;} spec with the desired register number * @return {@code null-ok;} the element with the matching register number or * {@code null} if there is none */ public RegisterSpec get(RegisterSpec spec) { return get(spec.getReg()); }
/** {@inheritDoc} */ @Override protected String listingString0(boolean noteIndices) { int sz = locals.size(); int max = locals.getMaxSize(); StringBuffer sb = new StringBuffer(100 + sz * 40); sb.append("local-snapshot"); for (int i = 0; i < max; i++) { RegisterSpec spec = locals.get(i); if (spec != null) { sb.append("\n "); sb.append(LocalStart.localString(spec)); } } return sb.toString(); }
/** {@inheritDoc} */ @Override protected String listingString0(boolean noteIndices) { int sz = locals.size(); int max = locals.getMaxSize(); StringBuilder sb = new StringBuilder(100 + sz * 40); sb.append("local-snapshot"); for (int i = 0; i < max; i++) { RegisterSpec spec = locals.get(i); if (spec != null) { sb.append("\n "); sb.append(LocalStart.localString(spec)); } } return sb.toString(); }
/** {@inheritDoc} */ @Override protected String listingString0(boolean noteIndices) { int sz = locals.size(); int max = locals.getMaxSize(); StringBuffer sb = new StringBuffer(100 + sz * 40); sb.append("local-snapshot"); for (int i = 0; i < max; i++) { RegisterSpec spec = locals.get(i); if (spec != null) { sb.append("\n "); sb.append(LocalStart.localString(spec)); } } return sb.toString(); }
/** {@inheritDoc} */ @Override protected String listingString0(boolean noteIndices) { int sz = locals.size(); int max = locals.getMaxSize(); StringBuffer sb = new StringBuffer(100 + sz * 40); sb.append("local-snapshot"); for (int i = 0; i < max; i++) { RegisterSpec spec = locals.get(i); if (spec != null) { sb.append("\n "); sb.append(LocalStart.localString(spec)); } } return sb.toString(); }