id stringlengths 7 14 | text stringlengths 1 106k |
|---|---|
2144321_3 | public static RepositoryId extractRepositoryFromScmUrl(String url) {
if (StringUtils.isEmpty(url))
return null;
int ghIndex = url.indexOf(HOST_DEFAULT);
if (ghIndex == -1 || ghIndex + 1 >= url.length())
return null;
if (!url.endsWith(SUFFIX_GIT))
return null;
url = url.substring(ghIndex + HOST_DEFAULT.length... |
2144321_4 | public static RepositoryId extractRepositoryFromScmUrl(String url) {
if (StringUtils.isEmpty(url))
return null;
int ghIndex = url.indexOf(HOST_DEFAULT);
if (ghIndex == -1 || ghIndex + 1 >= url.length())
return null;
if (!url.endsWith(SUFFIX_GIT))
return null;
url = url.substring(ghIndex + HOST_DEFAULT.length... |
2144321_5 | public static RepositoryId getRepository(final MavenProject project,
final String owner, final String name) {
// Use owner and name if specified
if (!StringUtils.isEmpty(owner, name))
return RepositoryId.create(owner, name);
if (project == null)
return null;
RepositoryId repo = null;
// Extract repository fr... |
2144321_6 | public static RepositoryId getRepository(final MavenProject project,
final String owner, final String name) {
// Use owner and name if specified
if (!StringUtils.isEmpty(owner, name))
return RepositoryId.create(owner, name);
if (project == null)
return null;
RepositoryId repo = null;
// Extract repository fr... |
2144321_7 | public static RepositoryId getRepository(final MavenProject project,
final String owner, final String name) {
// Use owner and name if specified
if (!StringUtils.isEmpty(owner, name))
return RepositoryId.create(owner, name);
if (project == null)
return null;
RepositoryId repo = null;
// Extract repository fr... |
2144321_8 | public static String[] getMatchingPaths(final String[] includes,
final String[] excludes, final String baseDir) {
final DirectoryScanner scanner = new DirectoryScanner();
scanner.setBasedir(baseDir);
if (includes != null && includes.length > 0)
scanner.setIncludes(includes);
if (excludes != null && excludes.len... |
2144321_9 | public static String[] getMatchingPaths(final String[] includes,
final String[] excludes, final String baseDir) {
final DirectoryScanner scanner = new DirectoryScanner();
scanner.setBasedir(baseDir);
if (includes != null && includes.length > 0)
scanner.setIncludes(includes);
if (excludes != null && excludes.len... |
2153523_0 | public MessageBundle getBundle(GadgetSpec spec, Locale locale, boolean ignoreCache, String container)
throws GadgetException {
MessageBundle exact = getBundleFor(spec, locale, ignoreCache, container);
// We don't want to fetch the same bundle multiple times, so we verify that the exact match
// has not alread... |
2153523_1 | public MessageBundle getBundle(GadgetSpec spec, Locale locale, boolean ignoreCache, String container)
throws GadgetException {
MessageBundle exact = getBundleFor(spec, locale, ignoreCache, container);
// We don't want to fetch the same bundle multiple times, so we verify that the exact match
// has not alread... |
2153523_2 | public MessageBundle getBundle(GadgetSpec spec, Locale locale, boolean ignoreCache, String container)
throws GadgetException {
MessageBundle exact = getBundleFor(spec, locale, ignoreCache, container);
// We don't want to fetch the same bundle multiple times, so we verify that the exact match
// has not alread... |
2153523_3 | public MessageBundle getBundle(GadgetSpec spec, Locale locale, boolean ignoreCache, String container)
throws GadgetException {
MessageBundle exact = getBundleFor(spec, locale, ignoreCache, container);
// We don't want to fetch the same bundle multiple times, so we verify that the exact match
// has not alread... |
2153523_4 | public MessageBundle getBundle(GadgetSpec spec, Locale locale, boolean ignoreCache, String container)
throws GadgetException {
MessageBundle exact = getBundleFor(spec, locale, ignoreCache, container);
// We don't want to fetch the same bundle multiple times, so we verify that the exact match
// has not alread... |
2153523_5 | public MessageBundle getBundle(GadgetSpec spec, Locale locale, boolean ignoreCache, String container)
throws GadgetException {
MessageBundle exact = getBundleFor(spec, locale, ignoreCache, container);
// We don't want to fetch the same bundle multiple times, so we verify that the exact match
// has not alread... |
2153523_6 | public MessageBundle getBundle(GadgetSpec spec, Locale locale, boolean ignoreCache, String container)
throws GadgetException {
MessageBundle exact = getBundleFor(spec, locale, ignoreCache, container);
// We don't want to fetch the same bundle multiple times, so we verify that the exact match
// has not alread... |
2153523_7 | public MessageBundle getBundle(GadgetSpec spec, Locale locale, boolean ignoreCache, String container)
throws GadgetException {
MessageBundle exact = getBundleFor(spec, locale, ignoreCache, container);
// We don't want to fetch the same bundle multiple times, so we verify that the exact match
// has not alread... |
2153523_8 | public MessageBundle getBundle(GadgetSpec spec, Locale locale, boolean ignoreCache, String container)
throws GadgetException {
MessageBundle exact = getBundleFor(spec, locale, ignoreCache, container);
// We don't want to fetch the same bundle multiple times, so we verify that the exact match
// has not alread... |
2153523_9 | public MessageBundle getBundle(GadgetSpec spec, Locale locale, boolean ignoreCache, String container)
throws GadgetException {
MessageBundle exact = getBundleFor(spec, locale, ignoreCache, container);
// We don't want to fetch the same bundle multiple times, so we verify that the exact match
// has not alread... |
2155500_0 | public String getFieldValueAsString(String fieldName)
{
return fields.get(fieldName).toString();
} |
2155500_1 | public Double getFieldValueAsDouble(String fieldName)
{
Object value = getFieldValue(fieldName);
try
{
Double doubleValue = (Double) value;
return doubleValue;
}
catch(ClassCastException e)
{
return null;
}
} |
2155500_2 | public Long getFieldValueAsLong(String fieldName)
{
Object value = getFieldValue(fieldName);
try
{
Long longValue = (Long) value;
return longValue;
}
catch(ClassCastException e)
{
try
{
Integer intValue = (Integer) value;
return new Long(intValue);
}
catch(ClassCastException f)
{
return nul... |
2155500_3 | public Sampler<Customer> build() throws Exception
{
ProbabilityDensityFunction<Store> storePDF = new CustomerStorePDF(stores);
Sampler<Integer> idSampler = new SequenceSampler();
Sampler<Pair<String, String>> nameSampler = new NameGenerator(seedFactory);
Sampler<Store> storeSampler = RouletteWheelSampler.create(sto... |
2155500_4 | public Customer sample() throws Exception
{
Integer id = idSampler.sample();
Pair<String, String> name = nameSampler.sample();
Store store = storeSampler.sample();
Location location = locationSampler.sample(store);
return new Customer(id, name, store, location);
} |
2155500_5 | public double probability(Location record)
{
if(!this.pdf.containsKey(record))
return 0.0;
return this.pdf.get(record);
} |
2155500_6 | @Override
public boolean ruleMatches(Product product)
{
if(! product.getFieldNames().contains(fieldName))
{
throw new IllegalArgumentException("Product (" + product.toString() +
") does not contain field name (" + fieldName + ")");
}
Object seenValue = product.getFieldValue(fieldName);
return allowedValues.c... |
2155500_7 | @Override
public boolean ruleMatches(Product product) throws IllegalArgumentException
{
for(Rule rule : rules)
{
if(rule.ruleMatches(product))
{
return true;
}
}
return false;
} |
2155500_8 | @Override
public boolean ruleMatches(Product product) throws IllegalArgumentException
{
boolean matches = true;
for(Rule rule : rules)
{
if(! rule.ruleMatches(product))
{
matches = false;
}
}
return matches;
} |
2155500_9 | @Override
public boolean ruleMatches(Product product) throws IllegalArgumentException
{
return true;
} |
2157104_0 | public static String formata(String codigo) throws ErroCompilacao
{
Programa programa = Portugol.compilarParaAnalise(codigo);
ASAPrograma asa = programa.getArvoreSintaticaAbstrata();
StringWriter stringWriter = new StringWriter();
try {
GeradorCodigoPortugol gerador = new GeradorCodigoPortugol(a... |
2157104_1 | public static String formata(String codigo) throws ErroCompilacao
{
Programa programa = Portugol.compilarParaAnalise(codigo);
ASAPrograma asa = programa.getArvoreSintaticaAbstrata();
StringWriter stringWriter = new StringWriter();
try {
GeradorCodigoPortugol gerador = new GeradorCodigoPortugol(a... |
2157104_2 | public static String formata(String codigo) throws ErroCompilacao
{
Programa programa = Portugol.compilarParaAnalise(codigo);
ASAPrograma asa = programa.getArvoreSintaticaAbstrata();
StringWriter stringWriter = new StringWriter();
try {
GeradorCodigoPortugol gerador = new GeradorCodigoPortugol(a... |
2157104_3 | public static String formata(String codigo) throws ErroCompilacao
{
Programa programa = Portugol.compilarParaAnalise(codigo);
ASAPrograma asa = programa.getArvoreSintaticaAbstrata();
StringWriter stringWriter = new StringWriter();
try {
GeradorCodigoPortugol gerador = new GeradorCodigoPortugol(a... |
2157104_4 | public static String formata(String codigo) throws ErroCompilacao
{
Programa programa = Portugol.compilarParaAnalise(codigo);
ASAPrograma asa = programa.getArvoreSintaticaAbstrata();
StringWriter stringWriter = new StringWriter();
try {
GeradorCodigoPortugol gerador = new GeradorCodigoPortugol(a... |
2157104_5 | public static String formata(String codigo) throws ErroCompilacao
{
Programa programa = Portugol.compilarParaAnalise(codigo);
ASAPrograma asa = programa.getArvoreSintaticaAbstrata();
StringWriter stringWriter = new StringWriter();
try {
GeradorCodigoPortugol gerador = new GeradorCodigoPortugol(a... |
2157104_6 | public static String formata(String codigo) throws ErroCompilacao
{
Programa programa = Portugol.compilarParaAnalise(codigo);
ASAPrograma asa = programa.getArvoreSintaticaAbstrata();
StringWriter stringWriter = new StringWriter();
try {
GeradorCodigoPortugol gerador = new GeradorCodigoPortugol(a... |
2157104_7 | public static String formata(String codigo) throws ErroCompilacao
{
Programa programa = Portugol.compilarParaAnalise(codigo);
ASAPrograma asa = programa.getArvoreSintaticaAbstrata();
StringWriter stringWriter = new StringWriter();
try {
GeradorCodigoPortugol gerador = new GeradorCodigoPortugol(a... |
2157104_8 | public static String formata(String codigo) throws ErroCompilacao
{
Programa programa = Portugol.compilarParaAnalise(codigo);
ASAPrograma asa = programa.getArvoreSintaticaAbstrata();
StringWriter stringWriter = new StringWriter();
try {
GeradorCodigoPortugol gerador = new GeradorCodigoPortugol(a... |
2157104_9 | public static String formata(String codigo) throws ErroCompilacao
{
Programa programa = Portugol.compilarParaAnalise(codigo);
ASAPrograma asa = programa.getArvoreSintaticaAbstrata();
StringWriter stringWriter = new StringWriter();
try {
GeradorCodigoPortugol gerador = new GeradorCodigoPortugol(a... |
2158982_0 | public static org.postgis.Geometry convert(Geometry geometry) {
if (geometry instanceof Point) {
return convert((Point) geometry);
} else if (geometry instanceof LinearRing) {
return convert((LinearRing) geometry);
} else if (geometry instanceof LineString) {
return convert((LineStri... |
2158982_1 | public static JGeometry convert(Geometry geometry) {
switch (geometry.getGeometryType()) {
case POINT: return convert((Point) geometry);
case CURVE:
case SURFACE:
case GEOMETRY_COLLECTION: return convert((GeometryCollection) geometry);
case LINE_STRING: return convert((LineString) geometry);... |
2158982_2 | public static JGeometry convert(Geometry geometry) {
switch (geometry.getGeometryType()) {
case POINT: return convert((Point) geometry);
case CURVE:
case SURFACE:
case GEOMETRY_COLLECTION: return convert((GeometryCollection) geometry);
case LINE_STRING: return convert((LineString) geometry);... |
2158982_3 | public static JGeometry convert(Geometry geometry) {
switch (geometry.getGeometryType()) {
case POINT: return convert((Point) geometry);
case CURVE:
case SURFACE:
case GEOMETRY_COLLECTION: return convert((GeometryCollection) geometry);
case LINE_STRING: return convert((LineString) geometry);... |
2158982_4 | public byte[] write(Geometry geometry) throws IOException {
visit(geometry, -1);
int bytes = calculateCapacity(geometry);
boolean singlePoint = geometry instanceof Point;
ByteBuffer buffer = ByteBuffer.allocate(bytes);
buffer.order(ByteOrder.LITTLE_ENDIAN);
buffer.putInt(geometry.getSRID());
... |
2158982_5 | public static Map<Operator, String> getSpatialOps() {
Map<Operator, String> ops = Maps.newHashMap();
ops.put(SpatialOps.DIMENSION, "dimension({0})");
ops.put(SpatialOps.GEOMETRY_TYPE, "geometrytype({0}, {1})");
ops.put(SpatialOps.SRID, "srid({0})");
ops.put(SpatialOps.SRID2, "srid2({0}, {1})");
... |
2158982_6 | public static QueryModifiers limit(@Nonnegative long limit) {
return new QueryModifiers(limit, null);
} |
2158982_7 | public static QueryModifiers offset(@Nonnegative long offset) {
return new QueryModifiers(null, offset);
} |
2158982_8 | public static QueryModifiers limit(@Nonnegative long limit) {
return new QueryModifiers(limit, null);
} |
2158982_9 | public static QueryModifiers offset(@Nonnegative long offset) {
return new QueryModifiers(null, offset);
} |
2168781_0 | public void setWill(String willTopic, String will) {
setWill(willTopic, will, QoS.AT_MOST_ONCE, false);
} |
2168781_1 | public void setCredentials(String username) {
setCredentials(username, null);
} |
2168781_2 | public void setCredentials(String username) {
setCredentials(username, null);
} |
2168781_3 | public void setWill(String willTopic, String will) {
setWill(willTopic, will, QoS.AT_MOST_ONCE, false);
} |
2168781_4 | @Override
protected void readMessage(InputStream in, int msgLength)
throws IOException {
if (msgLength != MESSAGE_LENGTH) {
throw new IllegalStateException(
"Message Length must be 2 for CONNACK. Current value: "
+ msgLength);
}
// Ignore first byte
in.read();
int result = in.read();
switch (result)... |
2168781_5 | @Override
protected int messageLength() {
return MESSAGE_LENGTH;
} |
2168781_6 | @Override
protected int messageLength() {
int length = FormatUtil.toMQttString(topic).length;
length += (getQos() == QoS.AT_MOST_ONCE) ? 0 : 2;
length += data.length;
return length;
} |
2168781_7 | @Override
public void setDup(boolean dup) {
throw new UnsupportedOperationException("PINGREQ message does not support the DUP flag");
} |
2168781_8 | @Override
public void setQos(QoS qos) {
throw new UnsupportedOperationException("PINGREQ message does not support the QoS flag");
} |
2168781_9 | @Override
public void setRetained(boolean retain) {
throw new UnsupportedOperationException("PINGREQ message does not support the RETAIN flag");
} |
2173227_0 | @Override
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (getClass() != obj.getClass())
return false;
Link other = (Link) obj;
if (from == null) {
if (other.from != null)
return false;
}
if (to == null) {
if (other.to != null)
return false;
}
... |
2173227_1 | protected static SwitchPortStatistics generateSwitchPortStatistics(Map<String, SwitchPortStatistics> switchesStatistics,
BiMap<String, DevicePortId> networkDevicePortIdsMap) throws Exception {
Map<String, PortStatistics> stats = new HashMap<String, PortStatistics>();
// extract own network port IDs and associate ob... |
2173227_2 | public void capabilityFactoryAdded(ICapabilityFactory capabilityFactory) {
log.info("Adding factory: " + capabilityFactory.getType());
this.capabilityFactories.put(capabilityFactory.getType(), capabilityFactory);
} |
2173227_3 | public void capabilityFactoryAdded(ICapabilityFactory capabilityFactory) {
log.info("Adding factory: " + capabilityFactory.getType());
this.capabilityFactories.put(capabilityFactory.getType(), capabilityFactory);
} |
2173227_4 | public void capabilityFactoryAdded(ICapabilityFactory capabilityFactory) {
log.info("Adding factory: " + capabilityFactory.getType());
this.capabilityFactories.put(capabilityFactory.getType(), capabilityFactory);
} |
2173449_0 | @Override
public void validateValue(Property property, Object value) throws ValidationException {
if (value != null || propertyDescriptor.isNotNull()) {
if (!propertyDescriptor.getValueSet().contains(value)) {
NESTMOD
throw new ValidationException(MessageFormat.format("Value for ''{0}'' is inva... |
2173449_1 | @Override
public void validateValue(Property property, Object value) throws ValidationException {
if (value != null || propertyDescriptor.isNotNull()) {
if (!propertyDescriptor.getValueSet().contains(value)) {
NESTMOD
throw new ValidationException(MessageFormat.format("Value for ''{0}'' is inva... |
2173449_2 | @Override
public void validateValue(Property property, Object value) throws ValidationException {
if (value != null || propertyDescriptor.isNotNull()) {
if (!propertyDescriptor.getValueSet().contains(value)) {
NESTMOD
throw new ValidationException(MessageFormat.format("Value for ''{0}'' is inva... |
2173449_3 | @Override
public void validateValue(Property property, Object value) throws ValidationException {
if (value != null || propertyDescriptor.isNotNull()) {
if (!propertyDescriptor.getValueSet().contains(value)) {
NESTMOD
throw new ValidationException(MessageFormat.format("Value for ''{0}'' is inva... |
2173449_4 | public ValueSet getValueSet() {
return (ValueSet) getAttribute("valueSet");
} |
2173449_7 | @SuppressWarnings({"CloneDoesntDeclareCloneNotSupportedException"})
@Override
public Viewport clone() {
try {
DefaultViewport vp = (DefaultViewport) super.clone();
vp.viewBounds = new Rectangle(viewBounds);
vp.changeListeners = new ArrayList<ViewportListener>(3);
return vp;
} cat... |
2177364_0 | public LDIFChangeRecord nextRecord() throws IOException, LDIFException {
return reader.readChangeRecord();
} |
2177364_1 | public void printEntry(final Entry entry) throws IOException {
if (entry != null) {
final ByteStringBuffer buffer = new ByteStringBuffer();
entry.toLDIF(buffer, 77);
if (!first) {
ldifOutputStream.write(eol);
} else {
first = false;
}
ldifOutpu... |
2177364_2 | public void printEntry(final Entry entry) throws IOException {
if (entry != null) {
final ByteStringBuffer buffer = new ByteStringBuffer();
entry.toLDIF(buffer, 77);
if (!first) {
ldifOutputStream.write(eol);
} else {
first = false;
}
ldifOutpu... |
2177364_3 | public void close() {
} |
2177364_4 | public final void execute() throws MojoExecutionException {
final File outputFile = new File(outputDirectory, filename);
if (outputDirectory.exists() || outputDirectory.mkdirs()) {
try {
final OutputStream outputStream = new FileOutputStream(outputFile);
try {
fin... |
2177364_5 | public final void execute() throws MojoExecutionException {
final File outputFile = new File(outputDirectory, filename);
if (outputDirectory.exists() || outputDirectory.mkdirs()) {
try {
final OutputStream outputStream = new FileOutputStream(outputFile);
try {
fin... |
2177364_6 | public void execute() throws MojoExecutionException {
if (!isSkip()){
final LDAPConnection connection = connect();
try {
for (final Source source : sources) {
try {
getLog().info("Processing input source: " + source);
final FormatHa... |
2177364_7 | public void execute() throws MojoExecutionException {
if (!isSkip()){
final LDAPConnection connection = connect();
try {
for (final Source source : sources) {
try {
getLog().info("Processing input source: " + source);
final FormatHa... |
2177364_8 | public void execute() throws MojoExecutionException {
if (!isSkip()){
final LDAPConnection connection = connect();
try {
for (final Source source : sources) {
try {
getLog().info("Processing input source: " + source);
final FormatHa... |
2177364_9 | public void execute() throws MojoExecutionException {
if (!isSkip()){
final LDAPConnection connection = connect();
try {
for (final Source source : sources) {
try {
getLog().info("Processing input source: " + source);
final FormatHa... |
2180960_0 | public static void parseDefine(final Define d, final ParsedDefine p)
throws MojoExecutionException {
parseDefineName(d.getDefineName(), p);
parseDefineValueType(d.getValueType(), p);
parseDefineValue(d.getValue(), p);
} |
2180960_1 | public static void parseDefine(final Define d, final ParsedDefine p)
throws MojoExecutionException {
parseDefineName(d.getDefineName(), p);
parseDefineValueType(d.getValueType(), p);
parseDefineValue(d.getValue(), p);
} |
2180960_2 | public static void parseDefine(final Define d, final ParsedDefine p)
throws MojoExecutionException {
parseDefineName(d.getDefineName(), p);
parseDefineValueType(d.getValueType(), p);
parseDefineValue(d.getValue(), p);
} |
2180960_3 | public static void parseDefine(final Define d, final ParsedDefine p)
throws MojoExecutionException {
parseDefineName(d.getDefineName(), p);
parseDefineValueType(d.getValueType(), p);
parseDefineValue(d.getValue(), p);
} |
2180960_4 | public static void parseDefine(final Define d, final ParsedDefine p)
throws MojoExecutionException {
parseDefineName(d.getDefineName(), p);
parseDefineValueType(d.getValueType(), p);
parseDefineValue(d.getValue(), p);
} |
2180960_5 | public static void parseDefine(final Define d, final ParsedDefine p)
throws MojoExecutionException {
parseDefineName(d.getDefineName(), p);
parseDefineValueType(d.getValueType(), p);
parseDefineValue(d.getValue(), p);
} |
2185113_0 | public static void main(String args[]) {
PApplet.main(new String[] { PixelController.class.getName().toString() });
} |
2185113_1 | public GuiState() {
state = new HashMap<String, String>();
diff = new HashMap<String, String>();
} |
2185113_2 | private Point getWindowSize(Layout layout) {
int x, y;
switch (layout.getLayoutName()) {
case HORIZONTAL:
x = getOneMatrixXSize() * layout.getRow1Size() + layout.getRow2Size();
y = getOneMatrixYSize();
break;
default: // AKA BOX
int xsize = (layout.getRow1Size() + layout.getRow2Size()) / 2;
x = getOneMa... |
2185113_3 | private Point getWindowSize(Layout layout) {
int x, y;
switch (layout.getLayoutName()) {
case HORIZONTAL:
x = getOneMatrixXSize() * layout.getRow1Size() + layout.getRow2Size();
y = getOneMatrixYSize();
break;
default: // AKA BOX
int xsize = (layout.getRow1Size() + layout.getRow2Size()) / 2;
x = getOneMa... |
2185113_4 | private Point getWindowSize(Layout layout) {
int x, y;
switch (layout.getLayoutName()) {
case HORIZONTAL:
x = getOneMatrixXSize() * layout.getRow1Size() + layout.getRow2Size();
y = getOneMatrixYSize();
break;
default: // AKA BOX
int xsize = (layout.getRow1Size() + layout.getRow2Size()) / 2;
x = getOneMa... |
2185113_5 | public String getString(String key) {
if (key==null) {
return "";
}
if (bundle==null) {
return key;
}
try {
return bundle.getString(key);
} catch (MissingResourceException e) {
return '!' + key + '!';
}
} |
2185113_6 | private String[] findFiles(String path, FilenameFilter ff) {
File f = new File(path);
if (!f.isDirectory()) {
LOG.log(Level.WARNING, f+" is not a directoy");
return null;
}
List<String> tmp = Arrays.asList(f.list(ff));
Collections.sort(tmp, new SortIgnoreCase());
return tmp.toArray(new String[tmp.size()]);
... |
2185113_7 | public int[] getScreenBufferForDevice(Visual visual, OutputMapping map) {
int[] buffer = visual.getBuffer();
//apply output specific effect
//buffer = map.getBuffer();
//buffer = map.getFader().getBuffer(buffer);
//apply the fader (if needed)
buffer = doTheFaderBaby(buffer, map);
//resize to... |
2185113_8 | public LayoutModel getDataForScreen(int screenNr, List<OutputMapping> ioMapping) {
int fxInput = ioMapping.get(screenNr).getVisualId();
return new LayoutModel(
this.howManyScreensShareThisFxOnTheXAxis(fxInput, ioMapping),
1,
this.getXOffsetForScreen(fxInput, screenNr, ioMapping),
0,
fxInput);
} |
2185113_9 | public LayoutModel getDataForScreen(int screenNr, List<OutputMapping> ioMapping) {
int visualId = ioMapping.get(screenNr).getVisualId();
int fxOnHowMayScreensX=this.howManyScreensShareThisFxOnTheXAxis(visualId, ioMapping);
int fxOnHowMayScreensY=this.howManyScreensShareThisFxOnTheYAxis(visualId, ioMapping);
return ... |
2188276_0 | @Override
public PropertyDescriptor[] getPropertyDescriptors()
{
try
{
PropertyDescriptor[] result = new PropertyDescriptor[2];
result[0] =
new PropertyDescriptor(IPropertyNames.ID, AliasGroup.class, "getIdentifier", "setIdentifier");
result[0] = new PropertyDescriptor(IPropertyNames.NAME, AliasGroup.class, ... |
2188276_1 | public void setName(String value)
throws ValidationException
{
String data = getString(value);
if (data.length() == 0)
{
throw new ValidationException(s_stringMgr.getString("AliasGroup.error.blankname"));
}
if (!_name.equals(data))
{
final String oldValue = _name;
_name = data;
getPropertyChange... |
2188276_2 | public void setName(String value)
throws ValidationException
{
String data = getString(value);
if (data.length() == 0)
{
throw new ValidationException(s_stringMgr.getString("AliasGroup.error.blankname"));
}
if (!_name.equals(data))
{
final String oldValue = _name;
_name = data;
getPropertyChange... |
2188276_3 | public String getName()
{
return _name;
} |
2188276_4 | public synchronized boolean isValid()
{
return _name.length() > 0;
} |
2188276_5 | public String getReadOnlyTableOutputClassName()
{
return IDataSetDestinations.READ_ONLY_TABLE;
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.