text
stringlengths
3.52k
24k
/* * 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 wr...
/* 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 * distributed...
package me.elendrial.graphicsTool.helpers; import java.awt.Color; import java.util.ArrayList; import java.util.Random; import me.elendrial.graphicsTool.objects.PixelMap; import me.elendrial.graphicsTool.objects.Polygon; import me.elendrial.graphicsTool.types.Vector; public class GenerationHelper { // TODO publ...
package connect.me.activities; import android.app.Dialog; import android.app.NotificationManager; import android.content.Context; import android.content.Intent; import android.content.pm.PackageManager; import android.location.Location; import android.os.Build; import android.os.Bundle; import android.os.Vibrator; imp...
/* * The MIT License * * Copyright 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, including without limitation the rights * to use, copy, modify, ...
package novamachina.exnihilosequentia.common.blockentity.crucible; import java.util.Objects; import java.util.Optional; import javax.annotation.Nonnull; import javax.annotation.Nullable; import net.minecraft.core.BlockPos; import net.minecraft.core.Direction; import net.minecraft.nbt.CompoundTag; import net.minecraft....
package com.sonia_yt.nus.nusfoodie; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.text.TextUtils; import android.util.Log; import android.util.Patterns; import android.view.View; import android.view.Window; import android.widget.Ima...
package entities; import java.util.HashMap; import com.badlogic.gdx.utils.Array; import box2dLight.PointLight; import entities.MobAI.ResetType; import handlers.Vars; import main.Game; import main.Main; import scenes.Scene; public class Spawner extends Entity { public boolean enabled = true; private float spaw...
//////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2014, NVIDIA CORPORATION. All rights reserved. // Copyright 2017 mzhg // // Licensed under the Apache License, Version 2.0 (the "License"); you may not // use this file except in compliance with the License. You may obtai...
package meta.cyanLang; import java.util.ArrayList; import ast.CompilationUnit; import ast.CyanMetaobjectWithAtAnnotation; import ast.Expr; import ast.ExprLiteralCyanSymbol; import ast.ExprLiteralString; import ast.ExprMessageSendWithSelectorsToExpr; import ast.MessageWithSelectors; import ast.MetaobjectArgum...
/* * This file is part of ViaVersion - https://github.com/ViaVersion/ViaVersion * Copyright (C) 2016-2022 ViaVersion and contributors * * 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, eith...
/* * Copyright (C) 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 * * Unless required by applicable law or agreed to in...
/* * Copyright (C) 2013 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 dc.impl.opencl; import org.lwjgl.BufferUtils; import org.lwjgl.PointerBuffer; import org.lwjgl.opencl.CL10; import java.nio.IntBuffer; import java.util.Random; import static org.lwjgl.opencl.CL10.*; /* gived from https://developer.nvidia.com/opencl */ public final class NVidiaScanOpenCLService { pri...
package test; import java.io.IOException; import java.util.Iterator; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hbase.HBaseConfiguration; import org.apache.hadoop.hbase.HColumnDescriptor; import org.apache.hadoop.hbase.HTableDescriptor; import org.apache.hadoop.hbase.TableName; import org.a...
/* Copyright 2013 predic8 GmbH, www.predic8.com 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 agree...
/* * Copyright (c) 2007 BUSINESS OBJECTS SOFTWARE LIMITED * 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 n...
package slimeknights.tconstruct.gadgets; import com.google.common.collect.Lists; import net.fabricmc.fabric.api.event.lifecycle.v1.ServerTickEvents; import net.minecraft.block.Block; import net.minecraft.block.BlockState; import net.minecraft.block.Blocks; import net.minecraft.block.entity.BlockEntity; import net.mine...
/******************************************************************************* * Copyright (c) 2012, 2013 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, an...
package org.outerj.pollo.xmleditor.attreditor; import org.outerj.pollo.DomConnected; import org.outerj.pollo.xmleditor.model.XmlModel; import org.outerj.pollo.xmleditor.schema.AttributeSchema; import org.outerj.pollo.xmleditor.schema.ISchema; import org.outerj.pollo.xmleditor.util.DomUtils; import org.outerj.pollo.xml...
/* * org.nrg.xnat.turbine.modules.screens.XDATScreen_download_sessions * XNAT http://www.xnat.org * Copyright (c) 2014, Washington University School of Medicine * All Rights Reserved * * Released under the Simplified BSD. * * Last modified 7/10/13 9:04 PM */ package org.nrg.xnat.turbine.modules.screens; impor...
package org.instantlogic.netty; import java.io.BufferedReader; import java.io.File; import java.io.IOException; import java.io.InputStreamReader; import java.lang.Thread.UncaughtExceptionHandler; import java.net.InetSocketAddress; import java.nio.file.FileSystems; import java.nio.file.Path; import java.nio.file.Standa...
/* * Copyright (c) 2009 The University of Maryland. All Rights Reserved. * */ package edu.umd.lib.dspace.app.xmlui.aspect.administrative.units; import java.sql.SQLException; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.UUID; import org.dspace.app.xmlui.cocoon.A...
package beaconfinder.fun.berger.de.beaconfinder.keyboard; import android.app.Activity; import android.content.Intent; import android.content.res.Resources; import android.os.Bundle; import android.os.Vibrator; import android.util.TypedValue; import android.view.View; import android.widget.Button; import android.widget...
package com.dotcms.integritycheckers; import com.dotcms.repackage.com.csvreader.CsvReader; import com.dotcms.repackage.com.csvreader.CsvWriter; import com.dotmarketing.common.db.DotConnect; import com.dotmarketing.db.DbConnectionFactory; import com.dotmarketing.exception.DotDataException; import com.dotmarketing.portl...
package com.example.skillshop.NavigationFragments.Profile; import android.content.Intent; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.design.widget.BottomNavigationView; import android.support.design.widget.NavigationView; impo...
package org.v8LogScanner.LocalTCPLogScanner; import org.v8LogScanner.LocalTCPConnection.SocketEvent; import org.v8LogScanner.LocalTCPConnection.SocketTemplates; import org.v8LogScanner.LocalTCPConnection.TCPConnection; import org.v8LogScanner.LocalTCPConnection.TCPProtocol.TCPMessages; import org.v8LogScanner.LocalTCP...
/** * */ package JMeter.plugins.functional.samplers.websocket; import java.io.IOException; import java.net.URI; import java.net.URISyntaxException; import java.text.MessageFormat; import java.util.Map; import java.util.UUID; import java.util.concurrent.TimeUnit; import org.apache.commons.lang3.StringUtils; import ...
package mockit.asm.classes; import java.util.*; import javax.annotation.*; import mockit.asm.*; import mockit.asm.constantPool.*; import mockit.asm.fields.*; import mockit.asm.jvmConstants.*; import mockit.asm.methods.*; import mockit.asm.util.*; import mockit.internal.util.*; /** * A {@link ClassVisitor} that gen...
package com.notbytes.barcodereader; import android.app.AlertDialog; import android.app.DatePickerDialog; import android.app.ProgressDialog; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.support.annotation.NonNull; import android.support.design.wid...
package org.firstinspires.ftc.teamcode; import com.qualcomm.hardware.modernrobotics.ModernRoboticsI2cColorSensor; import com.qualcomm.hardware.modernrobotics.ModernRoboticsI2cGyro; import com.qualcomm.robotcore.eventloop.opmode.Autonomous; import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode; import com.qualco...
package graphic.relations; import classDiagram.IDiagramComponent; import classDiagram.IDiagramComponent.UpdateMessage; import classDiagram.components.Entity; import classDiagram.components.InterfaceEntity; import classDiagram.components.SimpleEntity; import classDiagram.relationships.Inheritance; import graphic.Graphi...
/* * Copyright 2015 Delft University of Technology * * 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 powercraft.logic; import java.util.List; import cpw.mods.fml.common.registry.GameRegistry; import net.minecraft.block.Block; import net.minecraft.init.Blocks; import net.minecraft.init.Items; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import powercraft.api.annotation.PC_Fie...
package net.sf.l2j.gameserver.scripting.scripts.ai.individual; import java.util.ArrayList; import java.util.List; import net.sf.l2j.commons.random.Rnd; import net.sf.l2j.commons.util.StatsSet; import net.sf.l2j.Config; import net.sf.l2j.gameserver.data.manager.GrandBossManager; import net.sf.l2j.gameserver.model.L2S...
/* * Copyright 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
package com.thinkgem.jeesite.modules.child_baseinfo.entity; import java.io.Serializable; import java.util.Date; import java.util.List; import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonProperty; import com.thinkgem.jeesite.common.config.Global; import com.thinkgem.jeesite...
package net.ssehub.kernel_haven.code_model.ast; import static net.ssehub.kernel_haven.util.null_checks.NullHelpers.notNull; import java.util.ArrayList; import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.function.Function; import net.ssehub.kernel_haven.code_model.AbstractCodeE...
/* * 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 dto; import java.io.Serializable; import java.util.List; import javax.persistence.Basic; import javax.persistence.CascadeType;...
package com.lyz.code.infinity.utils; /** * Grid * * @author <NAME> * @version v 1.0 Dec. 1st, 2004 * --------------------------------------------------------------------------- * @History */ import java.util.ArrayList; import java.util.TreeMap; public class Grid { private Row[] rows; ...
/* * The contents of this file are subject to the Mozilla Public License * Version 1.1 (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.mozilla.org/MPL/ * * Software distributed under the License is distributed on an "AS IS" ...
package org.fortiss.smg.actuatorclient.solarlog.impl; import java.io.BufferedReader; import java.io.DataOutputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStreamReader; import java.net.HttpURLConnection; import java.net.URL; import java.net.URLConnection; import java.u...
/** * Copyright 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 applicable law or agre...
package com.zlinks.common.utils; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; import java.util.HashMap; import java.util.Map; import java.util.regex.Pattern; /** * 身份证严格校验工具 */ public class IDCardValidateUtil { private static final String ...
package info.ralab.uxdf.chain; import com.google.common.collect.Lists; import com.google.common.collect.Maps; import info.ralab.uxdf.UXDFException; import java.util.*; import java.util.regex.Matcher; import java.util.regex.Pattern; /** * UXDF关系链 */ public class UXDFChain implements Iterable<List<UXDFChainItem>> { ...
/* * Copyright 2019 Arcus 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 applicable law or agreed to ...
/* * NOTICE * This software was produced for the office of the Director of National Intelligence (ODNI) * Intelligence Advanced Research Projects Activity (IARPA) ICArUS program, * BAA number IARPA-BAA-10-04, under contract 2009-0917826-016, and is subject * to the Rights in Data-General Clause 52.227-14, Alt. ...
package com.dxfeed.atlassian; import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; import org.apache.commons.codec.binary.Base64; import org.apache.commons.lang.StringUtils; import org.json.simple.JSONArray; import org.json.simple.JSONObject; import org.springframework.beans.factory.annotation.Auto...
// Copyright (c) Corporation for National Research Initiatives package org.python.core; /** * An implementation of PyCode where the actual executable content * is stored as a PyFunctionTable instance and an integer index. */ public class PyTableCode extends PyCode { public int co_argcount; int nargs; p...
/** * Copyright (C) 2016 Hyphenate Inc. All rights reserved. * <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 * http://www.apache.org/licenses/LICENSE-2.0 * Unless required ...
package org.ihtsdo.termserver.scripting.reports; import org.ihtsdo.otf.exception.TermServerScriptException; import org.ihtsdo.termserver.scripting.ReportClass; import org.ihtsdo.termserver.scripting.domain.Concept; import org.ihtsdo.termserver.scripting.domain.Relationship; import org.ihtsdo.termserver.scripting.util....
/* This file is part of VoltDB. * Copyright (C) 2008-2020 VoltDB Inc. * * 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...
package com.cser.play.order; import java.math.BigDecimal; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; import com.cser.play.account.UserAccountService; import com.cser.play.common.enums.DealCategory; import com.cser.play.common.enums.DealSta...
/* * Copyright 2011 by The Appdapter Project (www.appdapter.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.apache.org/licenses/LICENSE-2.0 * * Unless...
package com.ericyuegu.whaddyahavin; import android.app.Activity; import android.app.ActivityOptions; import android.app.AlarmManager; import android.app.AlertDialog; import android.app.NotificationChannel; import android.app.NotificationManager; import android.app.PendingIntent; import android.content.DialogInterface;...
import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.IOException; import java.io.PrintWriter; public class BinaryTree implements Runnable{ Node root; static StringBuffer result = new StringBuffer(); Node maxRoot; static class Node { int key; int height; ...
/* * (C) Copyright 2018 <NAME> (https://github.com/F43nd1r) * * 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 ...
/* * Created on 2005-5-11 * * To change the template for this generated file go to * Window - Preferences - Java - Code Style - Code Templates */ package com.hzecool.fdn.utils.net; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.io.PrintWriter...
/* * Copyright (C) 2014 Qiujuer <<EMAIL>> * WebSite http://www.qiujuer.net * Created 12/29/2014 * Changed 02/10/2015 * Version 2.0.0 * Author Qiujuer * * 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 o...
package cn.edu.estella.jennyweather; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.AdapterView; import android.widget.BaseAdapter; import android.widget.Button; imp...
package dev.cafeteria.artofalchemy.blockentity; import dev.cafeteria.artofalchemy.AoAConfig; import dev.cafeteria.artofalchemy.ArtOfAlchemy; import dev.cafeteria.artofalchemy.block.BlockDissolver; import dev.cafeteria.artofalchemy.essentia.EssentiaContainer; import dev.cafeteria.artofalchemy.gui.handler.HandlerDistill...
package fi.nls.oskari.control.statistics.plugins; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.ObjectMapper; import fi.nls.oskari.cache.JedisManager; import fi.nls.oskari.control.statistics.data.*; import fi.nls.o...
/* * * MIT License * * Copyright (c) 2020 TerraForged * * 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, m...
/* * 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")...
/* * 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 com.amplifyframework.datastore.generated.model; import com.amplifyframework.core.model.annotations.HasMany; import com.amplifyframework.core.model.temporal.Temporal; import java.util.List; import java.util.UUID; import java.util.Objects; import androidx.core.util.ObjectsCompat; import com.amplifyframework.c...
package screenshot; import java.awt.BorderLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.IOException; import javax.swing.ImageIcon; import javax.swing.JButton; import javax.swing.JToolBar; import javax.swing.JWindow; //操作窗口 public class ToolsWindow extends JWindow { ...
package main; import java.io.IOException; import java.net.URISyntaxException; import java.util.ArrayList; import org.apache.log4j.PropertyConfigurator; import print.color.Ansi.Attribute; import print.color.Ansi.BColor; import print.color.Ansi.FColor; import print.color.ColoredPrinter; import util.Option; import util....
/* Copyright 2019 Erigo Technologies 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, softw...
/* * Copyright 2015 PermeAgility Incorporated. * * 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 ...
package org.birdfont.nioserver.tests; import static org.junit.Assert.*; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.OutputStream; import java.io.OutputStreamWriter; import java.io.Prin...
package pixlepix.auracascade.main; import cpw.mods.fml.common.network.NetworkRegistry; import net.minecraft.block.Block; import net.minecraft.entity.Entity; import net.minecraft.entity.item.EntityItem; import net.minecraft.inventory.IInventory; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; impor...
/* Copyright (c) 2019 FIRST. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted (subject to the limitations in the disclaimer below) provided that * the following conditions are met: * * Redistributions of source code must retain the above cop...
/** See the file "LICENSE" for the full license governing this code. */ package au.org.ands.vocabs.registry.api.validation; import static au.org.ands.vocabs.registry.api.validation.CheckRelatedEntity.INTERFACE_NAME; import java.lang.invoke.MethodHandles; import java.util.HashMap; import java.util.HashSet; import jav...
package com.IdeaBox.controllers; import java.security.NoSuchAlgorithmException; import java.util.List; import javax.servlet.http.HttpSession; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.domain.Page; import org.springframework.stereotype.Controller; import org.spring...
package com.danielappdev.fosterships; import android.content.Intent; import android.content.SharedPreferences; import android.os.CountDownTimer; import android.preference.PreferenceManager; import android.provider.Settings; import android.support.constraint.ConstraintLayout; import android.support.v7.app.AppCompatActi...
package uk.ac.ox.cs.pagoda.rules; import java.util.Collection; import java.util.HashMap; import java.util.Iterator; import java.util.LinkedList; import java.util.Map; import org.semanticweb.HermiT.model.AtLeast; import org.semanticweb.HermiT.model.AtLeastConcept; import org.semanticweb.HermiT.model.AtLeastDataRange; ...
package at.mep.util; /** Created by <NAME> on 2016 - 02 - 24. */ import at.mep.editor.EditorWrapper; import com.mathworks.widgets.text.mcode.MTree; import java.util.ArrayList; import java.util.Arrays; import java.util.Iterator; import java.util.List; /** * Get node Strings * a NodeFS may look like the following ...
/** * This software is released as part of the Pumpernickel project. * All com.pump resources in the Pumpernickel project are distributed under the * MIT License: * https://raw.githubusercontent.com/mickleness/pumpernickel/master/License.txt * More information about the Pumpernickel project is available here: * h...
package i.f0.g; import i.a; import i.a0; import i.b0; import i.c0; import i.e; import i.f0.c; import i.g; import i.p; import i.s; import i.t; import i.v; import i.y; import i.z; import java.io.IOException; import java.io.InterruptedIOException; import java.net.ProtocolException; import java.net.Proxy; import java.net....
package proactive.core; import org.reactivestreams.Publisher; import org.reactivestreams.Subscriber; import java.util.Iterator; import java.util.ServiceLoader; import java.util.concurrent.Flow; import java.util.function.Consumer; import java.util.function.Function; import java.util.function.Predicate; /** * This in...
package com.sgametrio.wsd; import java.io.BufferedWriter; import java.io.FileWriter; import java.io.IOException; import java.util.ArrayList; import java.util.HashMap; import java.util.LinkedHashSet; import java.util.Map; import java.util.Set; import org.jgrapht.alg.scoring.ClosenessCentrality; import org.jgrapht.grap...
/* * Copyright (c) 2010-2020 Tencent Cloud. All rights reserved. * * 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 ...
/* * 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 software_testing_meaures; import java.util.Random; import java.util.Scanner; /** * * @author <NAME> */ class Decision_Tab...
/******************************************************************************* * Copyright 2007-2013 See AUTHORS file. * * 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 2019 <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 ...
package jimm.datavision.gui; import jimm.datavision.*; import jimm.datavision.field.Field; import jimm.datavision.field.AggregateField; import jimm.datavision.gui.cmd.NewAggregateCommand; import jimm.datavision.gui.cmd.EditAggregateFuncCommand; import jimm.datavision.gui.cmd.DeleteAggregateCommand; import jimm.util.I18...
/* * Copyright (c) 2012 <NAME> <<EMAIL>> * 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 2.1 of the License, or (at your option) * any later version. * * Thi...
/* * 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 br.com.diego.apipostocombustivel.component; import java.io.BufferedReader; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.List; import org.springframework.beans....
import javafx.util.Pair; import java.util.*; /** * This class represents an FSA. It checks the FSA and returns an error if exists. * * @author <NAME> <<EMAIL>> B17-05, Innopolis University */ public class Validator { public Validator(Scanner in) { this.result = new String[11]; // ...
package traffic.body.time; import traffic.body.path.*; import traffic.util.*; import rescuecore2.worldmodel.EntityID; import rescuecore2.standard.entities.*; import rescuecore2.misc.geometry.*; import java.util.*; import java.util.stream.*; public class Time { private static final int MICROSTEPS = 600; priv...
/* * Copyright 2009 <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...
// // Copyright (c) 2008-2011, <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, including without limitation // the rights to use, copy, modify, merge, publis...
package com.github.t1.problemdetail.ri.lib; import com.github.t1.problemdetail.Detail; import com.github.t1.problemdetail.Extension; import com.github.t1.problemdetail.Instance; import com.github.t1.problemdetail.LogLevel; import com.github.t1.problemdetail.Logging; import com.github.t1.problemdetail.Status; import co...
package com.hemaapp.hm_FrameWork.fileload; import android.content.Context; import android.os.Looper; import android.os.Message; import com.hemaapp.hm_FrameWork.PoplarObject; import java.io.File; import java.io.FileOutputStream; import java.net.URL; import java.net.URLConnection; import java.util.ArrayList; /** * 文...
/* * AbstractFitFunctionView.java * * Created Aug 3, 2011 * * Copyright 2006-2018 <NAME>, CIRDLES.org, and Earth-Time.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 * * ...
/* * $Id$ * * Copyright (c) 2012-2012 jMonkeyEngine * 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, th...
/* # Licensed Materials - Property of IBM # Copyright IBM Corp. 2015 */ package com.ibm.streamsx.topology.test.spl; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import static org.junit.Assume.assumeTrue; import java.io.File; import java.util.Collections; import java.util....
/* * This file is part of lanterna (http://code.google.com/p/lanterna/). * * lanterna 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 * (at your option) any lat...