text
stringlengths
3.52k
24k
package padeg.lib; import java.util.Arrays; import java.util.List; import padeg.lib.EDeclenError; import padeg.lib.FIO; import padeg.lib.StrUtils; import padeg.lib.Syllable; class FioComm { public static final String VOCALIC = "аоуыэяеёюи"; public static final String CONSONANT = "бвгджзйклмнпрстфхцчшщ"; pub...
/* * 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.dreampany.framework.data.api.weather.model; import android.arch.persistence.room.Embedded; import android.arch.persistence.room.Entity; import android.arch.persistence.room.Ignore; import android.arch.persistence.room.Index; import android.arch.persistence.room.PrimaryKey; import android.os.Parcel; import ...
/* * 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 ...
/* * Shredzone Commons - suncalc * * Copyright (C) 2020 Richard "Shred" Körber * http://commons.shredzone.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * * This program is distributed in the hope that it will be usef...
package com.palmelf.core.util; import java.io.PrintWriter; import java.io.StringWriter; import java.security.MessageDigest; import java.util.HashMap; import java.util.Map; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.apache.commons.codec.binary.Base64; public class StringUtil { public s...
/* * Copyright (C) 2012-2020 <NAME> <https://www.phon.ca> * Copyright (C) 2012 <NAME> <http://www.gedge.ca> * * 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/...
package es.addlink.tutormates.equationEditor.Manager; import java.util.Iterator; import java.util.List; import java.util.Vector; import com.modeliosoft.modelio.javadesigner.annotations.objid; import es.addlink.tutormates.equationEditor.Exceptions.FileEditorException; import es.addlink.tutormates.equationEditor....
package logic; import java.util.ArrayList; import java.util.TreeMap; public class KnowledgeBase { TreeMap<Point, PerceptionNode[]> breeze_nodes = new TreeMap<>(); TreeMap<Point, ResultNode[]> pit_nodes = new TreeMap<>(); TreeMap<Point, PerceptionNode[]> stench_nodes = new TreeMap<>(); TreeMap<Point, R...
/* * Copyright (C) 2014 The Android Open Source Project * Copyright (c) 1995, 2008, 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 Publi...
package ca.noxid.lab.script; import ca.noxid.lab.Messages; import java.io.IOException; import java.io.InputStream; import java.io.Reader; import java.util.*; @SuppressWarnings("unused") public class TscLexer { private Scanner sc = new Scanner(System.in); private int charCount; private boolean isFace = false; p...
package com.b2en.rpm.sqlviewer.vo; import java.io.Serializable; import com.b2en.common.vo.AbstractCommonVO; public class SqlViewerSqlInfo extends AbstractCommonVO implements Serializable { /** * */ private static final long serialVersionUID = 1L; private String instId; private String sqlId; private Stri...
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
/* * Copyright © 2018 VMware, Inc. All Rights Reserved. * SPDX-License-Identifier: BSD-2-Clause */ package com.vmware.connector.hub.salesforce; import com.vmware.connectors.common.json.JsonDocument; import com.vmware.connectors.common.payloads.request.CardRequest; import com.vmware.connectors.common.payloads.respo...
package df.sifriah.view; import java.io.PrintStream; import java.io.UnsupportedEncodingException; import java.util.ArrayList; import java.util.HashMap; import java.util.Map; import org.eclipse.swt.SWT; import org.eclipse.swt.browser.Browser; import org.eclipse.swt.graphics.Rectangle; import org.eclipse.swt.layout.Fil...
package com.apoapsys.astronomy.particleplayground; import java.awt.Color; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.MouseEvent; import java.awt.event.MouseListener; import java.awt.event.MouseMotionListener; impo...
package graph; import java.util.*; /** * @author mitchelljones * Project: tree_decomp * Package: graph * Description: A graph containing a set of vertices from 0..n-1. * Stores the graph in both an adjacency list and adjacency matrix * representation. */ public class Gra...
package com.vx.jtime.client; import java.time.DayOfWeek; import java.time.Instant; import java.time.LocalDate; import java.time.LocalDateTime; import java.time.Month; import java.time.ZoneId; import java.time.ZoneOffset; import java.time.ZonedDateTime; import java.time.format.DateTimeFormatter; import java.time.tempora...
/** * 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...
/* * 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 cn.jmicro.api.net; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.util.Arrays; import java.util.HashMap; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; import cn.jmicro.api.JMicroContext; import cn.jmicro.api....
/** * */ package org.irods.jargon.moarlock; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.Date; import java.util.List; import java.util.Properties; import java.util.Set; import java.util.UUID; import org.irods.jargon.core.connection.IRODSAccount; import org.irods.jar...
/* * (C) Copyright IBM Corp. 2017,2019 * * SPDX-License-Identifier: Apache-2.0 */ package com.ibm.fhir.persistence.jdbc.util; import java.util.ArrayList; import java.util.Arrays; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; import java.util.logging.Logger; import ja...
package de.tuberlin.cit.softmon.gui; import java.awt.BorderLayout; import java.awt.Color; import java.awt.Component; import java.awt.Dimension; import java.awt.FlowLayout; import java.awt.Font; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.Insets; import java.net.URL; import javax...
/** * 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 m...
package com.chalmers.respiradar; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.content.pm.ActivityInfo; import android.content.res.Configuration; import android.os.Bundle; import android.os.Handler; import an...
/** * This code is written by, and is a property of, <NAME>, * Los Gatos, California, USA. Distribution and use of this code without * the author's permission is not allowed. * * Copyright (c) 2018 <NAME> */ package com.jxray.dump.objects; import com.jxray.support.Constants; import com.jxray.support.HprofIdToInt...
/* The Computer Language Benchmarks Game https://salsa.debian.org/benchmarksgame-team/benchmarksgame/ contributed by <NAME> double[] instead of Object[] by <NAME> */ public final class nbody { public static void main(String[] args) { int n = Integer.parseInt(args[0]); NBodySystem bodies = new...
package objects.mob; import java.awt.Color; import java.awt.Point; import java.util.Random; import engine.Dungeon; import engine.Message; import engine.MessageLog; import engine.Resources; import objects.effect.*; import objects.item.*; import objects.looker.*; public class Player extends Mob { priva...
package com.pineone.icbms.sda.kb.dto; import java.util.Base64; import java.util.List; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.apache.jena.atlas.logging.Log; import org.apache.jena.rdf.model.Model; import org.apache.jena.rdf.model.ModelFactory; import org.apache.jena.rdf.mo...
/* * Copyright 2017-2020 <NAME> (https://www.atbash.be) * * 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...
package com.maikeapp.maikewatch.activity; import android.app.ProgressDialog; import android.os.Handler; import android.os.Message; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.ImageView; import android.widget.SeekBar...
package org.linlinjava.litemall.admin.web; import org.apache.commons.lang3.StringUtils; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.linlinjava.litemall.admin.annotation.LoginAdmin; import org.linlinjava.litemall.db.domain.LitemallGoodsSpecification; import org.linlin...
package info.codesaway.bex.diff.myers; import static info.codesaway.bex.util.BEXUtilities.isBetween; import java.util.ArrayList; import java.util.List; import java.util.Optional; import java.util.function.BiFunction; import info.codesaway.bex.diff.AbstractDiffAlgorithm; import info.codesaway.bex.diff.Basic...
package com.teamh.huddleout; import android.app.AlertDialog; import android.app.ProgressDialog; import android.content.Context; import android.content.DialogInterface; import android.net.Uri; import android.os.Bundle; import android.os.Handler; import android.support.v4.app.Fragment; import android.support.v4.app.List...
package io.github.spleefx.util; import io.github.spleefx.arena.api.BaseArenaEngine; import io.github.spleefx.arena.api.GameArena; import io.github.spleefx.economy.booster.BoosterFactory; import io.github.spleefx.economy.booster.BoosterInstance; import io.github.spleefx.extension.GameExtension; import io.github.spleefx...
package games.dicemonastery; import core.AbstractGameState; import core.CoreConstants; import core.actions.AbstractAction; import core.components.Component; import core.turnorders.TurnOrder; import games.dicemonastery.actions.LogEvent; import games.dicemonastery.components.Monk; import java.util.*; import static gam...
package org.lcsim.mc.fast.reconstructedparticle; import org.lcsim.event.Vertex; import org.lcsim.mc.fast.MCFast; import hep.physics.vec.BasicHep3Vector; import hep.physics.vec.BasicHepLorentzVector; import hep.physics.vec.Hep3Vector; import hep.physics.vec.HepLorentzVector; import hep.physics.vec.VecOp; import hep.phy...
package svenhjol.charm.gui; import com.mojang.blaze3d.matrix.MatrixStack; import com.mojang.blaze3d.systems.RenderSystem; import net.minecraft.client.Minecraft; import net.minecraft.client.audio.SimpleSound; import net.minecraft.client.gui.screen.inventory.ContainerScreen; import net.minecraft.entity.player.PlayerInve...
package eu.eventstorm.sql.builder; import static com.google.common.collect.ImmutableMap.of; import static eu.eventstorm.sql.builder.SqlBuilderException.Type.SELECT; import static eu.eventstorm.sql.expression.Expressions.and; import java.util.ArrayList; import java.util.List; import eu.eventstorm.sql.desc.De...
/* * This file is part of LuckPerms, licensed under the MIT License. * * Copyright (c) lucko (Luck) <<EMAIL>> * Copyright (c) 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 th...
/* * 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 thi...
/* Copyright 2013 Applied Defense Solutions, Inc. * Licensed to CS Communication & Systèmes (CS) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * CS licenses this file to You under the Apache License, Ve...
package com.rongji.dfish.misc.chinese; import java.io.BufferedReader; import java.io.InputStream; import java.io.InputStreamReader; import java.util.HashMap; //import com.rongji.dfish.misc.origin.OriginMatcher; /** * 字符串的排序器,和java.text.Collator不同。 * 该排序方式对全角半角不影响排序结果。并且和windows一样,会对数字进行分析。 * 新建文本文档 (9).txt 和 新建文本...
package com.example.pawz_2; import android.content.DialogInterface; import android.content.Intent; import android.net.PlatformVpnProfile; import android.util.Log; import android.view.LayoutInflater; import android.view.MenuInflater; import android.view.MenuItem; import android.view.View; import android.view.ViewGroup;...
package hlaa.duelbot; import cz.cuni.amis.pogamut.base3d.worldview.object.Location; import cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId; import cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004BotModuleController; import cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.Item; import cz.cuni.am...
/* * Digital Invisible Ink Toolkit * Copyright (C) 2005 <NAME> * * 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; either version 2 of the License, or * (at your option)...
/* * Copyright 2010-2016 JetBrains s.r.o. * * 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 agre...
package webserver; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.PrintStream; import java.net.Socket; import java.util.Arrays; import java.util.Date; import java.util.HashMap; ...
package com.qouteall.immersive_portals.render; import com.qouteall.immersive_portals.Global; import com.qouteall.immersive_portals.Helper; import com.qouteall.immersive_portals.ModMain; import com.qouteall.immersive_portals.ducks.IEBuiltChunk; import com.qouteall.immersive_portals.miscellaneous.GcMonitor; import com.q...
/** * Copyright © 2019-Now imxushuai * <p> * 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 * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * Unless required by applicable law ...
import java.awt.image.BufferedImage; import java.util.Arrays; /* * TODO * -Define properties: * river connection * road connection * castle/farmland handling * -Meeples * -Connection validations * ex) can this piece placed here? */ /* * NW N NE * W C E * SW S SE * * More likely * EX) 1...
package org.realityforge.webgl.webglacademy.l11; import akasha.HTMLCanvasElement; import akasha.Response; import akasha.WindowGlobal; import akasha.core.Float32Array; import akasha.core.Uint32Array; import akasha.gl.GLSL; import akasha.gl.WebGL2RenderingContext; import com.google.gwt.core.client.EntryPoint; import jav...
/* * Copyright 2013 Square 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 law or agreed to in w...
/******************************************************************************* * Copyright 2019 <NAME>, <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.analyzer.controllers; import com.analyzer.classes.AppData; import com.analyzer.classes.DataAnalysisResultRecord; import com.analyzer.classes.TableToAnalyze; import com.analyzer.scanning.DataScanActivity; import com.dbutils.common.DBConnections; import com.dbutils.masking.DataScanResult; import javafx.appli...
package mainpackage.Screens; import org.lwjgl.input.Keyboard; import mainpackage.ActorAccessor; import mainpackage.Game; import mainpackage.PlayerInput; import mainpackage.SoundFiles; import mainpackage.TextureFiles; import mainpackage.UserConfig; import aurelienribon.tweenengine.Tween; import aurelienribo...
/* * @(#)GifGraphicControlExtension.java * * $Date: 2014-06-06 20:04:49 +0200 (Fr, 06 Jun 2014) $ * * Copyright (c) 2014 by <NAME>. * All rights reserved. * * The copyright of this software is owned by <NAME>. * You may not use, copy or modify this software, except in * accordance with the license agreemen...
// @formatter:off /* * --------------------------------------------------------- * Copyright(C) Microsoft Corporation. All rights reserved. * Licensed under the MIT license. See License.txt in the project root. * --------------------------------------------------------- * * ---------------------------------------------...
package org.jrebirth.tooling.ecore2fx; import java.io.File; import java.io.IOException; import java.math.BigDecimal; import java.math.BigInteger; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.stream.Collectors; import org.jrebirth.af.tooling.codegen.bean.Class; import or...
package com.etc.controllor; import java.io.IOException; import java.io.PrintWriter; import java.sql.Connection; import java.sql.SQLException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Random; import javax.servlet.ServletExce...
package org.kiharu.hareru.dmhy; import lombok.extern.slf4j.Slf4j; import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.time.DateUtils; import org.jsoup.Jsoup; import org.jsoup.nodes.Document; import org.jsoup.nodes.Element; import org.jsoup.select.Elements; import org.jsoup.select.NodeFilter; i...
/** * Copyright 2017 Syncleus, Inc. * with portions copyright 2004-2017 <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 * *...
import java.awt.Dimension; import java.awt.KeyEventDispatcher; import java.awt.KeyboardFocusManager; import java.awt.Toolkit; import java.awt.datatransfer.Clipboard; import java.awt.event.KeyEvent; import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.IOException; imp...
package com.sam.dbus; import android.app.Activity; import android.app.AlertDialog; import android.app.ListActivity; import android.app.ProgressDialog; import android.content.Context; import android.content.DialogInterface; import android.content.SharedPreferences; import android.graphics.Typeface; import android.os.A...
/* * @(#)SVGApplicationModel.java 1.0 June 10, 2006 * * Copyright (c) 1996-2006 by the original authors of JHotDraw * and all its contributors. * All rights reserved. * * The copyright of this software is owned by the authors and * contributors of the JHotDraw project ("the copyright holders"). * You may...
/* * 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 MuzeOto; import java.awt.Dimension; import java.awt.Toolkit; import java.sql.Connection; import java.sql.DriverManager; import...
/** * Copyright (C) 2018+ furplag (https://github.com/furplag) * * 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 requi...
/* * The Apache Software License, Version 1.1 * * * Copyright (c) 1999, 2000 The Apache Software Foundation. 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 o...
/* * Copyright 2015 Open Networking Laboratory * * 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.oral.controller; import com.alipay.api.AlipayApiException; import com.alipay.api.AlipayClient; import com.alipay.api.DefaultAlipayClient; import com.alipay.api.internal.util.AlipaySignature; import com.alipay.api.request.AlipayTradePagePayRequest; import com.baomidou.mybatisplus.core.conditions.query.Query...
/* * Copyright (c) 2016 LibreTasks - https://github.com/biotinker/LibreTasks * * This file is free software: you may copy, redistribute 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 ...
package au.com.codeka.warworlds.server.events; import java.util.ArrayList; import org.joda.time.DateTime; import au.com.codeka.common.Log; import au.com.codeka.common.model.BaseColony; import au.com.codeka.common.model.DesignKind; import au.com.codeka.common.model.Simulation; import au.com.codeka.common.protobuf.Mes...
package gregicality.science.loaders.recipe.chain; import gregtech.common.items.MetaItems; import static gregicality.science.api.recipes.GCYSRecipeMaps.*; import static gregicality.science.api.unification.materials.GCYSMaterials.*; import static gregtech.api.GTValues.*; import static gregtech.api.recipes.RecipeMaps.*;...
package world.md2html.options.argfile; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.node.ArrayNode; import com.fasterxml.jackson.databind.node.BooleanNode; import com.fasterxml.jackson.databind.node.ObjectNode; i...
package tool.Analy.Antipattern; import java.io.FileWriter; import java.io.IOException; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import soot.Body; import soot.MethodOrMethodContext; import soot.Scene; import soot.SootClass; import soot.SootMethod; import soot.Unit; i...
/* * 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 boundary; import java.util.ArrayList; import java.util.Comparator; import java.util.HashMap; import java.util.Iterator; import...
/* * The MIT License (MIT) * * Copyright 2021 <NAME> <<EMAIL>> * * 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,...
// Written by: <NAME>, AppLariat Corp. import java.lang.reflect.InvocationTargetException; import org.eclipse.core.runtime.IProgressMonitor; import org.eclipse.jface.operation.IRunnableWithProgress; import org.json.simple.JSONArray; import org.json.simple.JSONObject; import org.json.simple.parser.JSONParser;...
/* * 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 pinbot3; import common.MyUtils; import java.io.BufferedReader; import java.io.File; import java.io.IOException; import java.io...
package hotel; import java.util.ArrayList; import java.util.List; import java.util.Random; import javafx.scene.control.Button; import javafx.scene.layout.GridPane; import javafx.scene.layout.Pane; import javafx.scene.text.Text; import javafx.util.Pair; /* * @author <NAME> */ public class HotelToolBox extends Pan...
/* Copyright Statement: * * This software/firmware and related documentation ("MediaTek Software") are * protected under relevant copyright laws. The information contained herein * is confidential and proprietary to MediaTek Inc. and/or its licensors. * Without the prior written permission of MediaTek inc. and/or ...
// 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 writing, software // distribute...
package com.bolan9999; import android.animation.Animator; import android.animation.ValueAnimator; import android.view.animation.DecelerateInterpolator; interface SpringAnimatorListener { void onUpdate(SpringAnimator animation, float value); void onInnerEnd(SpringAnimator animation, float stopVelocity); ...
package com.company; import java.util.Arrays; import java.util.Comparator; import java.util.Scanner; import java.util.ArrayList; public class Meniu { private static Meniu men; Meniu(){ } public static Meniu getInstance(){ if (men==null){ men = new Meniu(); } retur...
/** * 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 *...
// Copyright (c) FIRST and other WPILib contributors. // Open Source Software; you can modify and/or share it under the terms of // the WPILib BSD license file in the root directory of this project. package frc.robot.subsystems; import com.ctre.phoenix.motorcontrol.NeutralMode; import com.ctre.phoenix.motorcontrol.Ta...
package com.lvyangai.highopinion.activity; import android.Manifest; import android.graphics.Rect; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.view.View; import com.lvyangai.high...
package com.google.zxing.datamatrix.encoder; import com.google.zxing.Dimension; import java.util.Arrays; public final class HighLevelEncoder { static boolean isDigit(char c) { return c >= '0' && c <= '9'; } static boolean isExtendedASCII(char c) { return c >= 128 && c <= 255; ...
/* * Copyright (C) 2009 The Android Open Source Project * * 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 app...
package com.deem.excord.domain; import java.io.Serializable; import java.util.List; import java.util.SortedSet; import javax.persistence.Basic; import javax.persistence.CascadeType; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Gene...
package no.ntnu.acp142.pdu; import java.util.ArrayList; import no.ntnu.acp142.Configuration; import no.ntnu.acp142.Log; /* * Copyright (c) 2013, <NAME>, <NAME> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the followin...
package com.marktony.zhuanlan.ui; import android.content.ContentValues; import android.content.Context; import android.content.Intent; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.graphics.Color; import android.net.Uri; import android.os.Bundle; import android.support.a...
/* * Copyright 2012-2015, 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
/* 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 wri...
/* * Name: <NAME> * Date: 3/2/2021 * Professor: Dr. <NAME> * Description: A program that emulates a slot machine. */ //import used libraries import java.util.Random; import javax.swing.JOptionPane; /** * Main SlotMachine class. */ public class SlotMachine { /** * The main method. * * @param...
package com.benmu.framework.extend.adapter; import android.app.Activity; import android.content.Context; import android.text.TextUtils; import android.util.Log; import android.widget.Toast; import com.benmu.framework.BMWXEnvironment; import com.benmu.framework.activity.AbstractWeexActivity; import com.benmu.framework...
package name.thomaswerthmann.java.hdfsdownloader.writetest; import java.io.IOException; import java.nio.ByteBuffer; import java.nio.MappedByteBuffer; import java.nio.channels.AsynchronousFileChannel; import java.nio.channels.CompletionHandler; import java.nio.channels.FileChannel; import java.nio.channels.FileChannel....
package tests.restapi.scenarios.encryption; import org.apache.wink.json4j.JSONArray; import org.apache.wink.json4j.JSONException; import org.apache.wink.json4j.JSONObject; import org.testng.Assert; import org.testng.annotations.*; import tests.com.ibm.qautils.FileUtils; import tests.restapi.*; public cl...
package com.nan.nanlib.compile; import com.google.auto.service.AutoService; import com.nan.nanlib.request.annotation.RequestApi; import java.io.IOException; import java.io.Writer; import java.util.ArrayList; import java.util.HashMap; import java.util.LinkedHashSet; import retrofit2.http.GET; import retrofit2.http.POS...