text
stringlengths
3.52k
24k
package com.hansung.drawingtogether.util; import android.app.Activity; import android.content.Context; import android.os.SystemClock; import android.util.AttributeSet; import android.view.Display; import android.view.MotionEvent; import android.view.WindowManager; import android.widget.AbsoluteLayout; import android.w...
package com.cerner.jwala.commandprocessor.impl.jsch; import com.cerner.jwala.commandprocessor.CommandProcessor; import com.cerner.jwala.common.domain.model.ssh.DecryptPassword; import com.cerner.jwala.common.exec.ExecReturnCode; import com.cerner.jwala.common.exec.RemoteExecCommand; import com.cerner.jwala.common.exec...
package io.github.ryuu.adventurecraft.overrides; import io.github.ryuu.adventurecraft.entities.EntityArrowBomb; import io.github.ryuu.adventurecraft.items.Items; import io.github.ryuu.adventurecraft.util.DebugMode; import java.util.Random; public class xq extends rw { private final Random a; protected xq(in...
package kr.re.keti.socket; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.net.InetAddress; import java.net.ServerSocket; import java.net.Socket; import java.util.ArrayLi...
package com.etheller.warsmash.viewer5.handlers.w3x.simulation.combat.attacks; import java.util.EnumSet; import com.etheller.warsmash.viewer5.handlers.w3x.simulation.CSimulation; import com.etheller.warsmash.viewer5.handlers.w3x.simulation.CUnit; import com.etheller.warsmash.viewer5.handlers.w3x.simulation.abilities.t...
/** * 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 android.bishe.service; import android.app.Service; import android.bishe.R; import android.bishe.Utils.ImageUtil; import android.bishe.Utils.MusicUtils; import android.bishe.activity.MusicActivity; import android.bishe.bean.LrcContent; import android.bishe.bean.LrcProcess; import android.bishe.bean.Music; imp...
package com.mikerusoft.jsonable.transform; import com.mikerusoft.jsonable.utils.ConfInfo; import com.mikerusoft.jsonable.refelection.ReflectionCache; import org.apache.commons.lang3.StringEscapeUtils; import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.tuple.ImmutablePair; import org.apache.co...
package randoop.test.issta2006; //Taken from JPF examples directory. import java.util.HashSet; import java.util.Set; import java.util.Vector; //XXX not implemented, but keeping because historical and might want to implement eventually //import randoop.NotPartOfState; // FibHeap.java // from : http://sciris.shu.edu/...
package org.smartregister.giz.repository; import android.content.ContentValues; import android.database.Cursor; import android.database.SQLException; import androidx.annotation.Nullable; import net.sqlcipher.database.SQLiteDatabase; import org.smartregister.giz.domain.Hia2Indicator; import org.smartregister.reposito...
package ut2004.exercises.e03; import java.util.*; import java.util.concurrent.atomic.AtomicInteger; import java.util.logging.Level; import java.util.stream.Collectors; import cz.cuni.amis.pogamut.base.communication.worldview.listener.annotation.EventListener; import cz.cuni.amis.pogamut.base.utils.guice.AgentScoped; ...
import java.awt.Toolkit; import java.awt.Color; import java.awt.Dimension; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.geom.Rectangle2D; import java.awt.EventQueue; import java.awt.event.*; import java.util.ArrayList; import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.J...
// // Source code recreated from a .class file by IntelliJ IDEA // (powered by FernFlower decompiler) // package com.dooberjaz.mooresmod.util.recipe.CodeChickenLibWorkaround; import com.google.common.base.Charsets; import com.google.common.base.Objects; import com.google.common.io.LineProcessor; import com....
package burp.utils; import burp.*; import java.io.IOException; import java.net.MalformedURLException; import java.net.URI; import java.net.URISyntaxException; import java.net.URL; import java.nio.file.*; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import java.util.*; import com....
/* * 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 mandarin.packpack.commands.bc; import common.CommonStatic; import common.util.Data; import common.util.lang.MultiLangCont; import common.util.stage.MapColc; import common.util.stage.Stage; import common.util.stage.StageMap; import common.util.unit.Enemy; import discord4j.core.event.domain.message.MessageEvent;...
/* * Copyright (c) 2008-2015 EMC Corporation * All Rights Reserved */ package com.emc.storageos.volumecontroller.impl.plugins.discovery.smis.processor.detailedDiscovery; import java.util.Map; import java.util.Set; import javax.cim.CIMArgument; import javax.cim.CIMDataType; import javax.cim.CIMInstance; import java...
package functions; import binary_functions.Diff; import binary_functions.Division; import binary_functions.Exp; import binary_functions.Product; import binary_functions.Sum; import consts.DefConst; import consts.e; import unary_functions.Acos; import unary_functions.Asin; import unary_functions.Atan; import unary_func...
package org.basex.query.func; import static org.basex.query.util.Err.*; import java.math.BigDecimal; import java.util.Calendar; import org.basex.query.QueryContext; import org.basex.query.QueryException; import org.basex.query.expr.Expr; import org.basex.query.item.DTd; import org.basex.query.item.Dat; import org.base...
package io.boontadata.flink1; import com.datastax.driver.core.Cluster; import java.lang.Double; import java.lang.Long; import java.text.Format; import java.text.SimpleDateFormat; import java.time.Instant; import java.util.Date; import java.util.Iterator; import java.util.Properties; import org.apache.flink.streaming.a...
package org.redshiftrobotics.beacons; /** * TODO: Better docs * To use: * Create an instance somewhere (one at a time). * Call `startCamera()` in start() * Call `detect()` to try and detect a beacon. * Call `stopCamera()` in stop() */ import android.graphics.Bitmap; import android.graphics.BitmapFactory; impor...
/* * 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 pokedex.gui.type; import pokedex.gui.widgets.Label; import pokedex.gui.widgets.InfoButton; import java.awt.Color; im...
/* * 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 com.myriad.auto2.controllers; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.ObjectMapp...
package com.magicbusapp.magicbus; import android.animation.Animator; import android.animation.AnimatorListenerAdapter; import android.app.Activity; import android.net.Uri; import android.os.Build; import android.os.Bundle; import android.support.v4.app.Fragment; import android.text.TextUtils; import android.util.Log; ...
/* * 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.parse.starter.fragments; import android.app.Activity; import android.app.AlertDialog; import android.app.Fragment; import android.content.ContentValues; import android.content.DialogInterface; import android.content.Intent; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import andro...
package net.lecousin.framework.text; import java.math.BigInteger; import java.text.ParseException; import net.lecousin.framework.encoding.EncodingException; import net.lecousin.framework.encoding.HexaDecimalEncoding; /** * Utility methods for String. */ public final class StringUtil { private Strin...
package org.greesoft.hydro.test.client.controller; import com.alibaba.fastjson.JSONObject; import io.swagger.annotations.*; import org.apache.commons.lang.StringUtils; import org.greesoft.hydro.test.client.bean.vo.UserAccountVO; import org.greesoft.hydro.test.client.bean.vo.UserAddVO; import org.greesoft.hydro.test.cl...
package com.example.shequtest.activity; import android.content.ClipboardManager; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.os.Handler; import android.view.View; import android.view.ViewGroup; import android.view.inputmethod.InputMethodManager; import androi...
/** * */ package br.odb.littlehelper3d; import java.io.FileNotFoundException; import java.io.IOException; import java.util.ArrayList; import br.odb.derelict.engine.bzk3.android.AndroidGameActor; import br.odb.derelict.menus.PlayGameActivity; import br.odb.gamelib.gameapp.GameAudioManager; import br.odb.libscene.Ac...
package com.clausgames.crystalmagic.client.model; import net.minecraft.client.model.ModelBase; import net.minecraft.client.model.ModelRenderer; import net.minecraft.entity.Entity; /** * Crystal.tcn - TechneToTabulaImporter * Created using Tabula 4.1.1 */ public class ModelCrystalOre extends ModelBase { public ...
import com.avaje.ebean.Ebean; import com.avaje.ebean.SqlRow; import controllers.LanguageController; import models.*; import org.apache.commons.io.FileUtils; import play.Play; import play.Application; import play.GlobalSettings; import play.Logger; import play.db.DB; import play.libs.F; import play.libs.Yaml; import pla...
package cn.pzhu.forum.controller; import cn.pzhu.forum.application.LoginApplicationService; import cn.pzhu.forum.entity.Major; import cn.pzhu.forum.entity.School; import cn.pzhu.forum.entity.User; import cn.pzhu.forum.entity.UserInfo; import cn.pzhu.forum.realm.EasyTypeToken; import cn.pzhu.forum.service.MajorService;...
package com.example.wenda01.utils; import com.example.wenda01.R; import java.util.Arrays; import java.util.HashSet; import java.util.List; import java.util.Set; import java.util.regex.Matcher; import java.util.regex.Pattern; public class StringUtils { //字符串工具类 public static String [] listHome={"主"}; publi...
/******************************************************************************* * Copyright (c) <2013>, 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...
import java.awt.BorderLayout; import java.awt.Color; import java.awt.FlowLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.KeyEvent; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.DataInputStream; import java.io.DataOutputSt...
//UserLovcation package com.example.dlpbgj; import androidx.annotation.NonNull; import androidx.core.app.ActivityCompat; import androidx.core.content.ContextCompat; import androidx.fragment.app.FragmentActivity; import android.Manifest; import android.content.Intent; import android.content.pm.PackageManager; import a...
package org.hisp.dhis.ivb.report.action; /* * Copyright (c) 2004-2012, University of Oslo * 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 ...
package com.google.android.exoplayer2.p183b; import org.jacoco.agent.p025rt.internal_8ff85ea.asm.Opcodes; /* renamed from: com.google.android.exoplayer2.b.m */ /* compiled from: MpegAudioHeader */ public final class C8266m { /* renamed from: a */ private static final String[] f17496a = {"audio/mpeg-L1", "aud...
/** * Copyright (c) 2008 Perforce Software. All rights reserved. */ package com.perforce.team.ui.p4java.actions; import java.lang.reflect.InvocationTargetException; import java.text.MessageFormat; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util....
package com.teamscale.upload; import com.teamscale.upload.autodetect_revision.AutodetectCommitUtils; import com.teamscale.upload.resolve.ReportPatternUtils; import com.teamscale.upload.utils.LogUtils; import com.teamscale.upload.utils.MessageUtils; import com.teamscale.upload.utils.OkHttpUtils; import com.teamscale.up...
/* ======================================================== * WindowChromeLayoutManager.java * * Author: kenmchugh * Created: Jan 12, 2011, 3:47:00 PM * * Description * -------------------------------------------------------- * General Class Description. * * Change Log * ----------------------------...
/** * Copyright 2017 TerraMeta Software, 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 ap...
package com.example.asus.androiddrinkshopserver; import android.content.Intent; import android.net.Uri; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.Adapter; import android.widget.Button; import android.widget.EditTe...
package se.mah.lisa_b; import java.awt.BorderLayout; import java.awt.EventQueue; import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.border.EmptyBorder; import javax.swing.JMenuBar; import javax.swing.JMenu; import javax.swing.JMenuItem; import javax.swing.JScrollPane; import javax.swing.JTable; ...
/* * Copyright (c) 2017-2018 Aion foundation. * * This file is part of the aion network project. * * The aion network project 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, either versi...
package vswe.stevescarts.Modules.Realtimers; import java.util.Collections; import java.util.Comparator; import java.util.Iterator; import java.util.List; import net.minecraft.entity.Entity; import net.minecraft.entity.EntityFlying; import net.minecraft.entity.EntityLivingBase; import net.minecraft.entity.boss.EntityDr...
package test.client.core; import com.bazaarvoice.emodb.sor.api.Change; import com.bazaarvoice.emodb.sor.api.DataStore; import com.bazaarvoice.emodb.sor.delta.Delta; import com.bazaarvoice.emodb.sor.delta.Deltas; import com.google.common.collect.ImmutableMap; import com.google.common.collect.Lists; import com.google.in...
package com.hujiang.project.zhgd.utils; import java.io.File; import java.io.IOException; import java.io.OutputStream; import java.lang.reflect.Method; import java.lang.reflect.ParameterizedType; import java.text.DateFormat; import java.text.DecimalFormat; import java.text.SimpleDateFormat; import java.util.A...
/* * Copyright 2002-2008 <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://ruleml-dev.sourceforge.net/ * * Unless required by applicable law or agreed to in writing...
package it.ecosw.dudo.gui; /** * This file is part of Dudo for Android software. * * Dudo 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, either version 3 of the License, or * (at your optio...
package com.kingja.roundswitchbutton; import android.animation.Animator; import android.animation.AnimatorListenerAdapter; import android.animation.ValueAnimator; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Canvas; import android.graphics.Paint; import android.graphic...
package com.example.finalproj; import androidx.annotation.NonNull; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; import android.util.Log; import android.view.Gravity; import android.widget.CalendarView; import android.widget.EditText; import android.widget.TextView; import android.view.Vi...
package net.minecraft.src; public class ItemMap extends ItemMapBase { protected ItemMap(int var1) { super(var1); this.setMaxStackSize(1); } public MapData func_28023_a(ItemStack var1, World var2) { (new StringBuilder()).append("map_").append(var1.getItemDamage()).toString(); ...
package granulej.lang; import java.lang.reflect.*; import java.util.ArrayList; import java.util.Iterator; import java.util.Arrays; import java.util.List; import sun.misc.Unsafe; public class ReflectInfo { public static ArrayList s_field_list; public static ArrayList i_field_list; public static vo...
package com.example.qpdjg.all_for.Fragment; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentTransaction; import androi...
package com.hariharan.arduinobluetooth; import android.Manifest; import android.app.Activity; import android.bluetooth.BluetoothAdapter; import android.bluetooth.BluetoothDevice; import android.bluetooth.BluetoothSocket; import android.content.Intent; import android.content.pm.PackageManager; import android.graphics.P...
package com.arkea.asyncapi.v2.parser.util; import static java.nio.charset.StandardCharsets.UTF_8; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.nio.file.Files; import java.nio.file.Path; import java.util.Optional; import org.apache.commons.io.IOUtils; import org....
package com.example.gabdampar.travlendar.Controller; import android.content.Context; import android.content.SharedPreferences; import android.util.Log; import com.example.gabdampar.travlendar.Controller.JsonSerializer.LocalTimeSerializer; import com.example.gabdampar.travlendar.Model.TimeWeather; import com.example.g...
package com.itheima52.mobilesafe.activity; import android.app.ActivityManager; import android.content.Intent; import android.content.pm.ApplicationInfo; import android.content.pm.PackageInfo; import android.content.pm.PackageManager; import android.graphics.Color; import android.graphics.drawable.Drawable; import andr...
/* * Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Softwa...
package com.huiketong.cofpasgers.controller; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONObject; import com.huiketong.cofpasgers.constant.Constant; import com.huiketong.cofpasgers.constant.URL; import com.huiketong.cofpasgers.constant.UserType; import com.huiketong.cofpasgers.constant.EnumLogin; ...
package org.firstinspires.ftc.teamcode; import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode; import com.qualcomm.robotcore.eventloop.opmode.OpMode; import com.qualcomm.robotcore.hardware.DcMotor; import com.qualcomm.robotcore.hardware.DcMotorSimple; import com.qualcomm.robotcore.util.ThreadPool; import com.vuf...
package com.example.hasee.shiyuji.View; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.RadioButton; import android.widget.RadioGroup; import android.widget.Toast; import com.example.hasee.shiyuji.Log.LogUtil; imp...
import java.util.*; import org.junit.Test; import static org.junit.Assert.*; // LC691: https://leetcode.com/problems/stickers-to-spell-word/description/ // // Given N different types of stickers. Each sticker has a lowercase English // word on it. You would like to spell out the given target string by cutting // indi...
package com.amobee.freebee.evaluator.index; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.io.Serializable; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.Map; import java.util.Optional; import java.util....
package com.chinapex.android.monitor.view.charts; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.DashPathEffect; import android.graphics.Paint; import android.graphics.Path; import android.support.annotation....
/* * This file is part of Cubic World Generation, licensed under the MIT License (MIT). * * Copyright (c) 2015-2020 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 ...
package tiedonpakkaus.ui; import java.io.IOException; import java.util.Scanner; import tiedonpakkaus.domain.Compressor; import tiedonpakkaus.domain.Decompressor; import tiedonpakkaus.util.PerformanceTester; /** * Käyttöliittymä. */ public class UserInterface { private String[] commandDescriptions = { ...
import java.awt.*; import java.awt.event.*; import javax.swing.*; import java.util.ArrayList; /** * This panel lets the user place colored rectangles on a canvas * by clicking the canvas. The color of the rectangle is given * by a color palette that lies along the bottom of the applet. * Alt-clicking (or clicki...
package me.mervin.project.usr.mervin.ctrl; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import me.mervin.core.Edge; import me.mervin.core.Network; import me.mervin.core.Global.NetType; import me.mervin.model.ER; import me.mervin.model.WSNetwork; import me.mervin.module....
/* * This file is part of the computer assignment for the * Information Retrieval course at KTH. * * First version: <NAME>, 2012 * Additions: <NAME>, 2012-14 * Modifications: <NAME>, 2016 */ package ir; import java.awt.*; import java.awt.event.*; import javax.swing.*; import javax.swing.t...
package com.old.time.activitys; import android.app.Activity; import android.app.ProgressDialog; import android.content.Intent; import android.graphics.Rect; import android.hardware.Camera; import android.os.Build; import android.support.constraint.ConstraintLayout; import android.support.v7.widget.LinearLayoutManager;...
package com.traits.model; import com.traits.db.MySQLHandler; import com.traits.scheduler.SysScheduler; import org.apache.log4j.Logger; import java.io.Serializable; import java.math.BigDecimal; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; i...
package com.hurst.digitalpantry.ui.main.Session; import androidx.lifecycle.Observer; import androidx.lifecycle.ViewModelProvider; import android.content.Intent; import android.os.Bundle; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.fragment.app.Fragment; import androidx.re...
/* * 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 co.edu.uniandes.csw.requirement.ejb; import co.edu.uniandes.csw.requirement.entities.CasoDeUsoEntity; import co.edu.uniandes.c...
package me.winter.boing.detection.continuous; import com.badlogic.gdx.math.Vector2; import com.badlogic.gdx.utils.Pool; import me.winter.boing.Collision; import me.winter.boing.PhysicsWorld; import me.winter.boing.colliders.Box; import me.winter.boing.colliders.Limit; import me.winter.boing.detection.PooledDetector; ...
package com.rei.trailregister; import static java.util.stream.Collectors.toList; import static java.util.stream.Collectors.toMap; import static spark.Spark.exception; import java.io.IOException; import java.io.InputStream; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java....
/** * This software was developed and / or modified by Raytheon Company, * pursuant to Contract DG133W-05-CQ-1067 with the US Government. * * U.S. EXPORT CONTROLLED TECHNICAL DATA * This software product contains export-restricted data whose * export/transfer/disclosure is restricted by U.S. law. Dissemination ...
package com.inicu.models; import java.sql.Timestamp; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import com.inicu.postgres.entities.ApneaEvent; import com.inicu.postgres.entities.DeclinedApneaEvent; import com.inicu.postgres.entities.NursingDailyassesment; import com.inicu.postgres.en...
package org.organicdesign.fp; import org.organicdesign.fp.collections.UnmodIterable; import org.organicdesign.fp.collections.UnmodSortedIterator; import org.organicdesign.fp.function.Function1; import org.organicdesign.fp.function.Function2; import java.util.ArrayList; import java.util.List; import java.util.NoSuchEl...
package romelo333.notenoughwands.Items; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.block.state.IBlockState; import net.minecraft.client.Minecraft; import net.minecraft.client.entity.EntityPlayerSP; import net.minecraft.client.util.ITooltipFlag; import net.mine...
package com.example.alan.data; import android.util.Log; import org.greenrobot.greendao.annotation.Entity; import org.greenrobot.greendao.annotation.Id; import org.greenrobot.greendao.annotation.Keep; import org.greenrobot.greendao.annotation.Transient; import androidx.annotation.NonNull; import androidx.annotation.N...
/* * Copyright (C) 2011 QSDN,Inc. * Copyright (C) 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 b...
package codeandchords; import javax.sound.sampled.AudioFormat; import com.portaudio.BlockingStream; import com.portaudio.PortAudio; import com.portaudio.StreamParameters; import net.beadsproject.beads.core.AudioContext; import net.beadsproject.beads.core.AudioIO; import net.beadsproject.beads.core.AudioUtils; import...
package org.osgl; /*- * #%L * Java Tool * %% * Copyright (C) 2014 - 2018 OSGL (Open Source General Library) * %% * 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....
package com.myhailov.mykola.fishpay.activities; import android.content.Intent; import android.os.Bundle; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.support.v7.widget.SearchView; import android.util.TypedValue; import android.view.LayoutInflater; ...
/* * ============================================================================= * * Copyright (c) 2011-2018, The THYMELEAF team (http://www.thymeleaf.org) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may ob...
/* * Copyright 2005 <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 2021 LENA Development Team. * * 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...
/** * Copyright 2007-2016, Kaazing Corporation. 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 require...
package com.lucylole.dijkstranodes; import javafx.application.Platform; import javafx.embed.swing.JFXPanel; import javafx.scene.Group; import javafx.scene.Scene; import javafx.scene.canvas.Canvas; import javafx.scene.canvas.GraphicsContext; import javafx.scene.image.Image; import javafx.scene.paint.Color; import javaf...
/* * Copyright (c) 2011-2019, <NAME>. All Rights Reserved. * * This file is part of BoofCV (http://boofcv.org). * * 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.apach...
package util.mail; import java.io.IOException; import java.util.Date; import java.util.Enumeration; import java.util.Properties; import javax.activation.DataHandler; import javax.activation.FileDataSource; import javax.mail.Authenticator; import javax.mail.BodyPart; import javax.mail.Folder; import javax....
/* * Copyright 2015 <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 entities; import java.awt.Color; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.Point; import java.awt.geom.Point2D; import java.util.ArrayList; import render.Model; import colliders.Collider; import colliders.ColliderBox; import colliders.ColliderCircle; import entities.ai.EntityAI; im...
/******************************************************************************* * Copyright 2016 Jalian Systems Pvt. Ltd. * * 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:...
/* * Copyright (c) 2007, 2020, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
package com.zxm.palmcampus.utils; public class SyllabusUtils { public SyllabusUtils() { } // 将星期转化成对应的星期数字 public int changeStrWeekToInt(String week) { // 星期日、一、二、三、四、五、六 // 对应 1、 2、 3、 4、 5、 6、 7 int intWeek = 0; if (week.equals("一")) { intWeek = 2; } else if (week.equals("二")) { intWeek = 3; }...
/* * Copyright 2014-present <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 ...