text
stringlengths
3.08k
15.2k
package neat; import data_structures.RandomHashSet; import data_structures.RandomSelector; import genome.ConnectionGene; import genome.Gene; import genome.Genome; import genome.NodeGene; import visual.Frame; import java.util.ArrayList; import java.util.HashMap; import java.util.Random; public class Nea...
// Contacts.java /* * Copyright (c) 2008, Gennady & <NAME> * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are * permitted provided that the following conditions are met: * * • Redistributions of source code must retain the above copyright notice, t...
/** * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. */ package com.thinkgem.jeesite.modules.affair.entity; import com.fasterxml.jackson.annotation.JsonFormat; import com.thinkgem.jeesite.common.persistence.DataEntity; import com.thinkgem.jeesite.common.util...
package projectp4.studio.com.gerenciador_universitario; import android.app.NotificationManager; import android.app.PendingIntent; import android.content.Intent; import android.database.sqlite.SQLiteDatabase; import android.media.Ringtone; import android.media.RingtoneManager; import android.net.Uri; import android.sup...
package com.hbm.items.machine; import java.util.List; import com.hbm.items.ModItems; import com.hbm.lib.HBMSoundHandler; import net.minecraft.client.util.ITooltipFlag; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraft.util.NonNull...
/******************************************************************************* * Copyright (C) 2018 <NAME> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, includ...
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
/* * The MIT License (MIT) * * Copyright (c) 2011-2017 Broad Institute, Aiden Lab * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation th...
/* Copyright (c) 2016, <NAME> * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following * conditions are met: * * - Redistributions of source code must retain the above copyright notice, this list of conditions and the fol...
/* * java API for the SatoChip Bitcoin Hardware Wallet * (c) 2015 by Toporin - 16DMCk4WUaHofchAhpMaQS4UPm4urcy2dN * Sources available on https://github.com/Toporin * * Copyright 2015 by Toporin (https://github.com/Toporin) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may n...
package org.nutz.boot.starter.freemarker; import java.io.File; import java.io.IOException; import java.net.URL; import java.util.HashMap; import java.util.Iterator; import java.util.Locale; import java.util.Map; import java.util.Map.Entry; import java.util.Properties; import javax.servlet.ServletContext; import org....
/* * Copyright 2013 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in...
/* * Constellation - An open source and standard compliant SDI * http://www.constellation-sdi.org * * Copyright 2015 Geomatys. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *...
package com.mattstine.dddworkshop.pizzashop.ordering; import com.mattstine.dddworkshop.pizzashop.infrastructure.domain.valuetypes.Amount; import com.mattstine.dddworkshop.pizzashop.infrastructure.events.adapters.InProcessEventLog; import com.mattstine.dddworkshop.pizzashop.infrastructure.events.ports.EventLog; import ...
/********************************************************************** // @@@ START COPYRIGHT @@@ // // Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. ...
/* * Copyright 2014 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
package com.seedfinding.minemap.util.snksynthesis.voxelgame; import com.seedfinding.minemap.util.snksynthesis.voxelgame.block.Block; import com.seedfinding.minemap.util.snksynthesis.voxelgame.block.BlockManager; import com.seedfinding.minemap.util.snksynthesis.voxelgame.block.BlockType; import com.seedfinding.minemap....
/* * Copyright (c) 2011-2017 Contributors to the Eclipse Foundation * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 * which is available at https:...
/* * MIT License * * Copyright (c) 2020 IceyLeagons (<NAME> and <NAME>) and Contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limita...
/* * Units of Measurement TCK * Copyright © 2005-2020, <NAME>, <NAME>, <NAME>. * * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the abov...
/** * Mars Simulation Project * HaveConversationMeta.java * @version 3.1.0 2017-10-23 * @author <NAME> */ package org.mars_sim.msp.core.person.ai.task.meta; import java.io.Serializable; import java.util.Collection; import java.util.HashSet; import java.util.Set; import java.util.logging.Logger; import org.mars_s...
/******************************************************************************* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this ...
/* * Copyright (c) 2010, Soar Technology, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, this * list ...
package seedu.homerce.ui.schedulepanel; import java.time.LocalDate; import java.time.LocalTime; import java.util.Calendar; import java.util.List; import java.util.logging.Logger; import java.util.stream.Collectors; import javafx.collections.ObservableList; import javafx.fxml.FXML; import javafx.scene.control.ScrollPa...
package com.indiana.server.model.bean; import java.io.Serializable; import javax.jdo.annotations.Extension; import javax.jdo.annotations.NotPersistent; import javax.jdo.annotations.PersistenceCapable; import javax.jdo.annotations.Persistent; import javax.jdo.annotations.PrimaryKey; import com.google.appengine.datanu...
package com.log.lately; import java.awt.Color; import java.awt.Component; import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; import java.util.Map; import java.util.Vector; import javax.swing.JTable; import javax.swing.table.DefaultTableCellRenderer; import com.log.Log; import common.component.STabl...
package io.biblia.workflows.oozie; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.URI; import java.nio.charset.StandardCharsets; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.Propertie...
package com.abdalkarimalbiekdev.herafi.service; import android.app.Notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.Service; import android.content.Context; import android.content.Intent; import android.media.RingtoneManager; import android.net.Uri; import andr...
package com.developerdesk9.ecommerce; import androidx.annotation.NonNull; import androidx.appcompat.app.AppCompatActivity; import androidx.appcompat.widget.Toolbar; import androidx.cardview.widget.CardView; import androidx.recyclerview.widget.LinearLayoutManager; import androidx.recyclerview.widget.RecyclerView; impo...
/* Copyright 2016 Nationale-Nederlanden Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed...
package com.team687.frc2017.commands; import java.util.ArrayList; import com.team687.frc2017.Constants; import com.team687.frc2017.Robot; import com.team687.frc2017.utilities.BezierCurve; import com.team687.frc2017.utilities.PGains; import edu.wpi.first.wpilibj.command.Command; import edu.wpi.first.wpilibj.smartdash...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
package net.asg.games.game.objects; import com.badlogic.gdx.utils.Pool; /** * Created by Blakbro2k on 12/29/2017. */ public class YokelBlock extends AbstractYokelObject implements Pool.Poolable { /* Retrieves power "level" * - Even represents defensive powers ( 2, 4, 6 ) * - Odd represents attack pow...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package uk.ac.uea.cmp.srnaworkbench.tools.firepat; import java.util.ArrayList; import java.util.Arrays; /** * * @author a019349 */ ...
/*- * ============LICENSE_START======================================================= * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
package org.jzy3d.plot3d.primitives.axis; import org.jzy3d.maths.Angle2d; import org.jzy3d.maths.Coord2d; import org.jzy3d.maths.Coord3d; import org.jzy3d.maths.Triangle2d; import org.jzy3d.painters.IPainter; /** * An helper class to process the orientation of text according to a driving axis defined by 2 3D or * 2...
/* * TaskUnifier * Copyright (c) 2013, <NAME> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * - Redistributions of source code must retain the above copyright * notice, thi...
package six.com.crawler.work.plugs; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Map; import org.apache.commons.lang3.StringUtils; import org.jsoup.Jsoup; import org.jsoup.nodes.Document; import org.jsoup.nodes.Element; import org.j...
package com.dragonfruitstudios.brokenbonez.Gameplay; import android.util.Log; import android.view.MotionEvent; import com.dragonfruitstudios.brokenbonez.AssetLoading.AssetLoader; import com.dragonfruitstudios.brokenbonez.Game.Camera; import com.dragonfruitstudios.brokenbonez.Game.GameView; import com.dragonfruitstudios...
/* * Copyright (c) 2007-2015 Mozilla Foundation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify,...
/* * Copyright 2011 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
package com.pointlion.sys.mvc.admin.into; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.text.SimpleDateFormat; import java.util.Arrays; import java.util.Collections; import java.util.Date; import java....
/** Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this ...
package com.wilsongateway.framework; import java.awt.Color; import java.awt.FlowLayout; import java.awt.event.FocusEvent; import java.awt.event.FocusListener; import javax.swing.JButton; import javax.swing.JCheckBox; import javax.swing.JComboBox; import javax.swing.JFrame; import javax.swing.JLabel; impor...
package au.net.immortius.jumpcontinue; import au.net.immortius.jumpcontinue.image.AtlasBuilder; import au.net.immortius.jumpcontinue.image.ImageInfo; import au.net.immortius.jumpcontinue.input.InputCard; import au.net.immortius.jumpcontinue.input.InputData; import au.net.immortius.jumpcontinue.input.InputTheme; import...
package com.example.android.weddingsocial; import android.content.Intent; import android.database.Cursor; import android.net.Uri; import android.os.AsyncTask; import android.os.Bundle; import android.provider.MediaStore; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.widget.B...
package me.olix3001.pixeldata; import java.io.Serializable; import java.util.Collection; import java.util.List; public class Color implements Serializable { private float red; private float green; private float blue; private float alpha = 0f; public Color(float red, float green, float blue) { ...
/* * * Copyright 2005 Sun Microsystems, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
package com.metaopsis.icsapi.v2.dom; import java.util.Arrays; public class ActivityLogEntryItem { private String id; private TaskType type; private String objectId; private String objectName; private long runId; private String agentId; private String runtimeEnvironmentId; private Strin...
package com.enderio.core.common.network; import java.util.IdentityHashMap; import java.util.Map; import javax.annotation.Nonnull; import com.enderio.core.common.util.Log; import com.google.common.base.Throwables; import net.minecraft.client.Minecraft; import net.minecraft.entity.player.EntityPlayerMP; import net.mi...
package edu.pdx.cs410J.web; import java.io.*; import java.net.HttpURLConnection; import java.net.URL; import java.net.URLEncoder; import java.nio.charset.Charset; import java.nio.charset.StandardCharsets; import java.util.HashMap; import java.util.Iterator; import java.util.Map; /** * A helper class that provides me...
package com.rkcodesolution.quizapp; import android.content.DialogInterface; import androidx.annotation.NonNull; import android.util.Log; import com.google.android.gms.tasks.OnCompleteListener; import com.google.android.gms.tasks.Task; import com.google.firebase.database.DataSnapshot; import com.google.firebase.database...
/** * Copyright (C) 2013 Typesafe Inc. <http://www.typesafe.com> */ package docs.io.japi; import java.net.InetSocketAddress; import javax.net.ssl.SSLContext; import javax.net.ssl.SSLEngine; import org.junit.AfterClass; import org.junit.BeforeClass; import org.junit.Test; import akka.actor.ActorContext; import ak...
/* * Copyright (C) 2012-2015 <NAME> ( <EMAIL> ) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appli...
/* * MIT License * * Copyright (c) 2020 Azercoco & Technici4n * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, ...
import model.Human; import model.Student; import org.junit.jupiter.api.Test; import service.StreamApiDemo; import java.util.*; import static org.junit.jupiter.api.Assertions.*; public class TestStreamApiDemo { @Test void testDelNulls() { List<Object> list1 = Arrays.asList(Humans.human1, null, Humans...
/** * Copyright 2005-2021 Riverside Software * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
/* Copyright 2010 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. This progra...
package uk.gov.hmcts.reform.orgrolemapping.helper; import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.ObjectMapper; import lombok.Setter; import uk.gov.hmcts.reform.idam.client.models.UserInfo; import uk.gov.hmcts.reform.orgrolema...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package cn.hanbell.crm.entity; import java.io.Serializable; import javax.persistence.Basic; import javax.persistence.Column; import ja...
/* * @(#)launchBasic.java created 01/01/1997 Mesiano * * Copyright (c) 1997 <NAME> All Rights Reserved. * * This software is the research result of <NAME> and it is * provided as it is as confidential and proprietary information. * You shall not disclose such Confidential Information and shall use * it only in ...
/* * Copyright (c) 2018. * <NAME> */ package com.jmelzer.jitty.service; import com.jmelzer.jitty.dao.PhaseRepository; import com.jmelzer.jitty.dao.TournamentClassRepository; import com.jmelzer.jitty.model.*; import com.jmelzer.jitty.model.dto.GroupPhaseDTO; import com.jmelzer.jitty.model.dto.TournamentGroupDTO; im...
package eapli.base.pedidoservico.domain; import eapli.base.activity.domain.*; import eapli.base.colaboratormanagement.domain.Colaborador; import eapli.base.pedidoservico.dto.PedidoDTO; import eapli.base.servicemanagement.domain.FluxoAtividadesServico; import eapli.base.servicemanagement.domain.Service; import eapli.ba...
package online.stringtek.toy.framework.toyspring.factory; import net.sf.cglib.proxy.Enhancer; import net.sf.cglib.proxy.MethodInterceptor; import net.sf.cglib.proxy.MethodProxy; import online.stringtek.toy.framework.toyspring.annotation.Autowired; import online.stringtek.toy.framework.toyspring.annotation.Repository;...
/* * Copyright 2016 SRI International * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
package frc.robot.kobe; import com.ga2230.shleam.advanced.frc.FRCRobot; import edu.wpi.first.wpilibj.GenericHID; import edu.wpi.first.wpilibj.Joystick; import edu.wpi.first.wpilibj.PowerDistributionPanel; import edu.wpi.first.wpilibj.XboxController; import frc.robot.base.control.path.PathManager; import frc.robot.base...
/* * Copyright (c) 2017-2019 superblaubeere27, <NAME>, MarcoMC * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modi...
package seedu.tarence.logic; import java.io.IOException; import java.nio.file.Path; import java.util.List; import java.util.Map; import java.util.Optional; import java.util.logging.Logger; import javafx.collections.ObservableList; import seedu.tarence.commons.core.GuiSettings; import seedu.tarence.commons.core.LogsCe...
/* * Copyright 2015 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appli...
package com.verygood.security.larky.modules.crypto; import com.verygood.security.larky.modules.types.LarkyByte; import com.verygood.security.larky.modules.types.LarkyByteArray; import com.verygood.security.larky.modules.types.LarkyByteLike; import net.starlark.java.annot.Param; import net.starlark.java.annot.ParamTyp...
package io.github.duckasteroid.progress; import java.io.Closeable; import java.io.IOException; import java.util.List; /** * The interface to an object an application can use to report work on a task. * The task has a {@linkplain #getSize() size} - representing the total amount of work to be done. * The application...
package me.lakhtin; import java.io.IOException; import java.nio.file.*; import java.util.ArrayList; import java.util.Arrays; import java.util.regex.*; import java.util.stream.Stream; public class Main { public static void main(String[] args) { if (args.length < 1) { System.err.print("You shou...
/* * Copyright 2016 DiffPlug * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
package org.pcml_om; import java.math.BigDecimal; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import org.pcml_om.map.PcmlElement; import org.pcml_om.map.PojoElement; import org.pcml_om.map.PojoReflectionHelper; public class PcmlConverter { private String defaultDateF...
/* * www.javagl.de - Rendering * * Copyright 2010-2016 <NAME> - http://www.javagl.de */ package de.javagl.rendering.samples; import java.awt.BorderLayout; import java.awt.Component; import java.util.function.Supplier; import javax.swing.JFrame; import javax.swing.SwingUtilities; import javax.vecmath....
package org.springframework.samples.petclinic.toggles; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.Mock; import org.mockito.junit.MockitoJUnitRunner; import org.springframework.sa...
package com.compomics.peptizer.util.agents.spectrum; import com.compomics.peptizer.interfaces.Agent; import com.compomics.peptizer.util.AgentReport; import com.compomics.peptizer.util.PeptideIdentification; import com.compomics.peptizer.util.datatools.AnnotationType; import com.compomics.peptizer.util.datatools.interf...
package org.schmivits.airball.display.altitude; import org.schmivits.airball.display.DisplayConfiguration; import org.schmivits.airball.widget.Widget; import java.awt.Font; import java.awt.Graphics2D; import java.awt.geom.Rectangle2D; public class AltitudeTapeCore extends Widget { public interface Model { ...
/* * Copyright (C) 2010-2021 Evolveum and contributors * * This work is dual-licensed under the Apache License 2.0 * and European Union Public License. See LICENSE file for details. */ package com.evolveum.midpoint.ninja.action.worker; import java.io.*; import java.nio.charset.Charset; import java.util.concurrent...
/* Rotten Oranges Given a matrix of dimension r*c where each cell in the matrix can have values 0, 1 or 2 which has the following meaning: 0 : Empty cell 1 : Cells have fresh oranges 2 : Cells have rotten oranges So, we have to determine what is the minimum time required to rot all oranges. A rotten orange at index...
/* * Copyright 2017 BTC Business Technology AG * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
/* * Copyright (c) 2016-2021 Deephaven Data Labs and Patent Pending */ package io.deephaven.extensions.barrage.table; import io.deephaven.base.verify.Assert; import io.deephaven.chunk.Chunk; import io.deephaven.chunk.attributes.Values; import io.deephaven.engine.rowset.RowSequence; import io.deephaven.engine.rowset...
/* * Copyright 2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License")...
/* * (C) Copyright 2006-2021 Nuxeo SA (http://nuxeo.com/) and others. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless re...
package game.util; public class Prices { public static final int NUM_PRICES = 49; public int station_value; public int build_rail; public int build_road; public int build_signals; public int build_bridge; public int build_train_depot; public int build_road_depot; public int build_ship_depot; public int bu...
/* * Copyright © 2004-2010 <NAME> <<EMAIL>> * Copyright © 2008-2010 <NAME> <<EMAIL>> * * Redistribution and use in source and binary forms, with or without modification, are * permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice...
package com.coillighting.udder.effect; import javax.sound.midi.*; import com.coillighting.udder.mix.TimePoint; import com.coillighting.udder.model.Pixel; /** Show a single color on all pixels. */ public class MidiMonochromeEffect extends EffectBase { private boolean dirty = false; private ShortMessage mes...
/** * Copyright (C) 2012-2013 Selventa, Inc. * * This file is part of the OpenBEL Framework. * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or ...
/******************************************************************************* * Copyright (c) 2021 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * ...
package com.taobao.tddl.repo.mysql.spi; import java.sql.Connection; import java.sql.SQLException; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.sql.DataSource; import com.taobao.tddl.common.exception.TddlException; import com.taobao.tddl.common.utils....
/* * Copyright 2012 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
// Copyright 2019, California Institute of Technology ("Caltech"). // U.S. Government sponsorship acknowledged. // // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // * Redistributio...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
package top.niunaijun.blackbox.app; import android.app.Application; import android.app.Instrumentation; import android.content.ComponentName; import android.content.Context; import android.content.pm.ApplicationInfo; import android.content.pm.PackageInfo; import android.content.pm.PackageManager; import android.conten...
package com.trinche.app; import android.app.Dialog; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.graphics.Color; import android.os.Handler; import android.preference.Preference; import android.preference.PreferenceFragment; import android.app.F...
/** * Copyright (c) 2012, The University of Southampton and the individual contributors. * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * * Redistributions of source code must retain ...
package com.cactus.endosanalyze.utils; import android.graphics.Bitmap; import android.graphics.Canvas; /* A classe Canvas contém as chamadas "desenhar". Para desenhar algo, você precisa de 4 componentes básicos: Um bitmap para armazenar os pixels, um Canvas para hospedar as chamadas de desenho...
package cn.obcp.base.utils; import java.security.NoSuchAlgorithmException; import javax.crypto.Cipher; import javax.crypto.KeyGenerator; import javax.crypto.SecretKey; import javax.crypto.spec.SecretKeySpec; public class AESUtils { /** * 获取密钥 * * @return 密钥 * @throws NoSuchAlgorithmException */ public s...