text
stringlengths
3.52k
24k
/* Copyright (c) 2013 The MITRE Corporation, All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this work except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable...
/* * Copyright 2014 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
/******************************************************************************* * * Pentaho Big Data * * Copyright (C) 2002-2013 by Pentaho : http://www.pentaho.com * ******************************************************************************* * * Licensed under the Apache License, Version 2.0 (the "License...
/* Copyright (c) 2017 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...
package com.atlassian.jconnect.droid.persistence; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.text.DateFormat; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.List; ...
package prover; import java.io.IOException; import java.io.PrintWriter; import java.nio.file.Path; import java.text.NumberFormat; import java.time.LocalDateTime; import java.time.format.DateTimeFormatter; import java.util.*; public final class Problem { public final long startTime = System.currentTimeMillis(); pu...
package org.sagebionetworks.repo.model.dbo.persistence; import static org.sagebionetworks.repo.model.query.jdo.SqlConstants.COL_PROJECT_SETTING_ETAG; import static org.sagebionetworks.repo.model.query.jdo.SqlConstants.COL_STORAGE_LOCATION_CREATED_BY; import static org.sagebionetworks.repo.model.query.jdo.SqlConstants....
package br.com.ctseducare.ctscontas.dao; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import java.util.ArrayList; import java.util.List; import br.com.ctseducare.ctscontas.database.DatabaseUtils; import br.com.cts...
/* * Copyright (c) 2021, <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.apache.org...
package eu.erasmuswithoutpaper.course.preload; import eu.erasmuswithoutpaper.course.entity.AcademicTerm; import eu.erasmuswithoutpaper.course.entity.AcademicYear; import eu.erasmuswithoutpaper.course.entity.GradingScheme; import eu.erasmuswithoutpaper.course.entity.LearningOpportunityInstance; import eu.erasmuswithout...
package route.route; import java.util.ArrayList; import java.util.Collection; import java.util.LinkedList; import java.util.Queue; import java.util.SortedSet; import route.circuit.resource.RouteNode; // It's a class because Java has no structs // Purpose: group simple named values together (seperated into 'BoundingB...
package regexcompiler; import java.util.*; import nfa.NFAGraph; import nfa.NFAVertexND; import nfa.NFAEdge; import analysis.*; import regexcompiler.RegexQuantifiableOperator.QuantifierType; import regexcompiler.ParseTree.TreeNode; import regexcompiler.RegexQuantifiableOperator.RegexPlusOperator; import regexcompiler....
package com.tennington.bwextensions.roger_linn_design; import com.bitwig.extension.controller.ControllerExtension; import com.bitwig.extension.controller.api.*; import java.util.logging.Level; import java.util.logging.Logger; public class LinnStrumentAlt extends ControllerExtension { private static final int MSG_...
/* * The MIT License (MIT) * * Copyright (c) 2018 <NAME> and <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...
package com.cstd.fileweb.service.impl; import com.cstd.fileweb.POJO.Attachment; import com.cstd.fileweb.POJO.MultipartFileParam; import com.cstd.fileweb.repository.AttachmentRepository; import com.cstd.fileweb.service.FileMangerService; import com.cstd.fileweb.utils.FileUtil; import com.cstd.fileweb.utils.KeyUtil; imp...
/** * Copyright 2016 Twitter. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
/* * Copyright (c) 2016, 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...
/** * The MIT License * Copyright (c) 2014 <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 com.openclinic.benhnhan; import java.util.List; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.eclipse.swt.widgets.Dialog; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Shell; import swing2swt.layout.BorderLayout; import or...
/******************************************************************************* * BSD License * * Copyright (c) 2017, AT&T Intellectual Property. All other rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the foll...
/* * Copyright (c) 2019, <NAME>, Koblenz, Germany * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * THE SOFTWARE IS PROVIDED "AS IS" AND THE A...
package com.example.masterlingua; import androidx.annotation.NonNull; import androidx.appcompat.app.AppCompatActivity; import androidx.core.app.ActivityCompat; import androidx.core.content.ContextCompat; import android.Manifest; import android.content.Context; import android.content.Intent; import android.content.pm....
// // ======================================================================== // Copyright (c) 1995-2020 Mort Bay Consulting Pty. Ltd. // ------------------------------------------------------------------------ // All rights reserved. This program and the accompanying materials // are made available under the ter...
/** * 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 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 * distribut...
/* * Copyright (C) 2015-2019 S.Violet * * 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 agr...
/******************************************************************************* * Copyright (c) 2000, 2012 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...
/* * 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 org.cidarlab.phoenix.core; import hyness.stl.TreeNode; import hyness.stl.grammar.sharp.STLSharp; import java.io.File; import j...
package org.cloudbus.cloudsim.ex.web.experiments.asvsdb; import static org.cloudbus.cloudsim.Consts.*; import static org.cloudbus.cloudsim.ex.web.experiments.ExperimentsUtil.HOURS; import static org.cloudbus.cloudsim.ex.web.experiments.ExperimentsUtil.parseExperimentParameters; import java.io.IOException; import java...
package com.andbase.library.app.activity; import android.content.ContentResolver; import android.content.ContentValues; import android.content.Context; import android.content.Intent; import android.content.pm.ActivityInfo; import android.database.Cursor; import android.graphics.Bitmap; import android.hardware.Camera;...
package org.entcore.auth.security; import org.entcore.auth.oauth.OAuthDataHandler; import org.entcore.auth.services.SamlServiceProvider; import org.entcore.auth.services.SamlServiceProviderFactory; import org.opensaml.saml2.core.Assertion; import org.opensaml.saml2.core.Response; import fr.wseduc.webutils.Either; imp...
package connect.utils; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Matrix; import android.media.ExifInterface; import android.media.MediaMetadataRetriever; import android.os.Environment; import android.text.TextUtils; import java.io.ByteArrayOutputStream; import java...
package slimeknights.tconstruct.library.client; import com.mojang.blaze3d.systems.RenderSystem; import com.mojang.blaze3d.vertex.BufferBuilder; import com.mojang.blaze3d.vertex.BufferUploader; import com.mojang.blaze3d.vertex.DefaultVertexFormat; import com.mojang.blaze3d.vertex.PoseStack; import com.mojang.blaze3d.ve...
package org.camunda.bpm.cycle.connector.trisotech; import java.text.FieldPosition; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; /** * This class is a {@link java.text.DateFormat} implementation that parse and format date according to the ISO 8...
package org.pimslims.kpi; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Set; import javax.persi...
package com.easyjob.android.adapter; import android.content.Context; import android.content.Intent; import android.net.Uri; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import android.widget....
/* * Copyright 2011 <NAME> <Harald at H-Postner.de>. * * 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 ...
package src.controller.Simulation; import java.util.*; import src.Model.Actor; import src.Model.Cell; import src.Model.Grid; public class WaTorSimulation extends Simulation{ public String returnTitle(){ return "WaTor Simulation"; } public class Fish extends Actor{ public Fish(double x, double y){ super(x, ...
package com.android.SayHi.chat.thread; import android.content.Context; import android.net.NetworkInfo; import android.os.Bundle; import android.support.v4.content.ContextCompat; import android.support.v4.widget.SwipeRefreshLayout; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget....
/* * The MIT License (MIT) * * Copyright (c) 2011-2022 Broad Institute, Aiden Lab, Rice University, Baylor College of Medicine * * 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...
/* * Copyright 2011 MOPAS(Ministry of Public Administration and Security). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
package mekanism.common.lib.transmitter; import it.unimi.dsi.fastutil.longs.Long2ObjectMap; import it.unimi.dsi.fastutil.longs.Long2ObjectOpenHashMap; import it.unimi.dsi.fastutil.objects.Object2ObjectOpenHashMap; import it.unimi.dsi.fastutil.objects.ObjectOpenHashSet; import java.util.Deque; import java.util.LinkedLi...
package src.book2.xml; import java.awt.Component; import java.awt.EventQueue; import java.io.File; import javax.swing.*; import javax.swing.event.TreeModelListener; import javax.swing.filechooser.FileNameExtensionFilter; import javax.swing.table.AbstractTableModel; import javax.swing.tree.*; import javax.xml.parsers....
package de.undercouch.citeproc.helper; import org.junit.Test; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNull; /** * Test {@link StringHelper} * @author <NAME> */ public class StringHelperTest { /** * Sanitize some simple strings */ @Test public void sa...
package org.flowgrid.android.operation; import java.util.ArrayList; import java.util.List; import java.util.Locale; import org.flowgrid.android.graphics.ArtifactDrawable; import org.flowgrid.model.ActionFactory; import org.flowgrid.model.Callback; import org.flowgrid.model.Artifact; import org.flowgrid.model.Classifi...
/******************************************************************************* * Copyright (c) 2015-2018 Skymind, Inc. * * This program and the accompanying materials are made available under the * terms of the Apache License, Version 2.0 which is available at * https://www.apache.org/licenses/LICENSE-2.0. * *...
/* * Copyright 2016 Red Hat, Inc. and/or its affiliates. * * 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...
/* Copyright (c) [2014] <NAME> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "OrientationSenor"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute...
package test.io; import com.google.common.base.Strings; import org.apache.poi.ss.SpreadsheetVersion; import org.apache.poi.ss.util.CellRangeAddress; import org.apache.poi.xssf.streaming.SXSSFCell; import org.apache.poi.xssf.streaming.SXSSFRow; import org.apache.poi.xssf.streaming.SXSSFSheet; import org.apache.poi.xssf...
/* * DaVinci V1.0 is a light weighted visualization framework and toolkit. * The design of DaVinci based on the information visualization reference model. * Some of the packages are ported from prefuse (http://prefuse.org/). All these packages * keep the original file headers and copyright information. Please rea...
package org.rjava.compiler.semantics.representation; import java.util.ArrayList; import java.util.Arrays; import java.util.Iterator; import java.util.List; import org.rjava.compiler.CompilationUnit; import org.rjava.compiler.RJavaCompiler; import org.rjava.compiler.pass.CompilationPass; import org.rjava.compiler.sema...
package com.project.convertedCode.globalNamespace.namespaces.Psy.namespaces.Command.namespaces.ListCommand.classes; import com.runtimeconverter.runtime.references.ReferenceContainer; import com.runtimeconverter.runtime.passByReference.PassByReferenceArgs; import com.runtimeconverter.runtime.references.BasicReferenceCo...
package com.example.android.cameracustomica; import android.Manifest; import android.content.Context; import android.content.pm.PackageManager; import android.graphics.SurfaceTexture; import android.hardware.camera2.CameraAccessException; import android.hardware.camera2.CameraCharacteristics; import android.ha...
package com.benny.library.tsbutton; import android.animation.ArgbEvaluator; import android.animation.ObjectAnimator; import android.animation.ValueAnimator; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Color; import android.graphics.Paint; import android.graphics.drawa...
/* * The JTS Topology Suite is a collection of Java classes that * implement the fundamental operations required to validate a given * geo-spatial data set to a known topological specification. * * Copyright (C) 2001 <NAME> * * This library is free software; you can redistribute it and/or * modify it under the ...
/* * Copyright (c) 2018. * * 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 writ...
/* * 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...
package abbreviation_extractors; import java.text.Collator; import java.util.*; /** * Copyright (c) 2003, Regents of the University of California * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are ...
/******************************************************************************* * Copyright (c) 2009 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, and is a...
/* * Copyright (C) 2017 <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 ...
/* * 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 youngfriend.moduletree; import com.google.common.base.Strings; import com.google.gson.JsonArray; import com.google.gson.JsonEl...
package edu.miami.c11173414.smartcommunitydrawer; import android.content.Context; import android.location.Location; import android.net.Uri; import android.os.Bundle; import android.support.annotation.IdRes; import android.support.v4.app.Fragment; import android.util.Log; import android.view.LayoutInflater; import andr...
/** * Copyright 2014 SAP AG * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
package org.nd4j.autodiff.samediff.internal; import lombok.Getter; import lombok.NonNull; import lombok.extern.slf4j.Slf4j; import org.nd4j.common.base.Preconditions; import org.nd4j.common.function.Predicate; import org.nd4j.common.primitives.Pair; import java.util.*; /** * Object dependency tracker. * <br> * De...
package org.joverseer.support.readers.xml; import java.util.ArrayList; import org.joverseer.domain.Character; import org.joverseer.domain.CharacterDeathReasonEnum; import org.joverseer.domain.InformationSourceEnum; import org.joverseer.domain.SpellProficiency; /** * Holds information about characters (fro...
package Jetstorm.Enterprise.Handlers; import java.awt.Graphics2D; import java.awt.image.BufferedImage; import Jetstorm.Enterprise.Entities.Pokemon.Pokemon; import Jetstorm.Enterprise.Handlers.Font.FontLoader; public class ViewingPokemon { public static Pokemon pokemon; public static int currentPage = 0...
/** * Twoverse Link Object * * by <NAME> (<EMAIL>) * for August 23, 1966 (GROCS Project Group) * University of Michigan, 2009 * * http://august231966.com * http://www.dc.umich.edu/grocs * * Copyright 2009 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this fil...
package org.openapitools.codegen; import org.apache.commons.io.IOUtils; import org.apache.commons.lang3.StringUtils; import org.openapitools.codegen.api.TemplatePathLocator; import org.openapitools.codegen.api.TemplateProcessor; import org.openapitools.codegen.api.TemplatingEngineAdapter; import org.openapitools.codeg...
/****************************************************************************** * Product: Adempiere ERP & CRM Smart Business Solution * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * This program is free software; you can redistribute it and/or modify it * ...
/** * OpenSimplex2 noise, speed-optimized for column generation. * Lock in an X/Z position, and call getForY(y) for each successive Y position. * It remembers enough of the current state of the noise to achieve a ~2.6x speedup. * * Works best for small steps in Y. Larger steps may see diminished performance gains....
package com.litchiny.camera.ui; import android.app.AlertDialog; import android.app.AlertDialog.Builder; import android.app.Dialog; import android.app.DialogFragment; import android.content.DialogInterface; import android.content.DialogInterface.OnShowListener; import android.os.Bundle; import android.os.Envir...
package com.sample.foo.usingawarenessapi; import android.Manifest; import android.content.pm.PackageManager; import android.graphics.Color; import android.location.Location; import android.support.annotation.NonNull; import android.support.v4.app.ActivityCompat; import android.support.v4.content.ContextCompat; 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 ...
package com.amazonaws.kvstranscribestreaming.handler; import com.amazonaws.auth.AWSCredentialsProvider; import com.amazonaws.auth.DefaultAWSCredentialsProviderChain; import com.amazonaws.kvstranscribestreaming.constants.Platform; import com.amazonaws.kinesisvideo.parser.ebml.InputStreamParserByteSource; import com.ama...
package ch.ethz.bhepp.ode.boost; import java.nio.ByteBuffer; import java.nio.ByteOrder; import java.nio.DoubleBuffer; import java.nio.IntBuffer; import ch.ethz.bhepp.ode.BufferOdeAdapter; import ch.ethz.bhepp.ode.FixedStepSolver; import ch.ethz.bhepp.ode.Ode; import ch.ethz.bhepp.ode.Solver.InitializationException; ...
/* // This software is subject to the terms of the Eclipse Public License v1.0 // Agreement, available at the following URL: // http://www.eclipse.org/legal/epl-v10.html. // You must accept the terms of that agreement to use this software. // // Copyright (C) 2005-2005 <NAME> // Copyright (C) 2005-2012 Pentaho and othe...
package net.osmand.access; import android.content.Context; import android.content.DialogInterface; import android.os.SystemClock; import android.os.Vibrator; import androidx.appcompat.app.AlertDialog; import net.osmand.Location; import net.osmand.data.LatLon; import net.osmand.plus.OsmAndFormatter; import net.osman...
package org.opentosca.bus.management.service.impl.instance.plan; import java.util.HashMap; import java.util.Map; import java.util.Objects; import java.util.Optional; import javax.persistence.NoResultException; import javax.xml.namespace.QName; import org.eclipse.winery.model.tosca.TParameter; import org.eclipse.wine...
package com.sauradyuti.stockalert.aliceblue; import static com.sauradyuti.stockalert.aliceblue.Constants.FAILED; import static com.sauradyuti.stockalert.aliceblue.Constants.NSE_EXCHANGE_CODE; import static com.sauradyuti.stockalert.aliceblue.Constants.SOCKET_ENDPOINT; import android.content.Context; import android.os...
package com.jagex;/* * an implementation of a wavetable synthesizer that * generates square/sine/saw/noise/flat tables * and supports phase and amplitude modulation * * more: http://musicdsp.org/files/Wavetable-101.pdf */ /** * A wavetable synthesiser that generates square/sine/saw/noise/flat tables and supports...
/* * Copyright (C) 2016 Google 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 ...
/** * Copyright (c) 2001-2018 <NAME> and Robocode contributors * 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, and is available at * https://robocode.sourceforge.io/license/epl-v10.html...
/* * 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 ...
/* * Copyright (C) 2012 CyberAgent * * 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 i...
package net.svasek.java.patchmaker.ant; import net.svasek.java.patchmaker.core.*; import org.apache.tools.ant.BuildException; import org.apache.tools.ant.Task; import org.apache.tools.ant.types.PatternSet; import org.codehaus.plexus.archiver.jar.Manifest; import org.codehaus.plexus.archiver.jar.JarArchiver; im...
package us.teaminceptus.smpcore.utils; import java.net.URI; import java.net.http.HttpClient; import java.net.http.HttpRequest; import java.net.http.HttpResponse; import java.util.TreeMap; import java.util.UUID; import org.bukkit.ChatColor; import org.bukkit.Location; import org.bukkit.craftbukkit.v1_18_R1.inventory.C...
/* * Copyright (c) 2008-2015, Hazelcast, Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
// -*- mode:java; encoding:utf-8 -*- // vim:set fileencoding=utf-8: // @homepage@ package example; import java.awt.*; import java.util.Objects; import java.util.stream.IntStream; import javax.swing.*; import javax.swing.text.AbstractDocument; import javax.swing.text.BadLocationException; import javax.swing.text.BoxVi...
/* Copyright 2003-2012 <NAME>, GanttProject Team This file is part of GanttProject, an opensource project management tool. GanttProject 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 Li...
import java.io.BufferedWriter; import java.io.File; import java.io.FileOutputStream; import java.io.OutputStreamWriter; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Calendar; import java.util.Date; import java.util.List; import java.util.Locale; public class MeetingManage { List<M...
/* * Copyright (C) 2016 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...
/************************************************************************** * Copyright (c) 2001 by <NAME>. All rights reserved. * * * * Redistribution and use in source and binary forms, with or without * * modification, are permi...
package pl.beny.nsai.game.checkers; import pl.beny.nsai.game.checkers.CheckersMan.Side; import pl.beny.nsai.game.checkers.CheckersMan.Type; import pl.beny.nsai.util.GamesException; import java.util.ArrayList; import java.util.List; import java.util.stream.Collectors; import static pl.beny.nsai.game.checkers.Checkers...
package org.opensha.sra.gui.portfolioeal; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.ItemEvent; import java.awt.event.ItemListener; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.lang...
package us.zoom.tools.l10n.core; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStreamReader; import java.io.OutputStreamWriter; import java.io.PrintStream; import java.net.URL; import java.net.URLDeco...
/* * Copyright 2008-2018 Hippo B.V. (http://www.onehippo.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 req...
/* * * 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 * "Licens...
/* * Copyright 2018 <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 agr...
/** * Appcelerator Titanium Mobile * Copyright (c) 2013 by Appcelerator, Inc. All Rights Reserved. * Licensed under the terms of the Apache Public License * Please see the LICENSE included with this distribution for details. */ package ti.modules.titanium.ui.widget.abslistview; import java.util.ArrayList; import...
package rx.observables; import java.util.concurrent.atomic.AtomicLong; import rx.Observable$OnSubscribe; import rx.Observer; import rx.Producer; import rx.Subscriber; import rx.Subscription; import rx.annotations.Experimental; import rx.functions.Action0; import rx.functions.Action1; import rx.functions.Action2; impor...