text
stringlengths
7
995k
package me.unbreathable.compiler.util; import java.io.*; import java.util.ArrayList; public class FileUtil { /** * Reads content from a file * * @param file The file * @return The content */ public static ArrayList<String> readContent(File file) { try { ArrayList...
package sm4; /** * Created by $(USER) on $(DATE) */ import dto.Util; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; public class SM4 { public static final int SM4_ENCRYPT = 1; public static final int SM4_DECRYPT = 0; private long GET_ULONG_BE(byte[] b, int i) { lo...
package org.keycloak.testsuite.cookies; import org.apache.commons.io.IOUtils; import org.apache.http.NameValuePair; import org.apache.http.client.CookieStore; import org.apache.http.client.entity.UrlEncodedFormEntity; import org.apache.http.client.methods.CloseableHttpResponse; import org.apache.http.client.methods.Ht...
package com.ke.css.cimp.ffm.ffm4; /* ----------------------------------------------------------------------------- * Rule_Typ_Numeric.java * ----------------------------------------------------------------------------- * * Producer : com.parse2.aparse.Parser 2.5 * Produced : Fri Feb 23 10:53:57 KST 2018 * * ----...
/* * Copyright (c) 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020 David Berkman * * This file is part of the SmallMind Code Project. * * The SmallMind Code Project is free software, you can redistribute * it and/or modify it under either, at your discretion... * * 1) The term...
/* * 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 store.col.storage.array; import core.Types; import core.array.GrowthStrategy; import store.col.storage.ColStorageFactory; import store.col.storage.generic.ColStorage; /** * Copyright 6/6/13 * All rights reserved. * <p/> * User: Max Miller * Created: 6/6/13 */ public class ArrayColStorageFactory extends ...
package eu.ha3.presencefootsteps.sound.acoustics; import com.google.gson.JsonObject; import eu.ha3.presencefootsteps.sound.Options; import eu.ha3.presencefootsteps.sound.State; import eu.ha3.presencefootsteps.sound.player.SoundPlayer; import eu.ha3.presencefootsteps.util.Range; import net.minecraft.world.entity.Entity...
/* * 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 2015-2020 Alexandr Evstigneev * * 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 a...
/* * 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...
/** * 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"...
package p455w0rd.art.integration.crafttweaker; import com.blamejared.mtlib.helpers.InputHelper; import crafttweaker.annotations.ModOnly; import crafttweaker.annotations.ZenRegister; import crafttweaker.api.item.IItemStack; import net.minecraft.item.ItemStack; import p455w0rd.art.init.ModGlobals; import p455w0rd.art.in...
/** * Copyright (C) 2014-2021 Philip Helger (www.helger.com) * philip[at]helger[dot]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/LICE...
package com.zxy.idea.plugin.external.plugin.support; import com.android.tools.idea.gradle.project.GradleProjectInfo; import com.android.tools.idea.navigator.nodes.AndroidViewProjectNode; import com.intellij.ide.projectView.TreeStructureProvider; import com.intellij.ide.projectView.ViewSettings; import com.intellij.ide...
package de.buw.tmdt.plasma.services.dms.shared.dto.semanticmodel; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import de.buw.tmdt.plasma.services.dms.shared.dto.Positioned; import de.buw.tmdt.plasma.utilit...
/* * * * * Apache License * Version 2.0, January 2004 * http://www.apache.org/licenses/ * * TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION * * 1. Definitions. * * "License" shall mean the term...
package practice.cp1_1; import edu.princeton.cs.algs4.StdIn; public class EX05 { public static void main(String[] args) { // TODO Auto-generated constructor stub double x = StdIn.readDouble(); double y = StdIn.readDouble(); System.out.println(0 < x && x < 1 && 0 < y && y < 1); } }
/* * Copyright (c) 2018, Daniel Teo <https://github.com/takuyakanbr> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright no...
package mit.cadlab.dome3.gui.deploy.deployPlayspace; import mit.cadlab.dome3.gui.deploy.components.DeployPlayspaceData; import mit.cadlab.dome3.gui.deploy.components.DeployUtilities; import mit.cadlab.dome3.gui.guiutils.DomeFileChooser; import mit.cadlab.dome3.swing.Templates; import javax.swing.ButtonGroup; import j...
package org.embulk.output.jdbc; import java.util.ArrayList; import java.util.List; import org.embulk.spi.Column; import org.embulk.spi.Page; import org.embulk.spi.PageReader; import org.embulk.spi.time.Timestamp; import org.msgpack.value.Value; /** * Record read by PageReader. * The class will save read records f...
/** * Copyright (c), Data Geekery GmbH, contact@datageekery.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 requir...
/* * DBeaver - Universal Database Manager * Copyright (C) 2016-2016 Karl Griesser (fullref@gmail.com) * Copyright (C) 2010-2020 DBeaver Corp and others * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of...
package jp.chang.myclinic.logdto.practicelog; import jp.chang.myclinic.dto.TextDTO; public class TextCreated implements PracticeLogBody { public TextDTO created; public TextCreated() { } public TextCreated(TextDTO created) { this.created = created; } }
// RDP for Expr Grammar // 1. Expr → Term Elist // 2. Elist → + Term Elist // 3. Elist → ε // 4. Term → Factor Tlist // 5. Tlist → * Factor Tlist // 6. Tlist → ε // 7. Factor → ( Expr ) // 8. Factor → var int inp; final int var = 256; final int endmarker = 257; void Expr() { if (inp==’(’ || inp==var) // apply rule 1 {...
/* * Copyright (C) 2004-2016 L2J DataPack * * This file is part of L2J DataPack. * * L2J DataPack is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option...
/*- * #%L * rapidoid-commons * %% * Copyright (C) 2014 - 2018 Nikolche Mihajlovski and contributors * %% * 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 com.alfred.user.controller; import cn.hutool.http.HttpResponse; import com.alfred.user.entity.BusCar; import com.alfred.user.entity.TbUser; import com.alfred.user.service.TbUserService; import com.fasterxml.jackson.annotation.JsonAnyGetter; import org.springframework.beans.factory.annotation.Autowired; import ...
/* * JBoss, Home of Professional Open Source. * Copyright 2006, Red Hat Middleware LLC, and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free software; you can redistribute it and/or modify i...
/* * 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 n...
package com.nutn.utm.model.dto.ai; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import lombok.*; /** * @author swshawnwu@gmail.com(ShawnWu) */ @JsonPropertyOrder({ "latitude", "longitude", "windDegree", "windSpeed" }) @Getter @Builder @AllArgsConstructor @NoArgsConstruc...
/* * 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.richstonedt.garnet.config; import com.richstonedt.garnet.filter.UserFilter; import com.richstonedt.garnet.filter.illegalFilter; import org.springframework.boot.web.servlet.FilterRegistrationBean; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration...
package org.compiere.grid.ed; /* * #%L * de.metas.adempiere.adempiere.client * %% * Copyright (C) 2015 metas GmbH * %% * 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 o...
package com.datastream_api; import org.apache.flink.api.common.functions.MapFunction; import org.apache.flink.api.common.functions.ReduceFunction; import org.apache.flink.api.common.typeinfo.TypeHint; import org.apache.flink.api.java.tuple.Tuple2; import org.apache.flink.api.java.tuple.Tuple5; import org.apache.flink....
/* * Copyright (C) 2006-2021 Talend Inc. - www.talend.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 applicabl...
/* * Copyright 2018 JDCLOUD.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 agreed to in...
package ru.stqa.pft.addressbook.tests; import org.testng.annotations.BeforeMethod; import org.testng.annotations.Test; import ru.stqa.pft.addressbook.model.GroupData; import ru.stqa.pft.addressbook.model.Groups; import static org.hamcrest.CoreMatchers.equalTo; import static org.hamcrest.MatcherAssert.assertThat; pu...
package com.ghn.android.util; import android.content.Context; import android.net.ConnectivityManager; import android.net.NetworkInfo; import retrofit2.HttpException; public class NetworkUtil { /** * Returns true if the Throwable is an instance of RetrofitError with an * http status code equals to the given ...
package com.nairalance.rewards.android.controls.expandablerecyclerview; import androidx.recyclerview.widget.RecyclerView.ViewHolder; import android.view.ViewGroup; import com.nairalance.rewards.android.controls.expandablerecyclerview.models.ExpandableGroup; import com.nairalance.rewards.android.controls.expandablerecy...
package info.ivicel.github.githubtrends.ui; import android.content.Context; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.support.v7.widget.Toolbar; import info.ivicel.github.githubtrends.R; import info.ivicel.github.githubtrends.ui.activity.B...
package com.google.zxing.aztec.decoder; import com.google.zxing.FormatException; import com.google.zxing.aztec.AztecDetectorResult; import com.google.zxing.common.BitMatrix; import com.google.zxing.common.DecoderResult; import com.google.zxing.common.reedsolomon.GenericGF; import com.google.zxing.common.reedsolomon.Re...
package com.graphics; import static org.lwjgl.opengl.GL11.*; import java.awt.image.BufferedImage; import java.io.FileInputStream; import java.io.IOException; import javax.imageio.ImageIO; import com.utils.BufferUtils; public class Texture { private int width, height; private int texture; public int getWidth()...
package com.example.ruolan.cainiaogo.bean; /** * Created by ruolan on 2015/11/12. */ import java.util.List; /** * "totalCount":28, * "currentPage":1, * "totalPage":3," * pageSize":10, * "list * @param <T> */ public class Page<T> { private int currentPage; private int pageSize; private int total...
package org.scotsbots.robotbase.utils; import org.scotsbots.robotbase.AutonStrategy; import org.scotsbots.robotbase.Robot; //import org.scotsbots.stronghold.RobotHardwareCompbot; public class AutonStrategyPosAGear extends AutonStrategy { public int time = 0; @Override public void intialize() { time = 0; } ...
package site.morn.boot.exception; import lombok.Getter; import lombok.Setter; import org.springframework.boot.context.properties.ConfigurationProperties; /** * 异常配置项 * * @author timely-rain * @since 1.0.0, 2018/12/20 */ @Getter @Setter @ConfigurationProperties("morn.exception") public class ExceptionProperties {...
/* * Copyright 2013 The Netty Project * * The Netty Project licenses this file to you 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.prowidesoftware.swift.model.mx.dic; import java.math.BigDecimal; import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlSchemaType; ...
package org.sunbird.actors; import java.text.MessageFormat; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.apache.commons.collections4.CollectionUtils; import org.apache.commons.collections4.MapUtils; import org.apache.commons.lang3.StringUtils; import org...
package com.avanade.artmachina.app.fragments; import android.content.Intent; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.v4.app.Fragment; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.view.LayoutInfla...
/* * Copyright 2017 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 applica...
package lognoziroh.controller; import org.apache.catalina.User; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation...
package com.koch.ambeth.query.squery.model; /*- * #%L * jambeth-test * %% * Copyright (C) 2017 Koch Softwaredevelopment * %% * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www....
package com.example.android.libjokeprovider; import java.util.ArrayList; import java.util.Arrays; /** * JokeRepository class populates a list of jokes and has a method to return the list to the android app */ public class JokeRepository { private static ArrayList<String> sJokeListDaily; private static Arra...
package Tools; import javafx.application.Platform; public class Stoper { private long start; private long stop; public void start(){ start = System.currentTimeMillis(); } public void stop(){ stop = System.currentTimeMillis(); } public double getSeconds(){ return (s...
/******************************************************************************* * Copyright (c) 1998, 2013 Oracle and/or its affiliates. All rights reserved. * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0...
package com.google.android.gms.internal.ads; import com.vungle.warren.model.Advertisement; public final class zzsp { /* renamed from: a */ public static boolean m31097a(String str) { return "audio".equals(m31099c(str)); } /* renamed from: b */ public static boolean m31098b(String str) { ...
package com.mageddo.di.koin; public class FruitDeliveryResource { }
/** * Copyright 2013 Canada Health Infoway, 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 applicab...
package com.google.android.gms.internal; public enum av { ABORT_EVENT_AFTER("abort_event_after"), ACCOUNT("account"), ACTIVITY("activity"), ACTIVATE("activate"), ADDITIONAL_PARAMS("additional_params"), ADVERTISER("advertiser"), AFFECTS_SELECTORS("affects_selectors"), ALGORITHM("algorith...
package dao.tz; import java.io.IOException; import java.math.BigDecimal; import java.sql.SQLException; import java.util.ArrayList; import java.util.Collection; import java.util.List; import org.apache.commons.collections4.trie.PatriciaTrie; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.L...
/* * Copyright sablintolya@gmai.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 agreed...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ package com.facebook.flipper.connectivitytest; import android.os.Bundle; import androidx.annotation.Nullable; import androidx.ap...
/* * 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 n...
package org.bian.dto; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import org.bian.dto.SDProductQualityAssuranceRetrieveOutputModelProductQualityAssuranceOfferedServiceP...
package web.ani.utils; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; public class MD5 { private static MessageDigest digester; static { try { digester = MessageDigest.getInstance("MD5"); } catch (NoSuchAlgorithmException e) { ...
/* * Copyright Red Hat, Inc. and/or its affiliates * and other contributors as indicated by the @author tags and * the COPYRIGHT.txt file distributed with this work. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may ob...
/* * Copyright [2017] Wikimedia Foundation * * 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 o...
package urjc.ovback.repository; import urjc.ovback.entity.Camera; import org.springframework.data.repository.CrudRepository; import org.springframework.stereotype.Repository; import org.springframework.web.bind.annotation.CrossOrigin; import java.util.List; @CrossOrigin @Repository public interface CameraRepository ...
package com.sngur.learnkhasi.model.room; import androidx.annotation.NonNull; import androidx.room.Entity; import androidx.room.Ignore; import androidx.room.PrimaryKey; @Entity(tableName = "editors") public class Editors { @PrimaryKey @NonNull private String userId; @Ignore public Editors() { } ...
/* Copyright 2011, 2012 Chris Banes. 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, sof...
/** * Copyright (C) 2011 Ness Computing, 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 ...
/* * Copyright 2014-2022 Real Logic Limited. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
package com.honvay.cola.cloud.framework.util; import java.io.StringReader; import java.io.StringWriter; import java.io.UnsupportedEncodingException; import java.nio.ByteBuffer; import java.nio.charset.Charset; import java.util.Arrays; import java.util.Map; import java.util.Map.Entry; public class StringUtils extends ...
/* * Copyright (C) 2011 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 2006-2014 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 app...
/** * 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.desklampstudios.thyroxine.directory.io; import android.content.Context; import android.support.annotation.NonNull; import android.util.Log; import com.desklampstudios.thyroxine.AbstractXMLParser; import com.desklampstudios.thyroxine.directory.model.DirectoryInfo; import org.xmlpull.v1.XmlPullParser; impo...
/* * Copyright 1999-2012 Alibaba Group. * * 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...
/* * Copyright 2020 ConsenSys 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 wr...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
package org.cryptocoinpartners.schema; import java.util.concurrent.Semaphore; import org.cryptocoinpartners.util.Replay; import org.joda.time.Instant; import org.joda.time.Interval; import com.google.inject.assistedinject.Assisted; public interface ReplayFactory { Replay all(boolean orderByTimeReceived); ...
package rxbroadcast.integration; import rxbroadcast.Broadcast; import rxbroadcast.NoOrder; import rxbroadcast.TestValue; import rxbroadcast.UdpBroadcast; import org.junit.Test; import rx.Observable; import rx.observers.TestSubscriber; import java.net.DatagramSocket; import java.net.InetAddress; import java.net.InetS...
/* * Knowledge Graph Web Service * The Knowledge Graph Web Service lets you find entities and categories in the knowledge graph. This service is particularly suited to be run as a second step after the NLU Service has been used for linking ambiguous names in natural-language texts to entities. With this service, you ...
package com.cipherthinkers.shapeflyer_sample; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.Button; import android.widget.Spinner; import com.cipherthinkers.shapeflyer.ShapeF...
package br.com.kibutzzz.leonardooverflow.presentation.resources.request; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; import javax.validation.constraints.NotNull; import javax.validation.constraints.Size; @Data @Builder @AllArgsConstructor @NoArgsConst...
package com.codingwithflutter.simple_auth_comparison_flutter; import android.os.Bundle; import io.flutter.app.FlutterActivity; import io.flutter.plugins.GeneratedPluginRegistrant; public class MainActivity extends FlutterActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(...
/* * Copyright (C) 2019-2020 HERE Europe B.V. * * 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...
/******************************************************************************* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this...
/* * Copyright 2002-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
package seedu.address.ui; import java.util.Optional; import java.util.function.Consumer; import javafx.scene.control.ListCell; import javafx.scene.input.KeyCode; import javafx.scene.input.KeyEvent; import seedu.address.commons.core.index.Index; import seedu.address.logic.commands.Command; import seedu.address.logic.c...
/* * 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 under t...
package com.jlcm.prototipo; public interface ComClient { public void connectClient (String ip); public boolean sendMsg(String msg); public boolean isConnected(); public int getId(); public void close(); }
package com.xzhou.book.models; import android.util.SparseArray; public class HtmlParseFactory { private static final SparseArray<HtmlParse> PARSES = new SparseArray<>(); public static HtmlParse getHtmlParse(String host) { Integer type = SearchModel.getType(host); if (type == null) { ...
package oolala.view; import oolala.model.ModelTurtle; /** * @author marcusdeans * <p> * Purpose: Create an associative construct betwen the ViewTurtle and ModelTurtle for same turtle * Assumptions: Functioning coordinate system and commmands Dependencies: ModelTurtle, ViewTurtle * Example Usage: Used in Logo and...
package app.coronawarn.datadonation.services.ppac.android.controller.validation; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; import javax.validation.Constraint; i...
/* * Copyright (c) Microsoft. All rights reserved. * Licensed under the MIT license. See LICENSE file in the project root for full license information. */ package com.microsoft.azure.sdk.iot.service.transport.http; /** * An HTTPS message. An HTTPS message is distinguished from a plain IoT Hub * message by its pr...
package rzaharov.example.models; import java.sql.Timestamp; /** * @author rzaharov * @version 0.1 * @since 07.06.2018 * * Describe comment model in system. */ public class Comment { private int id; private String commentName; private String commentText; private Timestamp created; private I...
/* * Copyright 2017-2021 original authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
package seedu.address.logic.commands; import static org.junit.jupiter.api.Assertions.assertEquals; import static seedu.address.commons.core.index.Index.fromZeroBased; import static seedu.address.logic.commands.CommandTestUtil.ADD_WORD; import static seedu.address.logic.commands.CommandTestUtil.DELETE_WORD; import stat...