method_id
stringlengths 36
36
| cyclomatic_complexity
int32 0
9
| method_text
stringlengths 14
410k
|
|---|---|---|
b6b62e70-886b-4d6f-b623-92eacf2a5b95
| 5
|
private void down() {
if ((currentRow + rowOffset) < grid.getNumRows() - 1) {
if (grid.getLineLength(currentRow + rowOffset + 1) <= currentCol
+ colOffset) {
if (colOffset > grid.getLineLength(currentRow + rowOffset + 1)) {
colOffset = grid.getLineLength(currentRow + rowOffset + 1)
- numberOfCols;
if (colOffset < 0) {
colOffset = 0;
currentCol = grid.getLineLength(currentRow + rowOffset
+ 1) - 1;
} else {
currentCol = numberOfCols - 1;
}
} else {
currentCol = grid.getLineLength(currentRow + rowOffset + 1)
- colOffset - 1;
}
}
if (currentRow < (numberOfRows - 1)) {
currentRow++;
} else {
scrollDown();
}
}
}
|
d5323e6c-19ec-48f2-b310-4e8d0c845464
| 3
|
public static void Checkout(Patient currentP,PatientProfilePage profileP){
ArrayList<Integer> prescriptions= new ArrayList<Integer>();
ArrayList<Integer> unpaid= new ArrayList<Integer>();
int Pid= currentP.getPid();
Prescription bean= new Prescription();
bean.setPid(Pid);
prescriptions= DatabaseProcess.getPrescription(Pid);
for(int i=0;i<prescriptions.size();i++){
Prescription presc=new Prescription();
presc.setPrescriptionID(prescriptions.get(i));
presc=(Prescription)DatabaseProcess.getRow(presc);
if(presc.getPayStatus()==false){
unpaid.add(presc.getPrescriptionID());
}
}
for(int j=0;j<unpaid.size();j++){
Prescription paid=new Prescription();
paid.setPrescriptionID(unpaid.get(j));
paid=(Prescription)DatabaseProcess.getRow(paid);
paid.setPayStatus(true);
DatabaseProcess.modifyRow(paid, "pay_status");
}
displayPrescription(profileP);
}
|
c1c59839-a2ad-4069-869f-ca02bb5e281b
| 9
|
public Expression optimize(ExpressionVisitor visitor, ItemType contextItemType) throws XPathException {
select = visitor.optimize(select, contextItemType);
adoptChildExpression(select);
regex = visitor.optimize(regex, contextItemType);
adoptChildExpression(regex);
flags = visitor.optimize(flags, contextItemType);
adoptChildExpression(flags);
if (matching != null) {
matching = matching.optimize(visitor, BuiltInAtomicType.STRING);
adoptChildExpression(matching);
}
if (nonMatching != null) {
nonMatching = nonMatching.optimize(visitor, BuiltInAtomicType.STRING);
adoptChildExpression(nonMatching);
}
if (pattern == null && regex instanceof StringLiteral && flags instanceof StringLiteral) {
try {
final Platform platform = Configuration.getPlatform();
final CharSequence regex = ((StringLiteral)this.regex).getStringValue();
final CharSequence flagstr = ((StringLiteral)flags).getStringValue();
final int xmlVersion = visitor.getConfiguration().getXMLVersion();
int flagBits = JRegularExpression.setFlags(flagstr);
pattern = new JRegularExpression(regex, xmlVersion, RegularExpression.XPATH_SYNTAX, flagBits);
if (pattern.matches("")) {
// prevent it being reported more than once
pattern = new JRegularExpression("x", xmlVersion, RegularExpression.XPATH_SYNTAX, flagBits);
invalidRegex("The regular expression must not be one that matches a zero-length string", "XTDE1150");
}
} catch (XPathException err) {
if ("XTDE1150".equals(err.getErrorCodeLocalPart())) {
throw err;
}
if ("FORX0001".equals(err.getErrorCodeLocalPart())) {
invalidRegex("Error in regular expression flags: " + err, "XTDE1145");
} else {
invalidRegex("Error in regular expression: " + err, "XTDE1140");
}
}
}
return this;
}
|
7f0edd1f-0364-4926-86ca-ad8f6c8681a7
| 7
|
private void findStraight() {
boolean inStraight = false;
int rank = -1;
int count = 0;
for (int i = Card.NO_OF_RANKS - 1; i >= 0 ; i--) {
if (rankDist[i] == 0) {
inStraight = false;
count = 0;
} else {
if (!inStraight) {
// First card of the potential Straight.
inStraight = true;
rank = i;
}
count++;
if (count >= 5) {
// Found a Straight!
straightRank = rank;
break;
}
}
}
// Special case for the 'Steel Wheel' (Five-high Straight with a 'wheeling Ace') .
if ((count == 4) && (rank == Card.FIVE) && (rankDist[Card.ACE] > 0)) {
wheelingAce = true;
straightRank = rank;
}
}
|
df8aa385-b285-4a94-bdda-f482dff49d50
| 4
|
private void checkReceived() {
OnDemandRequest onDemandRequest;
synchronized (aClass19_1370) {
onDemandRequest = (OnDemandRequest) aClass19_1370.popFront();
}
while (onDemandRequest != null) {
waiting = true;
byte buf[] = null;
if (clientInstance.cacheIndices[0] != null) {
buf = clientInstance.cacheIndices[onDemandRequest.dataType + 1].get(onDemandRequest.id);
}
if (!crcMatches(files[onDemandRequest.dataType][onDemandRequest.id], crcs[onDemandRequest.dataType][onDemandRequest.id], buf)) {
buf = null;
}
synchronized (aClass19_1370) {
if (buf == null) {
next.insertBack(onDemandRequest);
} else {
onDemandRequest.buffer = buf;
synchronized (aClass19_1358) {
aClass19_1358.insertBack(onDemandRequest);
}
}
onDemandRequest = (OnDemandRequest) aClass19_1370.popFront();
}
}
}
|
923d5558-d10f-4b9f-a4a1-a21e5fb52ed4
| 4
|
public static Employee getEmployeeFromDatabaseById(Integer paramId){
String id = null;
String name = null;
String surname = null;
String dateOfBirth = null;
String salary = null;
String salarytype = null;
Employee employee = null;
try {
resultSet = connection.createStatement().executeQuery("SELECT * FROM employees WHERE id="+paramId+";");
while (resultSet.next() == true){
id=resultSet.getString("id");
name=resultSet.getString("name");
surname=resultSet.getString("surname");
dateOfBirth=resultSet.getString("birthdate");
salary=resultSet.getString("salary");
salarytype=resultSet.getString("typesalary");
if(salarytype.equals("fixedsalary")){
employee = new FixedSalaryEmployee(Integer.valueOf(id), name, surname, DateParser.getDateFromString(dateOfBirth), Double.valueOf(salary));
}else if(salarytype.equals("hourlywages")){
employee = new HourlyWageEmployee(Integer.valueOf(id), name, surname, DateParser.getDateFromString(dateOfBirth), Double.valueOf(salary));
}
}
} catch (SQLException e) {
e.printStackTrace();
}
return employee;
}
|
5d8be4e5-5f43-4f8d-b81b-700a25c08374
| 9
|
public static void main(String[] args) throws Exception {
String tmpStr;
String filename;
DataSource source;
Instances data;
int classIndex;
Capabilities cap;
Iterator iter;
if (args.length == 0) {
System.out.println(
"\nUsage: " + Capabilities.class.getName()
+ " -file <dataset> [-c <class index>]\n");
return;
}
// get parameters
tmpStr = Utils.getOption("file", args);
if (tmpStr.length() == 0)
throw new Exception("No file provided with option '-file'!");
else
filename = tmpStr;
tmpStr = Utils.getOption("c", args);
if (tmpStr.length() != 0) {
if (tmpStr.equals("first"))
classIndex = 0;
else if (tmpStr.equals("last"))
classIndex = -2; // last
else
classIndex = Integer.parseInt(tmpStr) - 1;
}
else {
classIndex = -3; // not set
}
// load data
source = new DataSource(filename);
if (classIndex == -3)
data = source.getDataSet();
else if (classIndex == -2)
data = source.getDataSet(source.getStructure().numAttributes() - 1);
else
data = source.getDataSet(classIndex);
// determine and print capabilities
cap = forInstances(data);
System.out.println("File: " + filename);
System.out.println("Class index: " + ((data.classIndex() == -1) ? "not set" : "" + (data.classIndex() + 1)));
System.out.println("Capabilities:");
iter = cap.capabilities();
while (iter.hasNext())
System.out.println("- " + iter.next());
}
|
0d4602e3-6036-4b58-b831-68c08c7c9f9e
| 8
|
public void reloadItems(Client c) {
for(GroundItem i : items) {
if(c != null){
if (c.getItems().tradeable(i.getItemId()) || i.getName().equalsIgnoreCase(c.playerName)) {
if (c.distanceToPoint(i.getItemX(), i.getItemY()) <= 60) {
if(i.hideTicks > 0 && i.getName().equalsIgnoreCase(c.playerName)) {
c.getItems().removeGroundItem(i.getItemId(), i.getItemX(), i.getItemY(), i.getItemAmount());
c.getItems().createGroundItem(i.getItemId(), i.getItemX(), i.getItemY(), i.getItemAmount());
}
if(i.hideTicks == 0) {
c.getItems().removeGroundItem(i.getItemId(), i.getItemX(), i.getItemY(), i.getItemAmount());
c.getItems().createGroundItem(i.getItemId(), i.getItemX(), i.getItemY(), i.getItemAmount());
}
}
}
}
}
}
|
2d34d6e1-98d9-4a89-bb31-1bf7816278ed
| 0
|
public Month getMonthStored()
{
return monthStored;
}
|
1b89cea9-5ac0-4b5e-af6b-c5420471cf8a
| 4
|
public void registriereFeature(Feature feature)
{
if(feature instanceof TickListener)
_tickListeners.add((TickListener) feature);
if(feature instanceof BefehlAusgefuehrtListener)
_befehlAusgefuehrtListeners
.add((BefehlAusgefuehrtListener) feature);
if(feature instanceof RaumGeaendertListener)
_kontext.getRaumGeaendertListeners().add(
(RaumGeaendertListener) feature);
if(feature instanceof BefehlAusfuehrenListener)
_befehlAusfuehrenListeners.add((BefehlAusfuehrenListener) feature);
// TODO: Feature registrieren ( Lebenspunkte, ... )
}
|
eb888929-93b6-45ba-926d-afd71e660a96
| 7
|
public static RedisBigTableKey inflate(byte[] inflate)
{
boolean rowFinished = false;
boolean cfFinished = false;
List<Byte> rowBytes = new ArrayList<Byte>();
List<Byte> cfBytes = new ArrayList<Byte>();
List<Byte> cqBytes = new ArrayList<Byte>();
for (byte b : inflate)
{
if (!rowFinished && b == Utils.RECORD_SEPARATOR)
{
rowFinished = true;
continue;
}
else if (!cfFinished && b == Utils.RECORD_SEPARATOR)
{
cfFinished = true;
continue;
}
if (!rowFinished)
{
rowBytes.add(b);
}
else if (!cfFinished)
{
cfBytes.add(b);
}
else
{
cqBytes.add(b);
}
}
byte[] row = toPrim(rowBytes);
byte[] cf = toPrim(cfBytes);
byte[] cq = toPrim(cqBytes);
return new RedisBigTableKey(row, cf, cq);
}
|
f4dfe518-7559-440a-add5-67e78bd9de49
| 0
|
public int getTailleX() {
return tailleX;
}
|
9c122e86-3218-4e33-a36c-3142252d5451
| 3
|
@Override
public boolean reachesDestination(Packet p) {
// TODO Auto-generated method stub
Iterator<Edge> edgeIt = p.origin.outgoingConnections.iterator();
GenericWeightedEdge e;
while(edgeIt.hasNext()){
e = (GenericWeightedEdge) edgeIt.next();
if(e.endNode.equals(p.destination)){
etxLink = e.getEtx();
}
}
double r = ud.nextSample();
//System.out.println("De node="+p.origin.ID+" Para Node="+p.destination.ID);
//System.out.println("r = "+String.format("%.2f", r)+", extLink = "+String.format("%.2f", etxLink) + " aceita? "+( r >= etxLink));
if(r >= etxLink)
return true;
StatisticsNode.countGlobalDropMessages();
return false;
}
|
94d1a733-7848-474e-8c95-2434ec0948a2
| 6
|
public ModifierMatcher forceAccess(int accessModif, boolean andAbove) {
if (andAbove) {
if (accessModif == Modifier.PRIVATE)
return this;
if (accessModif == 0)
return this.and(Modifier.PRIVATE, 0);
ModifierMatcher result = this.and(Modifier.PUBLIC, PUBLIC);
if (accessModif == Modifier.PROTECTED)
return result.or(this.and(Modifier.PROTECTED,
Modifier.PROTECTED));
if (accessModif == Modifier.PUBLIC)
return result;
throw new IllegalArgumentException("" + accessModif);
} else {
if (accessModif == 0)
return this.and(Modifier.PRIVATE | Modifier.PROTECTED
| Modifier.PUBLIC, 0);
else
return this.and(accessModif, accessModif);
}
}
|
9c308846-8f23-4dff-8d39-050d4f7eaa16
| 9
|
protected void calcRepulsion()
{
int vertexCount = vertexArray.length;
for (int i = 0; i < vertexCount; i++)
{
for (int j = i; j < vertexCount; j++)
{
// Exits if the layout is no longer allowed to run
if (!allowedToRun)
{
return;
}
if (j != i)
{
double xDelta = cellLocation[i][0] - cellLocation[j][0];
double yDelta = cellLocation[i][1] - cellLocation[j][1];
if (xDelta == 0)
{
xDelta = 0.01 + Math.random();
}
if (yDelta == 0)
{
yDelta = 0.01 + Math.random();
}
// Distance between nodes
double deltaLength = Math.sqrt((xDelta * xDelta)
+ (yDelta * yDelta));
double deltaLengthWithRadius = deltaLength - radius[i]
- radius[j];
if (deltaLengthWithRadius < minDistanceLimit)
{
deltaLengthWithRadius = minDistanceLimit;
}
double force = forceConstantSquared / deltaLengthWithRadius;
double displacementX = (xDelta / deltaLength) * force;
double displacementY = (yDelta / deltaLength) * force;
if (isMoveable[i])
{
dispX[i] += displacementX;
dispY[i] += displacementY;
}
if (isMoveable[j])
{
dispX[j] -= displacementX;
dispY[j] -= displacementY;
}
}
}
}
}
|
668f3ce4-262b-4101-96ee-35f170b9185d
| 8
|
static void afficheFiltre()
{
//On crée un nouveau filtre
Filter filtre = new Filter()
{
//On défini les propriétés du filtre à l'aide
//de la méthode matches
public boolean matches(Object ob)
{
//1 ère vérification : on vérifie que les objets
//qui seront filtrés sont bien des Elements
if(!(ob instanceof Element)){return false;}
//On crée alors un Element sur lequel on va faire les
//vérifications suivantes.
Element element = (Element)ob;
//On crée deux variables qui vont nous permettre de vérifier
//les conditions de nom et de prenom
int verifNom = 0;
int verifPrenom = 0;
//2 ème vérification: on vérifie que le nom est bien "CynO"
if(element.getChild("nom").getTextTrim().equals("CynO"))
{
verifNom = 1;
}
//3 ème vérification: on vérifie que CynO possède un prenom "Laurent"
//On commence par vérifier que la personne possède un prenom,
//en effet notre fichier XML possède des étudiants sans prénom !
Element prenoms = element.getChild("prenoms");
if(prenoms == null){return false;}
//On constitue une list avec tous les prenom
List listprenom = prenoms.getChildren("prenom");
//On effectue la vérification en parcourant notre liste de prenom
//(voir: 3.1. Parcourir une arborescence)
Iterator i = listprenom.iterator();
while(i.hasNext())
{
Element courant = (Element)i.next();
if(courant.getText().equals("Laurent"))
{
verifPrenom = 1;
}
}
//Si nos conditions sont remplies on retourne true, false sinon
if(verifNom == 1 && verifPrenom == 1)
{
return true;
}
return false;
}
@Override
public Filter and(Filter arg0) {
// TODO Auto-generated method stub
return null;
}
@Override
public List filter(List arg0) {
// TODO Auto-generated method stub
return null;
}
@Override
public Object filter(Object arg0) {
// TODO Auto-generated method stub
return null;
}
@Override
public Filter negate() {
// TODO Auto-generated method stub
return null;
}
@Override
public Filter or(Filter arg0) {
// TODO Auto-generated method stub
return null;
}
@Override
public Filter refine(Filter arg0) {
// TODO Auto-generated method stub
return null;
}
};//Fin du filtre
//getContent va utiliser notre filtre pour créer une liste d'étudiants répondant
//à nos critères.
List resultat = racine.getContent(filtre);
//On affiche enfin l'attribut classe de tous les éléments de notre list
Iterator i = resultat.iterator();
while(i.hasNext())
{
Element courant = (Element)i.next();
System.out.println(courant.getAttributeValue("classe"));
}
}
|
381cb411-9374-4ac2-8688-90d8c83dc13e
| 3
|
public Dimension getMaxDimension() {
int width = 0;
int height = 0;
for(int i=0; i<images.length; i++) {
ImageIcon tempIcon = new ImageIcon(images[i]);
if(tempIcon.getIconWidth() > width) {width = tempIcon.getIconWidth();}
if(tempIcon.getIconHeight() > height) {height = tempIcon.getIconHeight();}
}
return new Dimension(width, height);
}
|
1c5385da-e49e-48ad-8936-10112d93c992
| 1
|
private String getBase64File() {
try {
// return "/9j/4AAQSkZJRgABAQEASABIAAD//gBDRmlsZSBzb3VyY2U6IGh0dHA6Ly9jb21tb25zLndpa2ltZWRpYS5vcmcvd2lraS9GaWxlOlJvb25leV9DTC5qcGf/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAFvAQ4DASIAAhEBAxEB/8QAHAAAAgIDAQEAAAAAAAAAAAAABAUDBgECBwAI/8QASBAAAQMDAgQEAwYEAwUHAwUAAQIDEQAEIQUxBhJBURMiYXEHgZEUIzKhscFCUtHwFWLhFiQzQ/EIJVNjcoKSF8LSZHOisrP/xAAbAQACAwEBAQAAAAAAAAAAAAACAwEEBQAGB//EADcRAAICAQQABAMFBgYDAAAAAAABAhEDBBIhMQUTQVEiMmEUcYGh8DNCkbHB0QYVI2Lh8UNSwv/aAAwDAQACEQMRAD8AUOGduma1OUGAaxyHIzHeKwSYBqge7fJG6mSdz71qcpMZ7TXnJnaP7zWT+CB12qUBIFUkjaZqBafNAHXajijmBnFDrSAYEe1SKkgecgziBipJTknfbFaqTB3gYrUk8oJEe/vRoUzMAKxicRU6DIH0odCYO8EZrbn5TAOe1cyIoNbIwOpP505ev0sWaWGlEY5Ux19arzSXFmeu9SrQtRlZMdjQxY/sIA5pUFTUqSUjInpQORgGR1nFEIeMQR16VNDlNE3jRBiY6RWC4O8+teBCknImt/s3PsMen7VAVsjAyB6xFZSyT+ERjNTps1gkpMxUrZU2YWknpzdalAuXuQJYUSCR+dENsJTuO8CKlDqDGwPtWq1JGRE71NHWmarUlCJAydooJS+fmMD/AEqS4+8Pz22qDlmYJjp2riGag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stjmI7nNdR3qHsHOInse1TXYIgxEifSoLYq5QTBii7sQ0CdhjFD6j10LTJEevejtOUfFYJV/EDPzFAlQKjO2DFGWigFJydwflRAI7ai4SoEpXztgdpNDvfZ3SZKQrbJ3FIrZ51pYVbOqlW6TsR2NTLurd59CHUrbeJwEnE0/aeRTZXda+HPDOp3C3WWHLG4M8zluvl5p7pgpikbnwebQSbTWHFk7eMymB8wRXQ7vSrp1tRtHYdgwhRie4muc32v3Wm3a2nluJWgwQFT+dMU5PgJfDyga4+EF8oKUm/tQenlWmk1x8L+I7fmVYuWV0UboaehQj/1AVZ2+L9QW3I5ineQaJ0jjS9Zvk/aENrbIySM0Tc66JeRvk5HqbeqaNdhOq2rtq+kwHFDB/8AcN6v/C+vNapaEPuJFw3+IkjI71bNS1LTNbtnW7lo8ysE8tce13TDpOorOnLLaVYIGx+VBLHHNGqpljR+I5NLO3ymf//Z";
return Base64.encode(capturedImageBytes);
} catch (Exception e) {
}
return null;
}
|
a5b77db3-be6d-4423-aefc-6c82979d8893
| 1
|
public boolean isOver(){
if (length < Time.getTime() - start){
start = -1;
return true;
}
return false;
}
|
a4c25c65-1000-4029-94e0-0dc11c95e634
| 4
|
public boolean actualizar(String tabla, String campos, String[] valores, String clausula) {
String[] camp = campos.split(",");
int max = camp.length;
String c;
String query = "UPDATE " + tabla + " SET ", aux = "";
if (clausula == null) {
c = "1";
} else {
c = clausula;
}
for (int i = 0; i < max; i++) {
aux += camp[i] + "=?";
if (i != max - 1) {
aux += ",";
}
}
query += aux + " WHERE " + c;
if (prepararEstados(query, valores)) {
//Devuelve verdadero cuando ha surgido algun error
System.out.println("actualizar falso");
return false;
} else {
//Devuelve falso cuando todo ha salido bien
System.out.println("actualizar verdadero");
return true;
}
}
|
b990a1b6-f1f6-42ce-9395-46ebcee08c00
| 8
|
public boolean canShot(MyObject obj, XY xy, int maxDistance) {
MyObject aim = MODEL.getBoard().get(xy);
if (aim == null) {
MODEL.showError("Нельзя стрелять по пустой клетке!");
return false;
}
if (aim instanceof Tower) {
MODEL.showError("Нельзя стрелять по Башням!");
return false;
}
if (!aim.isVisible()) {
MODEL.showError("Цель не видна!");
return false;
}
if (xy.equals(obj.getXY())) {
MODEL.showError("Нельзя стрелять по себе!");
return false;
}
if (obj.isInDanger()) {
MODEL.showError("Нельзя стрелять, рядом враг!");
return false;
}
if (XY.distance(xy, obj.getXY()) > maxDistance) {
MODEL.showError("Нельзя стрелять, максимальная дальность - " + maxDistance);
return false;
}
if (!XY.onOneLine(obj.getXY(), xy)) {
MODEL.showError("Стрелять можно только по прямой!");
return false;
}
if (!obj.seeTheAim(xy)) {
MODEL.showError("Препятствие на линии стрельбы!");
return false;
}
return true;
}
|
3e45e649-e3f1-4fbf-a1b0-9703305c78b4
| 3
|
public static void main(String[] args) {
// Selection Sort
int[] nums = { 8, 2, 5, 6, 1, 9, 10 };
System.out.println("Initial array: " + Arrays.toString(nums));
for (int i = 0; i < nums.length - 1; i++) {
for (int j = i + 1; j < nums.length; j++) {
if (nums[i] > nums[j]) {
int iVal = nums[i];
nums[i] = nums[j];
nums[j] = iVal;
}
System.out.println("Step [" + i + ", " + j + "]" + Arrays.toString(nums));
}
}
}
|
65906ad8-bacb-4e4f-b729-517f85692964
| 9
|
public static boolean isValid(String cardNumber) {
cardNumber = cardNumber.replace(" ", "");
cardNumber = cardNumber.replace("-","");
String reversedNumber = new StringBuilder(cardNumber).reverse().toString();
char [] reversedDigitArray = reversedNumber.toCharArray();
/*
temporarily holds a single digit from the character array
*/
char tempDigitHolder;
/*
holds the single digit of the credit card number as an integer
*/
int singleDigit;
/*
the sum after adding up all values in the algorithm
*/
int sum = 0;
// Luhn algorithm for checking a valid credit card
// First find the sum according to the algorithm
if (reversedNumber.length() == 15) {
for (int x = 0; x < 15; x++) {
if (x%2 == 1) {
tempDigitHolder = (char)(int) reversedDigitArray[x];
singleDigit = Character.getNumericValue(tempDigitHolder);
singleDigit = singleDigit * 2; // double every other digit starting from first digit
if (singleDigit > 9) {
singleDigit = singleDigit%10 + 1; // 10 = 1 + 0 so take %10 and add 1
sum += singleDigit;
}
else {
sum += singleDigit;
}
}
else {
tempDigitHolder = (char)(int) reversedDigitArray[x];
singleDigit = Character.getNumericValue(tempDigitHolder);
sum += singleDigit;
}
}
}
else {
for (int x = 0; x < 16; x++){ // Starting from the 1st digit, we double every other number
// Then sum each of the digits in the modified digit list
if (x%2 == 1) {
tempDigitHolder = (char)(int) reversedDigitArray[x];
singleDigit = Character.getNumericValue(tempDigitHolder);
singleDigit = singleDigit * 2; // double every other digit starting from first digit
if (singleDigit > 9) {
singleDigit = singleDigit%10 + 1; // 10 = 1 + 0 so take %10 and add 1
sum += singleDigit;
}
else {
sum += singleDigit;
}
}
else {
tempDigitHolder = (char)(int) reversedDigitArray[x];
singleDigit = Character.getNumericValue(tempDigitHolder);
sum += singleDigit; // if we are looking at o
}
}
}
// if sum is a multiple of 10 and is not equal to 0, then cc number is valid
if(sum%10 == 0 && sum != 0) {
return true;
}
// else not a valid number
else {
return false;
}
}
|
37a01a78-1b1b-442a-ae99-fad74e77156c
| 2
|
private void fieldUpdate(){
if (running && field != null)
{
}
}
|
d826995b-b84a-44ce-a02f-26b748f52c67
| 9
|
public XSLVariableDeclaration bindVariable(StructuredQName qName) {
NodeInfo curr = this;
NodeInfo prev = this;
// first search for a local variable declaration
if (!isTopLevel()) {
AxisIterator preceding = curr.iterateAxis(Axis.PRECEDING_SIBLING);
while (true) {
curr = (NodeInfo)preceding.next();
while (curr == null) {
curr = prev.getParent();
while (curr instanceof StyleElement && !((StyleElement)curr).seesAvuncularVariables()) {
// a local variable is not visible within a sibling xsl:fallback or saxon:catch element
curr = curr.getParent();
}
prev = curr;
if (curr.getParent() instanceof XSLStylesheet) {
break; // top level
}
preceding = curr.iterateAxis(Axis.PRECEDING_SIBLING);
curr = (NodeInfo)preceding.next();
}
if (curr.getParent() instanceof XSLStylesheet) {
break;
}
if (curr instanceof XSLVariableDeclaration) {
XSLVariableDeclaration var = (XSLVariableDeclaration)curr;
if (var.getVariableQName().equals(qName)) {
return var;
}
}
}
}
// Now check for a global variable
// we rely on the search following the order of decreasing import precedence.
XSLStylesheet root = getPrincipalStylesheet();
return root.getGlobalVariable(qName);
}
|
e477f27f-ec19-4cd3-9f57-74dd48dde55b
| 5
|
@Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((color == null) ? 0 : color.hashCode());
result = prime * result
+ ((dateOfIssue == null) ? 0 : dateOfIssue.hashCode());
result = prime * result + ((model == null) ? 0 : model.hashCode());
result = prime * result + ((price == null) ? 0 : price.hashCode());
result = prime * result
+ ((producer == null) ? 0 : producer.hashCode());
return result;
}
|
23edc72c-f2f0-4220-aa44-8a45d3d82874
| 3
|
public void setProfile( Profile p ) {
for ( Map.Entry<Achievement, JCheckBox> entry : generalAchBoxes.entrySet() ) {
String achId = entry.getKey().getId();
JCheckBox box = entry.getValue();
box.setSelected(false);
for ( AchievementRecord rec : p.getAchievements() )
if ( rec.getAchievementId().equals( achId ) )
box.setSelected(true);
}
this.repaint();
}
|
d08e76e4-df8e-4180-8d4b-48441cf5cb8f
| 6
|
@Override
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (getClass() != obj.getClass())
return false;
ImovelDoCorretor other = (ImovelDoCorretor) obj;
if (id == null) {
if (other.id != null)
return false;
} else if (!id.equals(other.id))
return false;
return true;
}
|
092034e2-89c6-4fcd-9420-0c493aa0d5b3
| 5
|
public Object nextEntity(char ampersand) throws JSONException {
StringBuffer sb = new StringBuffer();
for (;;) {
char c = next();
if (Character.isLetterOrDigit(c) || c == '#') {
sb.append(Character.toLowerCase(c));
} else if (c == ';') {
break;
} else {
throw syntaxError("Missing ';' in XML entity: &" + sb);
}
}
String string = sb.toString();
Object object = entity.get(string);
return object != null ? object : ampersand + string + ";";
}
|
912ebe74-fb6c-44bc-a895-c503cd1991e7
| 2
|
public static int Str2Int(String str)
{
if (str == null || "".equals(str))
return 0;
return Integer.parseInt(str);
}
|
a38d8ec5-a519-4f3b-bd73-95f7a0dfc7c3
| 0
|
public double getLuck() {
return luck;
}
|
64acdbdb-950d-440a-8226-fd4bacfb6a34
| 4
|
public Object invokeConstructor()
{
Class[] types = c.getParameterTypes();
Object[] values = new Object[types.length];
for (int i = 0; i < types.length; i++)
{
values[i] = makeDefaultValue(types[i]);
}
if (types.length > 0)
{
PropertySheet sheet = new PropertySheet(types, values);
JOptionPane.showMessageDialog(this, sheet, resources
.getString("dialog.method.params"),
JOptionPane.QUESTION_MESSAGE);
values = sheet.getValues();
}
try
{
return c.newInstance(values);
}
catch (InvocationTargetException ex)
{
parent.new GUIExceptionHandler().handle(ex.getCause());
return null;
}
catch (Exception ex)
{
parent.new GUIExceptionHandler().handle(ex);
return null;
}
}
|
3a690c49-72bf-4dbf-ba9b-c0a984b8004b
| 2
|
public int compare(Entity e0, Entity e1) {
if (e1.y < e0.y) return +1;
if (e1.y > e0.y) return -1;
return 0;
}
|
f5c0882e-b6fe-4d22-80fc-bf5783f8384d
| 2
|
@Override
public void run() {
while (!Thread.currentThread().isInterrupted()) {
try {
generateQuotes();
} catch (InterruptedException e) {
Thread.currentThread().interrupt();
}
}
}
|
8f178499-53d0-4f5a-a66c-9aa7b9c8b897
| 2
|
public String toString() {
String tempString = "";
for (Vertex v : adjMap.keySet()) {
for (Vertex w : this.getAdjacentVertices(v)) {
tempString += v + "-" + w + "\n";
}
}
return tempString;
}
|
f8296d67-0b07-4bfc-b967-ab0ecc8d818c
| 1
|
public void send(int clientId, Message msg) {
System.out.println("Sending message to client " + clientId + ": \"" + msg.encode() + "\"");
try {
server.send(clientId, msg.encode());
} catch (CouldNotSendPacketException e) {
System.out.println("Could not send message to client " + clientId + ": " + e.getMessage());
}
}
|
c80ee87c-c404-423c-b1c4-16e292131500
| 9
|
private String next(String string) {
//Primeiro cria o vetor de maximos e o de presencas, que eh igual no inicio
int max[] = new int[26];
int presencas[] = new int[26];
int maxIdx = -1;
for ( int i = 0; i < string.length(); i++ ) {
char chr = string.charAt(i);
int idx = ord(chr);
max[idx]++;
presencas[idx]++;
if ( idx > maxIdx ) {
maxIdx = idx;
}
}
//Inicializacoes
StringBuffer result = new StringBuffer( string );
int currIdx = string.length() - 1;
char currChar = string.charAt(currIdx);
int nextTry = ord(currChar) + 1;
// Retira o caractere do indice corrente
int currCharIdx = ord(currChar);
presencas[currCharIdx]--;
while ( currIdx < string.length() && currIdx >= 0 ) {
//Inicia a pesquisa
while ( nextTry <= maxIdx ) {
if ( presencas[nextTry] + 1 <= max[nextTry] ) {
result.setCharAt(currIdx, chr(nextTry));
presencas[nextTry]++;
break;
} else {
nextTry++;
}
}
//Verifica o que fazer na pr�xima iteracao
if ( nextTry > maxIdx ) {
//Tem que voltar um caractere
currIdx--;
if ( currIdx >= 0 ) {
currChar = string.charAt(currIdx);
nextTry = ord(currChar) + 1;
currChar = string.charAt(currIdx);
currCharIdx = ord(currChar);
presencas[currCharIdx]--;
}
} else {
currIdx++;
nextTry = 0;
}
}
if ( currIdx < 0 ) {
return null;
} else {
return result.toString();
}
}
|
2d7f3391-b07b-4aa2-8cb7-2ae143b4732d
| 8
|
private void showResultVisualization() {
int[] serviceCandidatesPerClass =
new int[serviceClassesList.size()];
for (int i = 0; i < serviceClassesList.size(); i++) {
serviceCandidatesPerClass[i] =
serviceClassesList.get(i).
getServiceCandidateList().size();
}
if (algorithmVisualization != null) {
algorithmVisualization.closeWindow();
}
if (geneticAlgorithmExecuted && antAlgorithmExecuted) {
algorithmVisualization =
new AlgorithmsVisualization(
geneticAlgorithm.getNumberOfDifferentSolutions(),
geneticAlgorithm.getMaxUtilityPerPopulation(),
geneticAlgorithm.getAverageUtilityPerPopulation(),
antAlgorithm.getOptUtilityPerIteration(),
geneticAlgorithmExecuted, antAlgorithmExecuted);
}
else if (geneticAlgorithmExecuted && !antAlgorithmExecuted) {
algorithmVisualization =
new AlgorithmsVisualization(
geneticAlgorithm.getNumberOfDifferentSolutions(),
geneticAlgorithm.getMaxUtilityPerPopulation(),
geneticAlgorithm.getAverageUtilityPerPopulation(),
geneticAlgorithmExecuted, antAlgorithmExecuted);
}
else if (!geneticAlgorithmExecuted && antAlgorithmExecuted) {
algorithmVisualization =
new AlgorithmsVisualization(
antAlgorithm.getOptUtilityPerIteration(),
geneticAlgorithmExecuted, antAlgorithmExecuted);
}
}
|
3fac9f38-a508-4448-a31d-6dc467e676e0
| 2
|
public Schema.Player match(Schema.Player source) {
for ( Map.Entry<String, String> id : source.id.entrySet()) {
Schema.Player p = find(id.getKey(), id.getValue());
if (null != p) {
return p;
}
}
return PLAYER_NOT_FOUND;
}
|
03de3492-2ef7-4a66-8fc1-48a3a3d164d0
| 7
|
private JSONWriter append(String string) throws JSONException {
if (string == null) {
throw new JSONException("Null pointer");
}
if (this.mode == 'o' || this.mode == 'a') {
try {
if (this.comma && this.mode == 'a') {
this.writer.write(',');
}
this.writer.write(string);
} catch (IOException e) {
throw new JSONException(e);
}
if (this.mode == 'o') {
this.mode = 'k';
}
this.comma = true;
return this;
}
throw new JSONException("Value out of sequence.");
}
|
04747c1d-6a26-4802-8841-3a44f21cfe4b
| 7
|
public String reverseWordsII(String s) {
if (s == null || s.length() == 0)
return "";
s = s.trim();
int l = 0, r = 0;
StringBuilder sb = new StringBuilder();
while (r <= s.length()) {
if (r == s.length()) {
sb.insert(0, ' ');
sb.insert(0, s.substring(l, r));
r++;
} else if (s.charAt(r) == ' ') {
String sub = s.substring(l, r);
sb.insert(0, ' ');
sb.insert(0, sub);
while (r < s.length() && s.charAt(r) == ' ')
r++;
l = r;
} else
r++;
}
return sb.toString().trim();
}
|
054a1185-bc75-4403-a005-d0171e8c5ac3
| 9
|
public void validate(){
if (getUserName()==null||getUserName().length()==0) {
addFieldError("userName", "用户名不能为空");
}else {
LoginRegisterInfo info=new LoginRegisterInfo();
list=info.queryInfo("userName", getUserName());
UserInfoPO ui=new UserInfoPO();
for (int i = 0; i < list.size(); i++) {
ui=list.get(i);
if (ui.getUserName().equals(getUserName())) {
addFieldError("userName", "该用户名已存在");
}
}
}
if (getPassword1()==null||getPassword1().length()==0) {
addFieldError("password1", "密码不许为空");
}else if (getPassword2()==null||getPassword2().length()==0) {
addFieldError("password2", "重复密码不许为空");
}else if(!getPassword1().equals(getPassword2())) {
addFieldError("password2", "两次密码不一致");
}
}
|
d162ab65-1952-4331-a632-e3ddd693008f
| 1
|
@Override
public void draw(List<Row> rows, ViewEventArgs args, int from){
if (from >= rows.size()){
from = 0;
}
this.setRows(rows);
//System.out.println("Scrollable: from: " + from + " rows: " + this.getRows().size());
this.document.draw(rows, args, from);
//System.out.println("AFTER: at decorator: from: " + from + " rows: " + rows.size());
}
|
b25e0186-bd77-4126-a596-febfd6800ce1
| 9
|
@Override
public String getColumnName(int column){
switch (column){
case 0:
return COLUMN1;
case 1:
return COLUMN2;
case 2:
return COLUMN3;
case 3:
return COLUMN4;
case 4:
return COLUMN5;
case 5:
return COLUMN6;
case 6:
return COLUMN7;
case 7:
return COLUMN8;
case 8:
return COLUMN9;
default:
throw new IndexOutOfBoundsException("Column does not exist");
}
}
|
01f1741b-f442-406f-b587-0fb9655d6f57
| 9
|
@Override
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (getClass() != obj.getClass())
return false;
ClienteTelefone other = (ClienteTelefone) obj;
if (descricao == null) {
if (other.descricao != null)
return false;
} else if (!descricao.equals(other.descricao))
return false;
if (telefone == null) {
if (other.telefone != null)
return false;
} else if (!telefone.equals(other.telefone))
return false;
return true;
}
|
342cbe98-062e-4944-9919-30140f23df18
| 5
|
public static void test_3a(){
try{
System.out.println("\n\nTestCase-3A\n\n");
TestNetwork n=new TestNetwork(4,4,2);
Paxos p=new Paxos(n);
p.runPaxos();
n.change_DPmode(-1,1);
for(int i=0;i<10;i++) //Block the channel of all processes
n.block_channel(i, 1);
Thread.sleep(500);
for(int i=0;i<4;i++) //Release all Proposers
n.block_channel(i,0);
Thread.sleep(1000);
for(int i=0;i<9;i++) //Shuffling all message queues
n.shuffle_msg(i);
for(int i=4;i<8;i++) //Release all Acceptors
n.block_channel(i,0);
Thread.sleep(1000);
n.block_channel(9,0); //Release one of the learner's channel
Thread.sleep(1000);
n.block_channel(8,0); //Lets release the next learner's channel
Thread.sleep(5000);
n.terminate_run();
Thread.sleep(2000);
System.out.println("\n\nTERMINATED PAXOS RUN-3A");
n.printTrace();
}
catch(Exception e){}
}
|
967e8aa9-fb4a-4060-a96a-ee3ad848b344
| 0
|
private void jButtonQuitterActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButtonQuitterActionPerformed
//Récupération de la méthode contrôleur 'quitter'
this.ctrl.quitter();
}//GEN-LAST:event_jButtonQuitterActionPerformed
|
52186334-8270-429f-92ee-919222b6bc2e
| 3
|
void readProteinFile() {
proteinByTrId = new HashMap<String, String>();
if (proteinFile.endsWith("txt") || proteinFile.endsWith("txt.gz")) readProteinFileTxt();
else if (proteinFile.endsWith(SnpEffPredictorFactoryGenBank.EXTENSION_GENBANK)) readProteinFileGenBank();
else readProteinFileFasta();
}
|
3ae00184-60da-4a80-a897-c6d880a3fc1f
| 2
|
@Override
public boolean contains(Object element)
{
Node currentNode = firstNode;
boolean elementIsInSet = false;
while (currentNode != null)
{
if (element.equals(currentNode.element))
{
elementIsInSet = true;
break;
} else
{
currentNode = currentNode.nextNode;
}
}
return elementIsInSet;
}
|
5b0ded7d-3c67-4bbe-91d7-259ad3791bf0
| 1
|
public String operandsToString(){
String str = new String();
for(double operand: operandStack){
str = str + (operand + " ");
}
return str;
}
|
692136c1-1090-4f38-ae82-9f0d7c1d4566
| 3
|
private void jButton18ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton18ActionPerformed
// TODO add your handling code here:
String str="";
Juego j = new Juego();
List Plata = new ArrayList();
str = this.jTextField23.getText();
if(Biblio.containsKey(str)){
Biblio.remove(str);
j.setNombre(this.jTextField20.getText().toUpperCase());
j.setEmpresa(this.jTextField21.getText());
for(int q=0;q<rr.size();q++){
Plata.add(rr.get(q));
}
j.setPlataformas(Plata);
j.setAño((Integer) this.jComboBox6.getSelectedItem());
j.setGenero((String) this.jComboBox7.getSelectedItem());
j.setClasificacion((String) this.jComboBox8.getSelectedItem());
if(Biblio.containsKey(j.getNombre())){
JOptionPane.showMessageDialog(null,"El Juego Ya Esta Ingresado");
return;
}
Biblio.put(j.getNombre(), j);
JOptionPane.showMessageDialog(null,"Juego Actualizado");
return;
}else{
JOptionPane.showMessageDialog(null,"Juego No Encontrado");
return;
}
}//GEN-LAST:event_jButton18ActionPerformed
|
a049b705-b1c4-4a56-ae67-c3431aaa50c4
| 7
|
@Override
public boolean onCommand(CommandSender sender, Command command, String label, String[] args) {
if(sender.hasPermission("NEC.fbroadcast") || sender.isOp() || sender instanceof BlockCommandSender || sender instanceof ConsoleCommandSender) {
if(command.getName().equalsIgnoreCase("FBroadcast")) {
if(args.length == 0) {
sender.sendMessage(plugin.prefix + "Use " + plugin.SText + "/FBroadcast <message>");
return true;
} else {
StringBuilder msg = new StringBuilder(args[0]);
for(int i = 1; i < args.length; i++) {
msg.append(" ").append(args[i]);
}
String m = msg.toString();
String m1 = ChatColor.translateAlternateColorCodes('&', m);
Bukkit.broadcastMessage(m1);
return true;
}
}
}
sender.sendMessage(plugin.prefix + "You don't have permissions to use FBroadcast");
return true;
}
|
85bb1c60-d5f4-4827-8a89-e9c01dccf7dd
| 4
|
private static int partition(long arr[], byte[] values, int sizeOf, int left, int right)
{
int i = left, j = right;
long tmp;
long pivot = arr[left + random.nextInt(right - left + 1)];
byte[] valueTemplate = new byte[sizeOf];
while (i <= j) {
while (arr[i] < pivot)
i++;
while (arr[j] > pivot)
j--;
if (i <= j) {
tmp = arr[i];
/* Swap */
System.arraycopy(values, j * sizeOf, valueTemplate, 0, sizeOf);
System.arraycopy(values, i * sizeOf, values, j * sizeOf, sizeOf);
System.arraycopy(valueTemplate, 0, values, i * sizeOf, sizeOf);
arr[i] = arr[j];
arr[j] = tmp;
i++;
j--;
}
}
return i;
}
|
1fdc1990-b8e1-4bd6-9fb8-e33d12567163
| 3
|
public PostParameter[] getParameters() throws WeiboException{
List<PostParameter> list= new ArrayList<PostParameter>();
Class<Query> clz=Query.class;
Field[] fields=clz.getDeclaredFields();
for (Field field : fields) {
field.setAccessible(true);
String fieldName=field.getName();
String firstLetter = fieldName.substring(0, 1).toUpperCase();
String getMethodName = "get" + firstLetter+ fieldName.substring(1);
Method getMethod;
try {
getMethod = clz.getMethod(getMethodName, new Class[] {});
Object value = getMethod.invoke(this, new Object[] {});
if(value!=null){
list.add(getParameterValue(fieldName, value));
}
} catch (Exception e) {
throw new WeiboException(e);
}
}
return list.toArray(new PostParameter[list.size()]);
}
|
b75db57f-fad0-4ef2-a509-11319598e3ad
| 3
|
public String getName()
{
String returnString = type.toString();
returnString = returnString.replace('_',' ');
if ((effect1 == Effect.TM || effect1 == Effect.HM) && type != Type.REDBULL)
{
returnString = returnString + " " + mNo;
}
returnString = returnString + " x" + amount;
return returnString;
}
|
276f16bb-94d6-4750-9e9e-f0bdad34be63
| 4
|
public int removeBuddy(String username, String buddyname){
try {
String host = "localhost";
socket = new Socket(host, 2001);
in = new BufferedReader(new InputStreamReader(socket.getInputStream()));
out = new PrintWriter(socket.getOutputStream(), true);
} catch (IOException ex) {
Logger.getLogger(ServerCommunicator.class.getName()).log(Level.SEVERE, null, ex);
}
try{
out.println("REMOVEBUDDY");
if(in.readLine().startsWith("Ok")){
out.println(username);
if(in.readLine().startsWith("Ok")){
out.println(buddyname);
response = Integer.parseInt(in.readLine());
}
else{
System.out.println("Bad response from server.");
}
}
else{
System.out.println("Bad response from server.");
}
}
catch(IOException ex){
Logger.getLogger(ServerCommunicator.class.getName()).log(Level.SEVERE, null, ex);
}
return response;
}
|
41c8c040-018a-4013-8ff6-cf65fc45035a
| 0
|
public byte[] getInfoHash() {
return this.infoHash.array();
}
|
227f34e9-bcb7-4ed1-a458-35995c5c01ad
| 7
|
void executeSystemCmd(String cmd) {
try {
Process p = Runtime.getRuntime().exec(SystemUtils.IS_OS_WINDOWS ? "cmd /C " + cmd : cmd);
// OutputStream out = p.getOutputStream();
// out.write(cmd.getBytes());
// out.flush();
try (BufferedReader reader = new BufferedReader(new InputStreamReader(p.getInputStream()))) {
for (String line = reader.readLine(); line != null; line = reader.readLine()) {
try {
shellDoc.insertString(shellDoc.getLength(), line + "\n", textAttributes);
} catch (BadLocationException e) {
e.printStackTrace(System.err);
}
}
}
p.waitFor();
} catch (InterruptedException | InterruptedIOException e) {
try {
shellDoc.insertString(shellDoc.getLength(), "\n", textAttributes);
} catch (BadLocationException e1) {
e1.printStackTrace(System.err);
}
} catch (IOException e) {
try {
shellDoc.insertString(shellDoc.getLength(), e.getMessage() + '\n', textAttributes);
e.printStackTrace(System.err);
} catch (BadLocationException e1) {
e1.printStackTrace(System.err);
}
}
}
|
4abfb227-cd82-437a-b060-555ddc328031
| 8
|
public FenetreTaillePixel(){
// saisiePixel=new JTextField("",20);
System.out.println("nouvelleee size: "+ConnexionTaillePixel.getArrayy().size());
System.out.println("nouvelleee size2: "+nomShape1.size());
// this.connexion=connexion;
if(FenetreTaillePixel.nomShape1.size()==0){
FenetreTaillePixel.nomShape1=ConnexionTaillePixel.getArrayy();
FenetreTaillePixel.sridss=ConnexionTaillePixel.getGeomms();
FenetreTaillePixel.nomShape2=ConnexionTaillePixel.getArrayy2();
FenetreTaillePixel.sridss2=ConnexionTaillePixel.getGeomms2();
System.out.println("nouvelleee size11: "+ConnexionTaillePixel.getArrayy().size());
System.out.println("nouvelleee size211: "+nomShape1.size());
}
//nomShape2=nomShape1;
if(FenetreTaillePixel.getNomShape2().size()>0){
FenetreTaillePixel.getNomShape2().removeAll(FenetreTaillePixel.getNomShape2());
FenetreTaillePixel.getNomShape2().addAll(ConnexionTaillePixel.getArrayy());
FenetreTaillePixel.getSridss2().removeAll(FenetreTaillePixel.getSridss2());
FenetreTaillePixel.getSridss2().addAll(ConnexionTaillePixel.getGeomms());
}
for(String fg:nomShape1){
System.out.println("fg "+fg);
}
for(String bc:nomShape2){
System.out.println("bc "+bc);
}
this.setLocationRelativeTo(null);
this.setTitle("JTable5678");
this.setSize(500, 240);
TableColumn ColumnName = new TableColumn();
ColumnName.setMinWidth(100);
TableColumn ColumnName1 = new TableColumn();
TableColumn ColumnName2 = new TableColumn();
ColumnName1.setMinWidth(100);
ColumnName2.setMinWidth(100);
model.addColumn(ColumnName);
model.addColumn(ColumnName1);
model.addColumn(ColumnName2);
tableau.getColumnModel().getColumn(0).setHeaderValue(new String("Nom"));
tableau.getColumnModel().getColumn(1).setHeaderValue(new String("Surface"));
tableau.getColumnModel().getColumn(2).setHeaderValue(new String("Nombre habitants"));
tableau.getSelectionModel().addListSelectionListener(new ListSelectionListener() {
public void valueChanged(ListSelectionEvent abc) {
// TODO Auto-generated method stub
setSel(tableau.getSelectedRow());
System.out.println("sel"+getSel());
}
});
System.out.println("size "+RequeteSurface.getTailles().size());
System.out.println("size2 "+nomShape1.size());
for(int i=0;i<RequeteSurface.getTailles().size();i++){
for(int j=0;j<nomShape1.size();j++){
if(RequeteSurface.getShapes1().get(i).compareTo(nomShape1.get(j))==0){
taillesPixel.add(RequeteSurface.getTailles().get(i));
}
}
}
for(int ab=0;ab<nomShape1.size();ab++){
model.addRow(new Object [] {nomShape1.get(ab), taillesPixel.get(ab),""});
}
//JScrollPane listScroller = new JScrollPane(list);
//listScroller.setPreferredSize(new Dimension(250, 80));
//listScroller.setAlignmentX(LEFT_ALIGNMENT);
//Lay out the label and scroll pane from top to bottom.
JPanel pan = new JPanel();
pan.setLayout(new BoxLayout(pan, BoxLayout.Y_AXIS));
// Insets insets = pane.getInsets();
//int a = tableau.getSelectedColumn();
//System.out.println("a"+ a);
supprimer.addActionListener(new ActionListener(){
@Override
public void actionPerformed(ActionEvent arg0) {
// TODO Auto-generated method stub
nomShape2.remove(getSel());
//ConnexionTraitement.getArrayy().remove(getSel());
sridss2.remove(getSel());
//ConnexionTraitement.getGeomms().remove(getSel());
model.removeRow(getSel());
}
}
);
pan.add(supprimer);
//pan.add(change);
//
//
// String titl2[] = {"Nome shape"};
//
// this.tableau = new JTable(data,titl2);
//model.setRowHeight(30);
//model.setNumRows(30);
//On remplace cette ligne
JPanel pan2 = new JPanel();
this.getContentPane().add(new JScrollPane(tableau), BorderLayout.CENTER);
this.getContentPane().add(pan, BorderLayout.EAST);
this.getContentPane().add(pan2, BorderLayout.SOUTH);
valider.addActionListener(this);
pan.add(valider);
chargerTaillePixel.addActionListener(new ActionListener(){
@Override
public void actionPerformed(ActionEvent arg0) {
// TODO Auto-generated method stub
}
});
pan.add(chargerTaillePixel);
//label1.setLabelFor(saisiePixel);
//pan2.add(label1);
//pan2.add(saisiePixel);
}
|
4470e84a-9e82-49d4-bc27-26f811dba209
| 3
|
public Placeable loadInitialTownHall(int x) {
int mapY = 0;
Placeable placeable = null;
mapY = findFloor(x);
placeable = new Cabin(this, registry, "Placeables/Placed/Cabin", "Placeables/Placed/Cabin", x, mapY, Placeable.State.Placed);
registerPlaceable(placeable);
if (gameController.multiplayerMode == gameController.multiplayerMode.SERVER && registry.getNetworkThread() != null) {
if (registry.getNetworkThread().readyForUpdates()) {
registry.getNetworkThread().sendData(placeable);
}
}
return placeable;
}
|
dda2647e-9b89-4572-831d-28f803825d3e
| 8
|
public Block getBlock(int x, int z) {
// starting at the top of the map and going down
for(int y = maxHeight - 1; y > 0; y--) {
// if the block reached is visible
if(isBlockSolid(blocks[x][y][z])) {
// h models the first block after all water is traversed
int h = y;
if(blocks[x][y][z] == 8 || blocks[x][y][z] == 9) {
for(; h > 0 && (blocks[x][h][z] == 8 || blocks[x][h][z] == 9); h--);
}
// cy models the block above y, if not top of the map
int cy = (y < maxHeight-1 ? y+1 : y);
return new Block(blocks[x][y][z], metadata[x][y][z], h, skyLight[x][cy][z], blockLight[x][cy][z], biome[x][z]);
}
}
return new Block(0, 0, 0, 0, 0, 0);
}
|
c5b3dc81-df64-4b12-b8c1-b9040d59e8dd
| 0
|
public static void main(String[] args) {
System.out.println(Arrays.toString(new int[] {1, 2, 3}));
System.out.println(fill(new ArrayList<String>()));
System.out.println(fill(new LinkedList<String>())); // Queue
System.out.println(fill(new HashSet<String>()));
System.out.println(fill(new TreeSet<String>()));
System.out.println(fill(new LinkedHashSet<String>()));
System.out.println(fill(new HashMap<String, String>()));
System.out.println(fill(new TreeMap<String, String>()));
System.out.println(fill(new LinkedHashMap<String, String>()));
}
|
a0d345ad-46ee-40a0-9c9c-985e8367bafb
| 5
|
public static void main(String[] args) {
// run 10 simulations of chicken growth and fox hunting
for (int count = 0; count < 10; count++) {
ParkerPaulFox foxy = new ParkerPaulFox(); // fox that hunts chickens
ArrayList<ParkerPaulChicken> chickens = new ArrayList<ParkerPaulChicken>(); // chickens that multiply
// initialize chickens collection
chickens.clear();
chickens.add(new ParkerPaulChicken());
chickens.add(new ParkerPaulChicken());
chickens.add(new ParkerPaulChicken());
chickens.get(0).setSex(true);
chickens.get(1).setSex(false);
chickens.get(2).setSex(false);
// cycle until there are no chickens or the chickens overwhelm the fox
while (chickens.size() > 1 && chickens.size() < 10) {
// grow all animals
for (ParkerPaulChicken c : chickens) c.grow();
foxy.grow();
// multiply chickens
ParkerPaulChicken.mate(chickens);
// hunt chickens
foxy.eat(chickens);
} // end of while
// output results
if (chickens.size() >= 10) {
System.out.printf("Chickens win - Chicken Population: %1$d%n", chickens.size());
} else {
System.out.printf("Fox wins - Fox Weight (in chickens): %1$.2f%n", foxy.getWeightInChickens());
}
} // end of for
} // end of main
|
b5cbda2d-026b-4899-ad03-15ef8c2bec31
| 3
|
@Override
public double evaluate(int[][] board) {
int r1 = 0;
for (int i = 0; i < board.length; i++) {
for (int j = 0; j < board[i].length-1; j++) {
if(board[i][j] < board[i][j+1]) {
r1++;
}
}
}
return r1;
/*int r2 = 0;
for (int i = 0; i < board.length-1; i++) {
for (int j = 0; j < board[i].length; j++) {
if(board[i][j] < board[i+1][j]) {
r2++;
}
}
}
return Math.min(r1, r2);/**/
}
|
174af715-e721-4ea5-b791-fdd623d44a09
| 6
|
public static void main(String args[]) {
/* Set the Nimbus look and feel */
//<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
/* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
* For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html
*/
try {
for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
if ("Nimbus".equals(info.getName())) {
javax.swing.UIManager.setLookAndFeel(info.getClassName());
break;
}
}
} catch (ClassNotFoundException ex) {
java.util.logging.Logger.getLogger(PictureTableGUI.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
} catch (InstantiationException ex) {
java.util.logging.Logger.getLogger(PictureTableGUI.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
} catch (IllegalAccessException ex) {
java.util.logging.Logger.getLogger(PictureTableGUI.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
} catch (javax.swing.UnsupportedLookAndFeelException ex) {
java.util.logging.Logger.getLogger(PictureTableGUI.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
}
//</editor-fold>
/* Create and display the form */
java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
new PictureTableGUI().setVisible(true);
}
});
}
|
c1928e2e-f164-4f9e-9c9c-523c8f9b2ca9
| 0
|
public void register(final MessageListener listener) {
listeners.add(listener);
}
|
69837343-64f7-4adf-ad37-44f493675348
| 9
|
public void validaComponentePreencheSetor() {
String item = jLabelPeca.getText().trim();
int indice = item.indexOf("-", 4);
item = item.substring(0, indice - 1);
TelaConsultaComponentes tela = new TelaConsultaComponentes(null, true, item.trim(), jFTComponente, jLabelDescricaoComponente, jFTCodFornecedor, jFTQuantidade, jLabelTipoUnidade, jComboBoxSetor.getSelectedItem().toString());
tela.setVisible(true);
if (jFTCodFornecedor.isEnabled() && jFTComponente.isEnabled() && !jFTComponente.getText().trim().equals("")) {
String grupoComponente = jFTComponente.getText().trim().substring(0, 1);
/*Se grupo for 0,1 ou 2 preenche 25.60 no fornecedor*/
if (grupoComponente.equals("0") || grupoComponente.equals("1") || grupoComponente.equals("2")) {
jFTCodFornecedor.setText("25.60");
jLabelDescricaoFornecedor.setText("EXTERNO");
jFTCodFornecedor.grabFocus();
} else {
/*Verifica os fornecedores do componente digitado*/
Map<String, Setor> fornecedores = retornaFornecedorDisponivel(jFTComponente.getText().trim());
if (fornecedores.isEmpty() || fornecedores == null) {
jFTCodFornecedor.grabFocus();
jFTCodFornecedor.setText("");
jLabelDescricaoFornecedor.setText("");
/*Se retornar um fornecedor seta no campo*/
} else if (fornecedores.size() == 1) {
Map.Entry<String, Setor> entrada = fornecedores.entrySet().iterator().next();
Setor valor = entrada.getValue();
jFTCodFornecedor.setText(valor.getSetor().trim());
jLabelDescricaoFornecedor.setText(valor.getDescricao().trim());
jFTCodFornecedor.grabFocus();
/*Se houver mais de um fornecedor não seta no campo*/
} else {
listaFornecedoresDisponiveis = fornecedores;
jFTCodFornecedor.grabFocus();
jFTCodFornecedor.setText("");
jLabelDescricaoFornecedor.setText("");
}
}
}
}
|
9c166494-fcee-4400-b9f7-c1b42190fd02
| 5
|
@Override
public Collidable pointCollides(int x, int y)
{
// Negates the transformation
Point negatedPoint = negateTransformations(x, y);
// Returns the object if it collides with the point
// Circular objects react if the point is near enough
if (this.collisiontype == CollisionType.CIRCLE)
{
if (HelpMath.pointDistance(getOriginX(), getOriginY(),
negatedPoint.x, negatedPoint.y) <= getRadius())
return this;
else
return null;
}
// Boxes collide if the point is within them
else if (this.collisiontype == CollisionType.BOX)
{
if (HelpMath.pointIsInRange(negatedPoint, 0,
getWidth(), 0, getHeight()))
return this;
else
return null;
}
// Walls collide if the point is on their left side (relatively)
else
{
if (negatedPoint.x < 0)
return this;
else
return null;
}
}
|
2d9e6a74-3ee4-4d14-9c98-a38e5e7e8607
| 3
|
public void transfer(Account from, Account to, int amount) {
boolean fromLock = false;
boolean toLock = false;
try {
while (!fromLock || !toLock) {
fromLock = from.getLock().tryLock(
(long) (Math.random() * 1000), TimeUnit.MILLISECONDS);
toLock = to.getLock().tryLock((long) (Math.random() * 1000),
TimeUnit.MILLISECONDS);
}
from.withdraw(amount);
to.deposit(amount);
} catch (InterruptedException e) {
System.out.println("Transfer from account #" + from.getId()
+ " to account #" + to.getId() + " was interrupted");
} finally {
from.getLock().unlock();
to.getLock().unlock();
}
}
|
4b26eb86-67ce-413f-9357-f24f261f1d9b
| 7
|
protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
if (request.getHeader("Referer") == null)
response.sendRedirect("error.jsp?m=404");
else {
response.setCharacterEncoding("UTF-8");
PrintWriter out = response.getWriter();
HttpSession session = request.getSession(true);
String email = (String) session.getAttribute("email");
Boolean isAuthorized = (Boolean) session.getAttribute("isAuthorized");
String streamURI = request.getParameter("streamURI");
System.out.println(streamURI);
if (isAuthorized == null)
isAuthorized = false;
if (request.getRequestURI().endsWith("ListEntry") && isAuthorized) {
PersistenceManager pm = Factory.getPersistenceManager();
pm.getFetchPlan().setMaxFetchDepth(-1);
pm.getFetchPlan().setFetchSize(FetchPlan.FETCH_SIZE_GREEDY);
Transaction tx = pm.currentTransaction();
try {
tx.begin();
Query query = MemberDAO.getStreamQuery(pm);
Stream stream = null;
List<Stream> results = (List<Stream>) query.execute(streamURI);
System.out.println(results.size());
stream = results.get(0);
// Create XML Document
Document doc = Factory.createDOM();
Element root = doc.createElement("message");
ArrayList<Entry> entries = stream.getEntries();
System.out.println(entries.size());
for (int i=entries.size()-1; i >= 0 ; i--) {
Entry entry = entries.get(i);
Element e = doc.createElement("entry");
e.setAttribute("title", entry.getTitle());
e.setAttribute("url", entry.getAddress());
e.setTextContent(entry.getDescription());
root.appendChild(e);
}
doc.appendChild(root);
this.message = Factory.transformDOMToString(doc);
out.print(this.message);
tx.commit();
} catch (Exception e) {
e.printStackTrace();
} finally {
if (tx.isActive())
tx.rollback();
pm.close();
}
}
}
// Xác nhận Servlet đã chạy
System.out.println(this.message);
System.out.println("EntryServlet ran.");
}
|
be221bf4-2cdd-421d-bdc6-79daf8aae6b0
| 3
|
public double calculateClusterDistance(Cluster cluster1, Cluster cluster2) {
Instance instance1, instance2;
double distance = 0, tempDist = 0;
for (int i = 0; i < cluster1.size(); i++) {
instance1 = cluster1.get(i);
for (int j = 0; j < cluster2.size(); j++) {
instance2 = cluster2.get(j);
tempDist = Distance.getMiDistance().getDistance().distance(instance1, instance2);
if (tempDist > distance)
distance = tempDist;
}
}
return distance;
}
|
82ba1194-9fc1-49ea-9a90-c935fda90d4d
| 6
|
public void adjustBeginLineColumn(int newLine, int newCol) {
int start = tokenBegin;
int len;
if (bufpos >= tokenBegin) {
len = bufpos - tokenBegin + inBuf + 1;
} else {
len = bufsize - tokenBegin + bufpos + 1 + inBuf;
}
int i = 0, j = 0, k = 0;
int nextColDiff = 0, columnDiff = 0;
while (i < len && bufline[j = start % bufsize] == bufline[k = ++start % bufsize]) {
bufline[j] = newLine;
nextColDiff = columnDiff + bufcolumn[k] - bufcolumn[j];
bufcolumn[j] = newCol + columnDiff;
columnDiff = nextColDiff;
i++;
}
if (i < len) {
bufline[j] = newLine++;
bufcolumn[j] = newCol + columnDiff;
while (i++ < len) {
if (bufline[j = start % bufsize] != bufline[++start % bufsize])
bufline[j] = newLine++;
else
bufline[j] = newLine;
}
}
line = bufline[j];
column = bufcolumn[j];
}
|
4f44e2d3-aee9-4551-9d6b-16d915a14c06
| 9
|
@EventHandler
public void onPlayerInteract(PlayerInteractEvent e) {
if (!(e.getAction() == Action.RIGHT_CLICK_BLOCK)) return;
if (e.getClickedBlock().getState() instanceof Sign) {
Sign s = (Sign) e.getClickedBlock().getState();
Player p = e.getPlayer();
if (s.getLine(0).contains(ss) && s.getLine(3).contains(ChatColor.GREEN + "website.")) {
p.sendMessage(ChatColor.GOLD + "[Simply" + ChatColor.AQUA + "Stuff] " + ChatColor.GREEN + pl.getConfig().getString("site"));
}
if (s.getLine(0).contains(ss) && s.getLine(1).contains(ChatColor.GREEN + "Right click") && s.getLine(2).contains(ChatColor.GREEN + "me for info")) {
p.sendMessage(ChatColor.GREEN + "" + ChatColor.BOLD + "#====**********" + ChatColor.AQUA + ChatColor.BOLD + " About Simply Stuff " + ChatColor.GREEN + ChatColor.BOLD + "**********====#");
p.sendMessage(ChatColor.GOLD + "Author: Lukas McDiarmid / lukasmcd14");
p.sendMessage(ChatColor.GOLD + "Twitter: @Lukasmcd14");
p.sendMessage(ChatColor.GOLD + "Version: " + SimplyStuff.version);
p.sendMessage(ChatColor.GOLD + "BukkitDev: www.dev.bukkit.org/bukkit-plugins/simply-stuff/");
p.sendMessage(ChatColor.GOLD + "Simply" + ChatColor.AQUA + "Stuff" + ChatColor.GREEN + " Started out to be one of my most exciting plugins since you know it was the first one I had ever published. It gave me an amazing push towards helpings others if they were having trouble or just wanted me to help and I thank all of who downloaded this plugin. I look forward to receiving feedback from people.");
p.sendMessage(ChatColor.GREEN + "" + ChatColor.BOLD + "#====**********" + ChatColor.AQUA + ChatColor.BOLD + " About Simply Stuff " + ChatColor.GREEN + ChatColor.BOLD + "**********====#");
}
if (s.getLine(0).contains(ss) && s.getLine(2).contains("for some fun.")) {
Random r = new Random();
p.playSound(p.getLocation(), Sound.values()[r.nextInt(Sound.values().length)], 10, 10);
}
}
}
|
c7ffcb79-bcee-4c71-a240-8792946ff25b
| 5
|
public void addQueueIfTooMuchClients(){
Queue addedQueue = null;
int listSize = queueList.size();
boolean permissionToOpenQueue = false;
boolean clientMigration = true;
if(simulationTime == 60) {
queueList.add(queueNr2);
for(int i = 0; i < queueNr1.getClientsNumber() / 2; i++)
queueNr2.addClient(queueNr1.returnLastClient());
}
if(simulationTime == 120) {
queueList.add(queueNr3);
for(int i = 0; i < (queueNr1.getClientsNumber() + queueNr2.getClientsNumber()) / 4; i++){
if(i % 2 == 0) queueNr3.addClient(queueNr2.returnLastClient());
else queueNr3.addClient(queueNr1.returnLastClient());
}
}
}
|
11457e47-8a96-4b5a-b152-ec3c4f042f6d
| 2
|
@Override
public void messageReceived() {
Message received = Comms.receiveMessage();
if (received != null) {
try {
Request request = (Request) received;
Alerter.getHandler().info(
"Received " + request.getClass().getSimpleName() + " from "
+ request.getSource().getHostAddress());
// Use visitor pattern to handle the request appropriately
request.accept(this);
} catch (ClassCastException ex) {
Alerter.getHandler().warning(
"Could not receive " + received.getClass().getSimpleName()
+ " from " + received.getSource().getHostAddress()
+ ": not a valid request.");
}
}
}
|
0b2c9b87-ed91-4f10-a609-eccf92d31baf
| 5
|
@Override
public Component getListCellRendererComponent(JList<? extends MessageLevel> jlist, MessageLevel e, int i, boolean isSelected, boolean hasFocus) {
//JLabel label = new JLabel(e.getMessage());
JLabel label = (JLabel) cellRenderer.getListCellRendererComponent(jlist, e.getMessage(), i, hasFocus, hasFocus);
// label.setOpaque(true);
switch(e.getLevel()){
case 0:
label.setIcon(this.sucessIcon);
//label.setBackground(this.sucessColor[i&0x1]);
//label.setForeground(Color.BLACK);
break;
case 1:
label.setIcon(this.alertIcon);
//label.setBackground(this.alertColor[i&0x01]);
//label.setForeground(Color.BLACK);
break;
case 2:
label.setIcon(this.errorIcon);
//label.setBackground(this.errorColor[i&0x1]);
//label.setForeground(Color.BLACK);
break;
default:
// label.setBackground(Color.WHITE);
// label.setForeground(Color.BLACK);
}
if(isSelected){
// label.setBackground(label.getBackground().darker());
}
return label;
}
|
ac6d7b6e-4216-4517-aa26-c257658da194
| 9
|
public void keyPressed(KeyEvent e) {
int keyCode = e.getKeyCode();
if (keyCode == KeyEvent.VK_UP || keyCode == KeyEvent.VK_W) {
up.toggle(true);
} else if (keyCode == KeyEvent.VK_DOWN || keyCode == KeyEvent.VK_S) {
down.toggle(true);
} else if (keyCode == KeyEvent.VK_LEFT || keyCode == KeyEvent.VK_A) {
left.toggle(true);
} else if (keyCode == KeyEvent.VK_RIGHT || keyCode == KeyEvent.VK_D) {
right.toggle(true);
} else if (keyCode == KeyEvent.VK_SPACE) {
space.toggle(true);
}
}
|
a1bdcc55-dd81-485e-a49a-9de185f70dc5
| 9
|
private static String convertToneNumber2ToneMark(final String pinyinStr)
{
String lowerCasePinyinStr = pinyinStr.toLowerCase();
if (lowerCasePinyinStr.matches("[a-z]*[1-5]?"))
{
final char defautlCharValue = '$';
final int defautlIndexValue = -1;
char unmarkedVowel = defautlCharValue;
int indexOfUnmarkedVowel = defautlIndexValue;
final char charA = 'a';
final char charE = 'e';
final String ouStr = "ou";
final String allUnmarkedVowelStr = "aeiouv";
final String allMarkedVowelStr = "āáăàaēéĕèeīíĭìiōóŏòoūúŭùuǖǘǚǜü";
if (lowerCasePinyinStr.matches("[a-z]*[1-5]"))
{
int tuneNumber = Character.getNumericValue(lowerCasePinyinStr.charAt(lowerCasePinyinStr.length() - 1));
int indexOfA = lowerCasePinyinStr.indexOf(charA);
int indexOfE = lowerCasePinyinStr.indexOf(charE);
int ouIndex = lowerCasePinyinStr.indexOf(ouStr);
if (-1 != indexOfA)
{
indexOfUnmarkedVowel = indexOfA;
unmarkedVowel = charA;
} else if (-1 != indexOfE)
{
indexOfUnmarkedVowel = indexOfE;
unmarkedVowel = charE;
} else if (-1 != ouIndex)
{
indexOfUnmarkedVowel = ouIndex;
unmarkedVowel = ouStr.charAt(0);
} else
{
for (int i = lowerCasePinyinStr.length() - 1; i >= 0; i--)
{
if (String.valueOf(lowerCasePinyinStr.charAt(i)).matches("["
+ allUnmarkedVowelStr + "]"))
{
indexOfUnmarkedVowel = i;
unmarkedVowel = lowerCasePinyinStr.charAt(i);
break;
}
}
}
if ((defautlCharValue != unmarkedVowel)
&& (defautlIndexValue != indexOfUnmarkedVowel))
{
int rowIndex = allUnmarkedVowelStr.indexOf(unmarkedVowel);
int columnIndex = tuneNumber - 1;
int vowelLocation = rowIndex * 5 + columnIndex;
char markedVowel = allMarkedVowelStr.charAt(vowelLocation);
StringBuffer resultBuffer = new StringBuffer();
resultBuffer.append(lowerCasePinyinStr.substring(0, indexOfUnmarkedVowel).replaceAll("v", "ü"));
resultBuffer.append(markedVowel);
resultBuffer.append(lowerCasePinyinStr.substring(indexOfUnmarkedVowel + 1, lowerCasePinyinStr.length() - 1).replaceAll("v", "ü"));
return resultBuffer.toString();
} else
// error happens in the procedure of locating vowel
{
return lowerCasePinyinStr;
}
} else
// input string has no any tune number
{
// only replace v with ü (umlat) character
return lowerCasePinyinStr.replaceAll("v", "ü");
}
} else
// bad format
{
return lowerCasePinyinStr;
}
}
|
4cfd949d-456c-4ee6-9660-ca4b077bf195
| 6
|
@Override
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (getClass() != obj.getClass())
return false;
Vector3 other = (Vector3) obj;
if (Float.floatToIntBits(x) != Float.floatToIntBits(other.x))
return false;
if (Float.floatToIntBits(y) != Float.floatToIntBits(other.y))
return false;
if (Float.floatToIntBits(z) != Float.floatToIntBits(other.z))
return false;
return true;
}
|
245bd174-b28f-43bc-84bb-1de70ed80cfb
| 4
|
private int getCommentsNum(File file) {
if (!file.exists()) {
return 0;
}
try {
int comments = 0;
String currentLine;
BufferedReader reader = new BufferedReader(new FileReader(file));
while ((currentLine = reader.readLine()) != null) {
if (currentLine.startsWith("#")) {
comments++;
}
}
reader.close();
return comments;
} catch (IOException e) {
e.printStackTrace();
return 0;
}
}
|
9f99b69c-76df-4c67-ba92-bca2c60089da
| 7
|
private void processSecurityResultMsg() {
vlog.debug("processing security result message");
int result;
if (cp.beforeVersion(3, 8) && csecurity.getType() == Security.secTypeNone) {
result = Security.secResultOK;
} else {
if (!is.checkNoWait(1)) return;
result = is.readU32();
}
switch (result) {
case Security.secResultOK:
securityCompleted();
return;
case Security.secResultFailed:
vlog.debug("auth failed");
break;
case Security.secResultTooMany:
vlog.debug("auth failed - too many tries");
break;
default:
throw new ErrorException("Unknown security result from server");
}
String reason;
if (cp.beforeVersion(3, 8))
reason = "Authentication failure";
else
reason = is.readString();
state_ = RFBSTATE_INVALID;
throw new AuthFailureException(reason);
}
|
afaf6f48-61f2-48a4-a1b3-c8abfcc86803
| 4
|
public static Date min(Date... dates) {
if(dates != null && dates.length > 0) {
Date minDate = dates[0];
for (Date date : dates) {
if(date.before(minDate)) {
minDate = date;
}
}
return minDate;
}
return null;
}
|
2abc8e89-fb95-4825-82a9-f025dd5e6ead
| 2
|
@Override
public int checkScore(){
if(score1 == 2){
return 1;
}
else if(score2 == 2) {
return 2;
}
else {
return 0;
}
}
|
2b9e4c91-5968-4353-a428-8329e9b60419
| 0
|
@Override
public Query<TElement> toQuery() {
return new Query<TElement>(this._source);
}
|
c30ffdd8-52e6-4219-8dd6-4838beb4e96c
| 6
|
private void setListener() {
cfBtn.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent arg0) {
LookAndFeel look = UIManager.getLookAndFeel();
try {
UIManager.setLookAndFeel(UIManager
.getSystemLookAndFeelClassName());
} catch (ClassNotFoundException | InstantiationException
| IllegalAccessException
| UnsupportedLookAndFeelException e1) {
e1.printStackTrace();
}
JFileChooser jfc = new JFileChooser();
jfc.setFileSelectionMode(JFileChooser.FILES_ONLY);
jfc.setFileFilter(new FileFilter() {
public String getDescription() {
return "xls文件";
}
public boolean accept(File f) {
if (f.getName().endsWith(".xls") || f.isDirectory()) {
return true;
}
return false;
}
});
int result = jfc.showOpenDialog(panel);
if (result == JFileChooser.APPROVE_OPTION) {
File file = jfc.getSelectedFile();
pathField.setText(file.getAbsolutePath());
try {
l = logic.readXls(file.getAbsolutePath());
} catch (IOException e) {
e.printStackTrace();
}
}
try {
UIManager.setLookAndFeel(look);
} catch (UnsupportedLookAndFeelException e1) {
e1.printStackTrace();
}
showTable();
}
});
r1.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent arg0) {
showTable();
}
});
r2.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent arg0) {
showTable();
}
});
finishBtn.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent arg0) {
finishBtn.setEnabled(false);
new Thread(new Runnable() {
public void run() {
ImportProgressBar ipb = new ImportProgressBar(itemName,
l);
ipb.startImport();
finishBtn.setEnabled(true);
}
}).start();
}
});
}
|
4234eec3-ecd5-44d9-8543-2aebaa46522f
| 6
|
public void check(){
String[] inputWords = parser.parse(this.textPane.getText());
if (inputWords == null){
JOptionPane.showMessageDialog(new JFrame(), this.errorConsole.getText(), "Error", JOptionPane.ERROR_MESSAGE);
return;
}
SpellCheckResult[] scResults = new SpellCheckResult[inputWords.length];
this.textPane.setText(""); // Clear the text area
for (int i = 0; i < inputWords.length; i++) {
scResults[i] = spellChecker.bsCheck(inputWords[i]);
if (!scResults[i].isCorrect()){
StyleConstants.setForeground(style, Color.red);
// Change color and add to the text area
try { doc.insertString(doc.getLength(), inputWords[i] + " ",style); }
catch (BadLocationException e){
e.printStackTrace();
}
SpellCheckerSuggestion[] tmp = spellChecker.findSuggestions(inputWords[i]);
JOptionPane.showMessageDialog(null, "Did you mean: " + tmp[0].getWord() + " instead of " + inputWords[i]+"?");
}
else{
StyleConstants.setForeground(style, Color.blue);
try { doc.insertString(doc.getLength(), inputWords[i] + " ",style); }
catch (BadLocationException e){
e.printStackTrace();
}
}
}
StyleConstants.setForeground(style, Color.black);
try { doc.insertString(doc.getLength(), " ",style); }
catch (BadLocationException e){
e.printStackTrace();
}
}
|
4e8c3438-23ee-4c44-a75e-3e4ecc253d85
| 3
|
public String lire(){
String t="";
try{
t = bf.readLine();
}catch(IOException io){
System.out.println("echec de lecture");
io.printStackTrace();
}
if(debug) { if(!t.equals("")) {System.out.println("Lecture TCP: " + t);} }
return t;
}
|
3291f7a5-d473-42ac-9084-03d2466656e7
| 9
|
public String menuOptions()
{
System.out.println();
System.out.println("Menu: ");
System.out.println("\tFind a course in the Program of Study (find)");
System.out.println("\tAdd a course to the Program of Study (add)");
System.out.println("\tRemove a course from the Program of Study (remove)");
System.out.println("\tAdd a grade for a course in the Program of Study (grade)");
System.out.println("\tOutput the courses in a particular semester (prints)");
System.out.println("\tOutput the entire Program of Study (printPOS)");
System.out.println("\tSave the Program of Study to a file (save)");
System.out.println("\tExit the system (exit)");
System.out.println();
boolean test = false;
String input = "";
while(!(test))
{
System.out.print("Enter selection: ");
input = scan.next();
input = input.toLowerCase();
switch(input)
{
case "find":
case "add":
case "remove":
case "grade":
case "prints":
case "printpos":
case "save":
case "exit":
test = true;
break;
default:
System.out.println("Invalid selection.");
break;
}
}
return input;
}
|
9fabd690-65bf-4719-8f76-98f435048a1e
| 5
|
public void paintComponent(Graphics g) {
super.paintComponent(g);
Graphics2D g2d = (Graphics2D) g;
g2d.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);
// Draw Background
g2d.drawImage(BG, 0, 0, null);
tm.Draw(g2d);
pad.Draw(g2d);
// Draw Life
for (int i = 0; i < _model.getBallsLeft(); i++) {
g2d.drawImage(imgLife, 690 + (i * 32), 565, null);
}
// Draw Entities
for (Entity entity : Entities) {
entity.Draw(g2d);
if(!_model.isPause()) entity.Move();
}
// Draw Balls on screen
for (Ball b : balls) {
b.draw(g2d);
}
// Draw Score and Pauze on screen
g.setFont(fntScore);
g.drawString("" + _model.getScore(), 20, 592);
if(_model.isPause())g.drawString("Pause - Press P to continue", 170, 320);
}
|
11efc622-6cc3-4e8e-9475-c28c30bcae09
| 5
|
public void update() {
xa = 0;
ya = 0;
randommovement();
if (anim < 60)
anim++;
else {
anim = 0;
}
// xa++;
// ya++;
if (xa != 0 || ya != 0) {
walking = true;
move(xa, ya);
} else {
walking = false;
}
if (hit) {
if (anim2 < 60)
anim2++;
else {
anim2 = 0;
hit = false;
OverHead = "";
}
}
}
|
f3615c95-b5c1-42c9-b7c8-1d02d9537ab3
| 4
|
public void commit() throws DatabaseManagerException {
try {
if( conn == null || conn.isClosed() || conn.getAutoCommit() == true ) {
throw new IllegalStateException("Transaction not valid for commit operation.");
}
conn.commit();
} catch(SQLException e) {
throw new DatabaseManagerException("Error committing the transaction!",e);
}
}
|
63b31563-2c6d-4ad1-9313-23db2c821dc3
| 6
|
private WarMachine platziereWarMachine(WarMachine newWarMachine) {
boolean invalidInput = true;
String input = null;
Koordinate platzKoordinate = null;
Ausrichtung platzAusrichtung = null;
while (invalidInput) {
try {
input = eingabe.getUserInput();
} catch (Exception e) {
e.printStackTrace();
}
String[] argumente = input.split(",");
if (argumente.length < 3) {
ausgabe.printFalscheEingabe();
continue;
}
platzKoordinate = eingabe.string2Koord(argumente[0].toString()
+ "," + argumente[1].toString());
platzAusrichtung = eingabe.string2Ausrichtung(argumente[2]);
if (!eingabe.validAusrichtung(platzAusrichtung)) {
ausgabe.printFalscheEingabe();
continue;
}
try {
spielfeld.place(newWarMachine, platzKoordinate,
platzAusrichtung);
invalidInput = false;
} catch (Exception e) {
ausgabe.printFalscheEingabe();
invalidInput = true;
}
} // while invalid Input
if (!Client.getClient().getIsLocal())
client.sendPlayerInput(input);
return newWarMachine;
}
|
b098581e-aae5-44ee-9fbf-ea7648370ef8
| 0
|
public void setTeacher1(Teacher1 teacher1) {
this.teacher1 = teacher1;
}
|
58b5f17a-33df-4d2e-b6d0-f48431349dca
| 8
|
public void saveFile(FoodFileBean file) throws Exception{
Connection conn = null;
PreparedStatement pstmt = null;
ResultSet rs = null;
String sql = "insert into foodfile values(foodfile_fileid_seq.nextval,?,?,?,?)";
try {
conn = getConnection();
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, file.getFilename());
pstmt.setLong(2, file.getFilesize());
pstmt.setInt(3, file.getFilestep());
pstmt.setInt(4, file.getIdx());
pstmt.executeUpdate();
} catch (SQLException e) {
e.printStackTrace();
} catch (Exception e) {
e.printStackTrace();
}finally{
if(rs!=null)try{rs.close();}catch(SQLException ex){}
if(pstmt!=null)try{pstmt.close();}catch(SQLException ex){}
if(conn!=null)try{conn.close();}catch(SQLException ex){}
}
}
|
9cc975a2-7e44-4cf2-8cc5-5af62131bdbb
| 5
|
static final Class142_Sub27_Sub22 method1194(byte byte0, int i) {
Class142_Sub27_Sub22 class142_sub27_sub22 = (Class142_Sub27_Sub22) Class142_Sub21.aClass90_3575.method905(i);
if (byte0 >= -51) {
return null;
}
if (class142_sub27_sub22 != null) {
return class142_sub27_sub22;
}
byte abyte0[];
if (i >= 32768) {
abyte0 = Class4_Sub2.aClass73_2732.method774(0x7fff & i, 0);
} else {
abyte0 = Class82.aClass73_1267.method774(i, 0);
}
class142_sub27_sub22 = new Class142_Sub27_Sub22();
if (abyte0 != null) {
class142_sub27_sub22.method1959((byte) -28, new Stream(abyte0));
}
if (i >= 32768) {
class142_sub27_sub22.method1954(-18);
}
Class142_Sub21.aClass90_3575.method909(class142_sub27_sub22, -1, i);
return class142_sub27_sub22;
}
|
21dedc56-0509-45cb-a278-8c3562a15dc7
| 8
|
public static void dfs(int index, int ultimo, String cad) {
if (res)
return;
if (maxStep == index - 1) {
} else {
for (int i = 1; i <= arr.length; i++) {
if (i != ultimo) {
int c[] = new int[ arr.length ];
int temp[] = new int[ arr.length ];
c = arr;
/*
* for (int j = 0; j < c.length; j++) { c[j] = arr[j];//
* guardamos info }
*/
k = 0;
for (int j = i - 1; j >= 0; j--) {
temp[k] = -arr[j];
k++;
}
for (int j = k; j < arr.length; j++) {
temp[k] = arr[j];
k++;
}
arr = temp;
if (index == maxStep - 1) {
if (ok()) {
System.out.println(times + " " + cad.trim() + " " + (i));
res = true;
}
}
dfs(index + 1, i, cad + " " + (i) + "");
arr = c;
}
}
}
}
|
f5584a7a-a454-45df-896c-1d0aa7cb4095
| 0
|
public float getSize()
{
return this.size;
}
|
ba85b139-5661-4ecd-a06e-79fda54b8292
| 2
|
@Override
public void train(Matrix features, Matrix labels) {
if (features.getNumRows() != labels.getNumRows()) {
throw new MLException("Features and labels must have the same number of rows.");
}
if (filterInputs) {
Matrix matrix = trainAndTransform(features);
pLearner.train(matrix, labels);
} else {
Matrix matrix = trainAndTransform(labels);
pLearner.train(features, matrix);
}
}
|
8c093e8a-447e-4f61-ac65-cf948c37f3e1
| 7
|
@Override
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (!(obj instanceof Card))
return false;
Card other = (Card) obj;
if (cardType != other.cardType)
return false;
if (name == null) {
if (other.name != null)
return false;
} else if (!name.equals(other.name))
return false;
return true;
}
|
def8a322-ed06-4dcc-9823-0b3ec31ce30c
| 6
|
@Override
public void keyPressed(KeyEvent e) {
switch (e.getKeyCode()) {
case KeyEvent.VK_LEFT:
dir_left = true;
break;
case KeyEvent.VK_RIGHT:
dir_right = true;
break;
case KeyEvent.VK_UP:
dir_up = true;
break;
case KeyEvent.VK_DOWN:
dir_down = true;
break;
case KeyEvent.VK_SPACE:
isShooting = true;
break;
case KeyEvent.VK_ENTER:
enter = true;
break;
default:
break;
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.